who can give me a simple script of mortscript?

Search This thread

mecal

Senior Member
Jul 31, 2008
53
12
there are too many statup programs in my ppc, i wanna use mortscript to manage the starup time.
example:
when i reset my ppc,
program 1 starts after 5 seconds
program 2 starts after 10 seconds
program 3...
THX
 
Last edited:

usrname

Senior Member
Aug 20, 2007
248
11
example:


---- snip --

Run ("\Programme\CallFirewall\CallFirewall.exe")
WaitForActive ("Call Firewall", 5000)
Minimize ("Call Firewall")
Sleep(5000)
Run ("\Windows\SAPSettings.exe"
WaitForActive ("BT Remote SIM Access", 5000)
Minimize ("BT Remote SIM Access")
Sleep(5000)
...
Exit

---- snap --

Run - runs the specified app
WaitForActive searches for windowtitle, but max 5000ms
Minimize minimizes specified app
Sleep always waits for specified time (5000ms)

... thats just about how my mortrun in autostart looks like
http://xdaforums.com/showthread.php?t=289197
the manual pdf helps ;D
 

kwickone

Senior Member
Nov 26, 2006
347
3
Colorado, USA
i searched, but i did not find what i wanna

My point was two-fold:

1. Maybe they had something similar (which you looked and did not find)
2. That "existing" thread was the appropriate place to post this question.

Using existing threads is preferable to creating new ones (actually part of the XDA preferred guidelines).

Looks like someone helped you though! :)