+ Reply to Thread
Results 1 to 15 of 15
How to start 2 apps with 1 click?
This is a discussion on How to start 2 apps with 1 click? within the Modding & Development forums, part of the Meizu M8 category; Hi, am looking for a way to start 2 programs with just one click. The background is, that i want ...
-
06-09-2009 #1Member
- Join Date
- Apr 2009
- Location
- Germany
- Posts
- 104
- Thanks
- 14
Thanked 13 Times in 10 PostsHow to start 2 apps with 1 click?
Hi,
am looking for a way to start 2 programs with just one click.
The background is, that i want to start screen-rotate and PDF Reader with just one click.
Under windows i would use a *.bat file, but with wince?
-
06-09-2009 #2Senior Member
- Join Date
- May 2007
- Posts
- 300
- Thanks
- 3
Thanked 11 Times in 10 PostsI want to know it too
bat files don't work
-
06-09-2009 #3
I found this but im not sure if its helpful or not cause i dont know nothing about running bat files on WinCE.
-
06-10-2009 #4
May be you can use Mort Script
Z298551075645
-
06-10-2009 #5Member
- Join Date
- Apr 2009
- Location
- Germany
- Posts
- 104
- Thanks
- 14
Thanked 13 Times in 10 Posts
-
06-11-2009 #6Passing By
- Join Date
- May 2009
- Posts
- 3
- Thanks
- 1
Thanked 0 Times in 0 Posts2Albert2002
I've just tried to run 2 apps with a MortScript, everything's ok)) I've installed PNA version of .3b. The script is:
Code:Run("\Disk\Programs\Lock\Lock.exe"); Run("\Disk\Programs\AlReader\AlReader2.exe");
-
06-11-2009 #7Member
- Join Date
- Apr 2009
- Location
- Germany
- Posts
- 104
- Thanks
- 14
Thanked 13 Times in 10 PostsSomething am doing wrong.
Am using this codeIn the same dir is theCode:Run("\Disk\Programs\PDF Reader\PdfReader.exe"); Run("\Disk\Programs\PDF Reader\ScreenRotate.exe");
MortScript.exe
Autorun.exe
mortzip.dll
PDF.mscr
What ever am doing, nothing happens. Clicking the exe files directly, or with a link from the "Desktop" no luck. Tried the PNA, SP and PPC files.
I have not installed MortScript - Do i have to?
Edit:
Got it! The autorun.exe have to be renamed to the same name as the script!
Autorun.exe renamed to PDF.exe. Now its running with my script PDF.mscr
Last edited by Albert2002; 06-11-2009 at 09:34 PM. Reason: Got It!
-
06-15-2009 #8Passing By
- Join Date
- May 2009
- Posts
- 3
- Thanks
- 1
Thanked 0 Times in 0 PostsYes, that's the solution=)
The other one was to make a association for .mscr files with MortScript.exe app with the help of M8-Sprite))
-
06-19-2009 #9Junior Member
- Join Date
- Jun 2009
- Posts
- 59
- Thanks
- 0
Thanked 5 Times in 5 Posts
So you did it?! tuto possible
hi, so you managed to open screenrotate and pdf with on clic ?!
please could you make a small tuto...cause I am not familiar with scripts and i just got my M8 and I would happy to get this cheat!
If i understood :
You type this in mortscript ? :
Run("\Disk\Programs\Lock\Lock.exe");
Run("\Disk\Programs\AlReader\AlReader2.exe");
you put all these files in the same directory ?
MortScript.exe
Autorun.exe
mortzip.dll
PDF.mscr
PDF.msc is the script's name registered?
And....The autorun.exe have to be renamed to the same name as the script! Autorun.exe renamed to PDF.exe. Now its running with my script PDF.mscr
What is the autorun.exe ?? Please confirm process thanks
Last edited by nicojoy69; 06-19-2009 at 08:53 PM.
-
06-20-2009 #10Member
- Join Date
- Apr 2009
- Location
- Germany
- Posts
- 104
- Thanks
- 14
Thanked 13 Times in 10 PostsIts not so hard:
Download the the MortScript and unpack the MortScript-4.2-PNA.cab
Open Notepad and type copy those two lines:
Save it as pdf.txt.Code:Run("\Disk\Programs\PDF Reader\PdfReader.exe"); Run("\Disk\Programs\PDF Reader\ScreenRotate.exe");
Rename pdf.txt to pdf.mscr
Rename Autorun.exe to the same name as the script, in this case pdf.exe.
Make a new folder on your M8 and copy this files to your M8 (or copy it in the PDFReader folder):
pdf.mscr (your script)
pdf.exe (your renamed Autorun.exe)
MortScript.exe
Run pdf.exe
If you use this script, make sure, that the ScreenRotate.exe is in the same folder as PdfReader.exe. If not change the path in the script to the files you want to start.
e.g.:
Run("\Disk\Programs\PDF Reader\PdfReader.exe");
Run("\Disk\Programs\ScreenRotate\ScreenRotate.exe");
-
06-30-2009 #11Junior Member
- Join Date
- Jun 2009
- Posts
- 59
- Thanks
- 0
Thanked 5 Times in 5 Poststks
i forgot this topica while
!! tks a lot
-
08-06-2009 #12Passing By
- Join Date
- Jul 2009
- Posts
- 2
- Thanks
- 0
- Thanked 2 Times in 1 Post
Only 2 apps possible?
Hi!
I've tried your solution and it works fine!
Now the question:
I've tried to start 3 apps in the same way. I wrote a third line in the script.
But that doesn't work.
I want to start the following apps (with three lines):
First: turn bluetooth on
Second: Hide32
Third: start Route66
=>Bluetooth get startet, Route66 get startet but the headline isn't invisible.
The lines in the script seems to be correct.
So I changed the order of the lines:
First: Hide32
Second: start Route66
Third: turn bluetooth on
=>The headline is hidden, Route66 startet, bluetooth is turned on but the headline isn't invisible anymore.
Another cange of the order of the lines:
First: turn bluetooth on
Second: start Route66
Third: Hide32
=>If i start this script by pressing the desktop icon, first thing you can see ist that the headline is ivisible, than bluetooth get startet, than Route66 get startet.
So in my opinion it's a problem starting these apps so quickly one after another.
Is it possible to let the script make a break after starting one app, before starting the next app?
Thanks for your Answers!
-
08-07-2009 #13Passing By
- Join Date
- Jul 2009
- Posts
- 2
- Thanks
- 0
- Thanked 2 Times in 1 Post
Batch für 3 apps with break!
Hi !
I solved the problem from my post from 08-06-2009, 07:35 PM.
The solution was to have a break between starting Route66 and Hide32.
Without the break Route66's action makes to turn off Hide32 again.
Here's my script (with my program-paths):
Run("\Program Files\Control\Bluetooth.exe");
Run("\Disk\Route66\R66 M8.exe");
Sleep(500);
Run("\Disk\Programme\Hide32\Hide32.exe");
The break is made with the command "Sleep".
The length of the break is defined through the numerical value in brackets.
This post is only an addition to the post #10.
Perhaps it's interesting for anyone except me.
-
2 members have thanked knpb:
-
08-08-2009 #14Junior Member
- Join Date
- Jun 2009
- Posts
- 59
- Thanks
- 0
Thanked 5 Times in 5 Poststks
Always useful ...tks for sharing !!!
-
08-23-2009 #15Passing By
- Join Date
- Aug 2009
- Posts
- 19
- Thanks
- 0
Thanked 0 Times in 0 Posts
works fine for me too, but i also want to use screenrotate. i´ve tried almost every possible place for the run command line(while using your script) but everytime the display turns back into standard position just 2 seconds bevor route 66 starts. but if the bluetooth device is already running and get disabled while starting the script route 66 runs in landscape mode. can u help me pls?
Similar Threads
-
no start never.
By LMORILLA in forum TechnicalReplies: 9Last Post: 08-28-2008, 07:12 AM -
where do i start
By carrienic93 in forum General Meizu M6Replies: 6Last Post: 01-26-2008, 06:23 PM -
Apps for M8
By Salsa in forum General Meizu M8Replies: 4Last Post: 01-23-2008, 11:45 PM -
Click or Touch ? M6SL vs. M7
By Satka in forum General Meizu M6Replies: 6Last Post: 10-28-2007, 06:13 AM -
"Click" sound between songs
By govtcheeez in forum TechnicalReplies: 5Last Post: 09-12-2007, 09:13 PM



Reply With Quote
