Dear Jean-Louis

Indeed this took me over the first hurdle, I can now kickstart Firefox and Safari. They behave a bit differently, is there a way in OS X to explore the options you can use? In Windows there is the oleInfo script that enables you to explore the parameters and the methods you can use. How do I go along it in OS X?

I am a complete Newbie to Mac/OS X when it comes to programming, any help will be just great. I guess I will have to learn Unix at one point...

Hälsningar / Regards / Grüsse
P.O. Jonsson
per-olov.jonsson@kabelmail.de


Anfang der weitergeleiteten E-Mail:

Von: Jean-Louis Faucher <jfaucher.fr@gmail.com>
Datum: 20. Januar 2013 14:35:22 MEZ
An: Open Object Rexx Users <oorexx-users@lists.sourceforge.net>
Betreff: Re: [Oorexx-users] Using system resources in Max OS X from ooRexx
Antwort an: Open Object Rexx Users <oorexx-users@lists.sourceforge.net>

Maybe with the command open :
FF_String = "open -a firefox"
url1 = 'http://www.google.com'
url2 = 'http://www.bing.com'
FF_String url1
CALL sysSleep 5
FF_String url2


2013/1/20 Per-Olov Jonsson <per-olov.jonsson@kabelmail.de>
Dear ooRexx users,

I have been using ooRexx in a script that can launch a browser under Windows XP for some time now and that works fine. I can control Internet Explorer (more or less) using ole and this is how I control Firefox:

/* 
Try to launch firefox from ooRexx on PC or Mac
1.00 Original coding 03.01.2013
*/

 pgmpath  = value('ProgramFiles',,'ENVIRONMENT')

 FF_String =  '"'|| pgmpath || '\Mozilla Firefox\firefox.exe"'
 url1 = 'http://www.google.com'
 url2 = 'http://www.bing.com'

 Launch_String = FF_String '-new-tab' url1
 res = RxWinExec(Launch_String)

 CALL sysSleep 5

 Launch_String = FF_String '-new-tab' url2
 res = RxWinExec(Launch_String)

Exit

::requires 'winsystm.cls'

Now, my question: can I do something similar under Mac OS X?


Hälsningar / Regards / Grüsse
P.O. Jonsson
per-olov.jonsson@kabelmail.de



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users