Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,563 Members 45,243 Now Online
XDA Developers Android and Mobile Development Forum

who can give me a simple script of mortscript?

Tip us?
 
mecal
Old
(Last edited by mecal; 19th September 2008 at 02:40 AM.)
#1  
Member - OP
Thanks Meter 0
Posts: 41
Join Date: Jul 2008
Question who can give me a simple script of mortscript?

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
 
kwickone
Old
#2  
kwickone's Avatar
Senior Member
Thanks Meter 3
Posts: 340
Join Date: Nov 2006
Location: Colorado, USA
there is already a thread for mortscripts....please search on "mortscript examples".
kwickone ITH!

Nokia Lumia 920 (on AT&T)
 
mecal
Old
#3  
Member - OP
Thanks Meter 0
Posts: 41
Join Date: Jul 2008
i searched, but i did not find what i wanna
 
usrname
Old
#4  
usrname's Avatar
Senior Member
Thanks Meter 10
Posts: 248
Join Date: 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
 
kwickone
Old
#5  
kwickone's Avatar
Senior Member
Thanks Meter 3
Posts: 340
Join Date: Nov 2006
Location: Colorado, USA
Quote:
Originally Posted by mecal View Post
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!
kwickone ITH!

Nokia Lumia 920 (on AT&T)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes