Mortscript help!!   

Mortscript help!!

Postby kingkong5146 » 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.
kingkong5146 offline


Junior Member



 
Joined: Tue Jul 19, 2011 3:28 am
Posts: 12
Has thanked: 0 time
Been thanked: 2 times

Postby Downunder35m » 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.
Forum rules

[Please Register or Login to download file]

If you find broken links or missing attachments in my postings, please send me PM
Password for all my files: downunder
Downunder35m offline


User avatar Elite Member



 
Joined: Wed Oct 21, 2009 4:44 am
Posts: 4250
Has thanked: 18 times
Been thanked: 572 times

Postby Fatboyfun » 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.
Currently sleeping...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Postby kingkong5146 » 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! :-)
kingkong5146 offline


Junior Member



 
Joined: Tue Jul 19, 2011 3:28 am
Posts: 12
Has thanked: 0 time
Been thanked: 2 times

Postby Fatboyfun » 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.
Currently sleeping...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Postby kingkong5146 » 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 :-)
kingkong5146 offline


Junior Member



 
Joined: Tue Jul 19, 2011 3:28 am
Posts: 12
Has thanked: 0 time
Been thanked: 2 times

Postby Fatboyfun » 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.
Currently sleeping...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Postby kingkong5146 » 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! :-)
kingkong5146 offline


Junior Member



 
Joined: Tue Jul 19, 2011 3:28 am
Posts: 12
Has thanked: 0 time
Been thanked: 2 times

Postby kingkong5146 » Tue Dec 06, 2011 1:25 am

The taskbar disappears but the clock is still there?
kingkong5146 offline


Junior Member



 
Joined: Tue Jul 19, 2011 3:28 am
Posts: 12
Has thanked: 0 time
Been thanked: 2 times

Postby Fatboyfun » 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
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Postby kingkong5146 » 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! :-)
kingkong5146 offline


Junior Member



 
Joined: Tue Jul 19, 2011 3:28 am
Posts: 12
Has thanked: 0 time
Been thanked: 2 times

Postby Fatboyfun » 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
Currently sleeping...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times


Return to General Discussions about iGO core

Who is online

Users browsing this forum: Google [Bot] and 5 guests