PDA

View Full Version : WM5 batch scripting?


muck3d
04-08-2006, 12:08 PM
Hi Guys,

Is there a way to simply execute 2 commands in a row with one wrapper script in WM5?

I would like to execute:

\Windows\repllog.exe /remote /all /h /p:all
\Windows\tmail.exe -Service "MailAccount" -Sync

via one simple script. Any hints?

Help greatly accepted!

Bye,
m.

vijay555
04-08-2006, 12:21 PM
Mortscript.

V

muck3d
04-08-2006, 02:18 PM
Thanks for the hint. Unfortunately MortScipt-3.1.cab does not run on my new Test Device (Samsung SGH-i320) under WM5...

levenum
04-08-2006, 04:43 PM
Uhh, neat, a new toy - the 320i is barely out isn't it?
Problem is your device is a SMARTPHONE while mortscript was designed for Pocket PC platform.
I am not familiar with any Smartphone solutions, but you can try opening the cab using WinCE cab manager (you can download a full featured demo that will run 10 times) and modifying the platform / devices cab supports or try to install the app manually. This is probably an inf issue and the app itself will run.
Or better yet you could try and contact the developer of the app, and ask his advice.
Also there may be a security issue. Try application unlocking your phone.

vijay555
04-08-2006, 04:49 PM
I played with the i320 at the Modaco meeting a couple of weekends ago.

To quote sex and the city, I needed a napkin to wipe my seat after seeing how gorgeous the screen was. Best screen this side of a B&O TV. If you need one reviewing, send it my way :)

Anyway, nscript, and the SKScheMa modified version, might also help, but as my learned friend levenum says, never tried either of them on a smartphone. But I guess they should work.

Specifically for the smartphone, I think xbar has scripting capabilities. Excellent app from my old smartphone days.

V

muck3d
04-08-2006, 04:53 PM
Good tips thanks. I have successfully tested MortScript v 3.2 Beta with the i320.

muck3d
04-08-2006, 05:11 PM
runWait "\Windows\tmail.exe","-Service "MailAccount" -Sync"

Does not seem to have any effect... :/

Anybody have had the same problems with a simple script like that?

fordcan
04-08-2006, 05:21 PM
Even I tried all the possible combinations, unfortunately I could not manage to reach my POP3 mail screen directly and sync

I also tried syncaccount.exe which u can search in forum also does the job not

I am doing smth. wrong maybe.

#\windows\tmail.exe -Service "MMS"

and

#\windows\tmail.exe -Service "SMS"

works but "Outlook E-mail" or "MyPrivateMailAccountName" does not?

any suggestions?

vijay555
04-08-2006, 05:29 PM
http://forum.xda-developers.com/viewtopic.php?t=41505&start=0&postdays=0&postorder=asc&highlight=vjphoneshortcuts+email

V

fordcan
04-08-2006, 05:32 PM
Yes I tried those but as the last post there, only checking the last account..

I have "Outlook E-mail" ; "POP3" ; "MMS" ; "SMS" ; "Hotmail"

also Hotmail works, and one thing is that I use "New Menu for WM5" and sure that does not go to E-mail screen..
Confused

fordcan
04-08-2006, 05:37 PM
I finally figured it out...

Deleted "MyPrivateAccount" and recreated and left the name POP3 then it worked for Mortscript, syncaccount and New Menu..

Hope this helps to someone else

BriansPhone
04-08-2006, 06:11 PM
I've used MortScript myself for email. The syntax below is what always works for me.

run \windows\tmail.exe , """-Service "MyEmailAccountName@MyISP""""

MortScript seemed liked it got real confused if I didn't use all the quotes....

fordcan
04-08-2006, 06:20 PM
Yes a bit complicated but managed to work with

Now with one push of button, my personal account is reached+checked

muck3d
07-08-2006, 09:22 AM
Thanks! Escaping the quotes did the trick. Solved for me.

mistrix
10-08-2006, 02:30 PM
Folks, you´ve lost me!

run \windows\tmail.exe, -Service "AccountName" -sync

does it in Mortscript as well as

ii#\windows\tmail.exe, -Service "AccountName" -sync

for a link (ii dependant on the real AccountName).

What quotes? :shock: