Switch to full style
Topic locked

Mortscript help!!

Mon Dec 05, 2011 1:53 am

Hi,

Just seeing if you could help me out?


I Have a Navman S100 and i'm running the latest Igo primo from My flash disk using Mortscript guide you have it looks like this:

Run("\My Flash Disk\Igo\Igo.exe")

The only Problem i have is the Clock from the taskbar comes up and keeps flashing and driving me insane.

I've tried Run(My Flash Disk\"TroNik\TaskbarHide.exe") but it doesn't do anything?!

Any help would be most appreciated.

Mon Dec 05, 2011 6:52 am

There are different versions for the taskbar hide program, depending if it is for CE4.2 CE5/6 or WM.
Make sure you got the the right one.
The clock might be intergrated into the Explorer, so if you kill the Explorer task before starting Igo and restart the Explorer when Igo is finnished you could be able to kill the clock too.

Mon Dec 05, 2011 11:11 am

I imagine you are referring to PNADesktop.exe which is the desktop included with the Mio_Moov.zip unlock.

This is a 3rd party programme that gives the appearance of a desktop, TaskbarShow/Hide/Toggle.exe doesn't have any effect with this.

Are you trying to run iGO from a desktop icon or trying to start it automatically?

I find that running it directly from an icon (ie, Not through a Mortscript) minimizes the taskbar but autostarting it doesn't.

Here are some ideas...

In your Autorun.mscr script try...

Kill ("PNADesktop.exe")
RunWait ("\My Flash Disk\Igo\Igo.exe")
Run ("\My Flash Disk\Program Files\Unlock\PNADesktop.exe") [color="#FF0000"]<- Check Path![/color]


AppStartupSec may restart PNADesktop when it is killed, If it does try this untested script...

Sleep (3000)
MouseClick (X,Y)


(X,Y) refer to the position of the icon on the screen, Maybe something like (20,30), PNADesktop will think you've tapped the icon so should close the taskbar.

Mon Dec 05, 2011 10:28 pm

Hey,

Yes I'm running it automatically, i'll give this a try and give you feedback.

Thanks for the help! :-)

Mon Dec 05, 2011 10:44 pm

As i have three GPS programmes on my device, I just let mine boot to the desktop, and then tap the icon.

FYI, From memory the Navman S50 can have PNADesktop.exe killed without it restarting, But later Moov devices will restart it immediately, If you kill AppStartupSec.exe to stop PNADesktop restarting you will lose USB access.

[color="#FF0000"]DO NOT RENAME/REPLACE/EDIT APPSTARTUPSEC.EXE IN ANY WAY![/color]

The MouseClick method above is the safest method, but will require some configuration on your part, ie icon location and length of sleep time required.

If the above methods fail report back, I have some more ideas.

Mon Dec 05, 2011 11:18 pm

Yep,

I know all about APPSTARTUPSEC.EXE, i deleted it by accident and bricked my device.

I had to take the device apart and short pins 12 and 9 then reinstall the firmware was a real pain. I learnt the hard way.


I tried your method above and it didn't work.

Thanks again :-)

Mon Dec 05, 2011 11:37 pm

Did you try both methods?

Any more information on why they didn't work?

The trouble with auto-running iGO is that iGO takes a few seconds before opening a window, so PNADesktop thinks it's failed to load and reopens the taskbar, When running from an icon on the desktop it monitors the process and waits for it to close before opening the taskbar, This is not possible when called from another process, ie, Mortscript as Mortscript is the process monitored and the taskbar opens when that has closed.

More ideas to try...

Add to Autorun.mscr

Sleep (1000)
RunWait ("\My Flash Disk\Igo\Igo.exe")
Exit


But i think the MouseClick method is best, but you will need to figure out the position of the icon on the desktop.

Tue Dec 06, 2011 1:15 am

I'm going to try the mouse click option now the icon is in the top left icon of the desktop so would that be (20,30)?

I'll give it ago.

The last one you posted didn't work.

Thanks again! :-)

Tue Dec 06, 2011 1:25 am

The taskbar disappears but the clock is still there?

Tue Dec 06, 2011 10:12 am

If you tap the Windows flag icon the taskbar should minimize down to just the flag. You could use another mouse click line to achieve this

Tue Dec 06, 2011 11:39 pm

Sorted! Thanks for the Help, You guys are so much more helpfull than those guys from GPS passion.

Keep up the good work! :-)

Tue Dec 06, 2011 11:48 pm

kingkong5146 wrote:Sorted! Thanks for the Help, You guys are so much more helpfull than those guys from GPS passion.

Keep up the good work! :-)


Thanks, Enjoy :D
Topic locked