Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

who can give me a simple script of mortscript?

OP mecal

19th September 2008, 03:34 AM   |  #1  
OP Member
Thanks Meter: 0
 
42 posts
Join Date:Joined: Jul 2008
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 by mecal; 19th September 2008 at 03:40 AM.
19th September 2008, 04:51 AM   |  #2  
kwickone's Avatar
Senior Member
Flag Colorado, USA
Thanks Meter: 3
 
340 posts
Join Date:Joined: Nov 2006
there is already a thread for mortscripts....please search on "mortscript examples".
19th September 2008, 06:44 AM   |  #3  
OP Member
Thanks Meter: 0
 
42 posts
Join Date:Joined: Jul 2008
i searched, but i did not find what i wanna
19th September 2008, 08:17 AM   |  #4  
usrname's Avatar
Senior Member
Thanks Meter: 10
 
248 posts
Join Date:Joined: Aug 2007
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://forum.xda-developers.com/showthread.php?t=289197
the manual pdf helps ;D
19th September 2008, 03:07 PM   |  #5  
kwickone's Avatar
Senior Member
Flag Colorado, USA
Thanks Meter: 3
 
340 posts
Join Date:Joined: Nov 2006
Quote:
Originally Posted by mecal

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!
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes