PDA

View Full Version : Argument to Internet Explorer through MortScript ?


bigstyle
17th September 2008, 04:25 PM
Hi,

I would like to create a scheduled task that will launch Internet explorer every day in a specific website.

This website will then be connected to radio on the web through wifi.

Actually, I can enable the wifi and launch IE.
Now I would like to connect to the specific website but I can't find how with MortScript.

Here is my script

# RunIE.mscr - start the default data connection and load IE
#Wifi Activation
Run ( "\Temp\AEBPlus_Switch_WiFi_Off_On.lnk")

Sleep 5000
# Internet explorer connecting to radios.wm.free.fr
Run ( "\Windows\iexplore.exe", http://radios.wm.free.fr/player?cat=1&radio=nrj&type=asx)

But it doesn't work :-(
The url is not passed to Internet Explorer.

Please could you help me ?

Thank you

joemanb
17th September 2008, 05:29 PM
I'd try to put quotes around the url:

Run ( "\Windows\iexplore.exe", "http://radios.wm.free.fr/player?cat=1&radio=nrj&type=asx")

or another thing you might try is to put the url in a local file and call it as your parameter.

bigstyle
17th September 2008, 05:39 PM
Thanks joe !

the url about quotes is working fine !

Now I am trying to find a task scheduler !

I have tried RunEveyDay.exe (from xda-developers) but it doesn't work on my WM5 :D

If you have any idea ... =))

P.S: My goal is to be waken up by a web radio :D