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.jons...@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