Switch to full style
Topic locked

Thu Sep 26, 2013 8:05 pm

http://www.navitotal.com/showthread.php?3919-Mortscript-Guide

The commands Run, Sleep and MouseClick well be useful here.

Thu Sep 26, 2013 8:08 pm

Fatboyfun wrote:http://www.navitotal.com/showthread.php?3919-Mortscript-Guide

The commands Run, Sleep and MouseClick well be useful here.


ok...i ll try it and tell you the final result... thanks for your help, again!

Thu Sep 26, 2013 8:38 pm

whoa...hold on a moment...i think i cannot achieve it because if i dont press the power button... the function (countdown to poweroff) won't start...or is there any script to programaticaly ''press'' the button?

Thu Sep 26, 2013 8:49 pm

Yeah I see what you mean, I assumed the countdown started automatically!

Damn lol

Thu Sep 26, 2013 9:52 pm

Fatboyfun wrote:Yeah I see what you mean, I assumed the countdown started automatically!

Damn lol


And now?...oh yes, i think the attempts to achieve it were over...haha...or may exploring a little the registry to see if we would (finally) do it!

Thu Sep 26, 2013 9:58 pm

It's never a good idea to edit the registry unless you know 100% exactly what you're doing.

You may break the devices boot sequence, and not be able to undo it.

Fri Sep 27, 2013 5:06 am

yea, it's s risk....i know a bit of setting the registry...but i have no idea how to achive shutdown(close all drivers,right?) the suspend sequence cannot be changed, if i change the values there, the power button does nothing, when i soft reset,it goes back to suspend..l

Fri Sep 27, 2013 1:00 pm

well i have fresh news...

i realized that pocketnav has a function that close a window from taskbar and from desktop but the program continues to run in the background... and after this action when i press the power button starts the countdown

1. pocketnav widget 5841

2. when i tap the widget and the pocketnav menu pops up, i select the yfshell ... then, the yfloader windows closes.... 5842

BUT

3. the yfloader proccess is running in the background without showing its window 5843

and when i hold the power button starts to countdown....

it would be a practical solution if i was making a script that:
-opens pocket nav
-automaticaly tap in the region that pops up pocket nav(the little lightning) and then the region that is the x to close yfshell
-closes pocket nav

don't you agree?

Fri Sep 27, 2013 7:40 pm

Try it...

Open one of the images in a photo editor to get the screen position for the mouse click command.

Fri Sep 27, 2013 7:53 pm

i have done it already in windows live photo gallery

AND YES IT WORKED!!!

i have made the following script

Run ("Windows\YFLoaderMLC.exe")
Run ("ResidentFlash\PocketNav.exe")
Sleep 1000
MouseClick (312,227)
Sleep 1000
MouseClick (318,135)
Sleep 500
Kill ("PocketNav.exe")

and it worked

LOL This trick is just a discovery in the history of windows ce from me...isn't it? Hahaha :dance:

Fri Sep 27, 2013 8:02 pm

And they said it wasn't possible!

Fri Sep 27, 2013 8:07 pm

Fatboyfun wrote:And they said it wasn't possible!


EXACTLY!!! this way of shutdown is quite messy and confusing...but it has a (!final!) fantastic result... and guess what...i'm just a 14old kid that loves technology... and i made all this thing...strange or not? haha :lol:

Fri Sep 27, 2013 9:52 pm

ok that's it...everything works perfectly! I can access to the desktop without closing the yfloader and can shutdown it by the countdown...anyway, this thread is over...thanks for your help Fatboyfun... See ya! :)

Fri Sep 27, 2013 10:44 pm

No worries.

THREAD_CLOSED
Topic locked