Notices

X51 Hardware Troubles Axim X51 Hardware Discussions

Reply
 
LinkBack Thread Tools
Old 01-27-08, 02:29 PM   #1 (permalink)
Aximsite All Star
 
EngrPaul's Avatar
 
Join Date: Aug 2005
Location: Pennsylvania
Posts: 877
Thanked 2 Times in 2 Posts
Aximsiteactivesyncicon Quickly closing Active Sync - X51v / WM5 resolution

Background: See other threads on the need to close ActiveSync, such as Fake Server Trick, etc.

Usage: This is a method to gracefully close activesync when you are done with it.


If you have installed Mortscript, then make a text file with notepad on your PC computer with exactly what's between the beer drinkers below:

:cheers:

If( WndExists( "ActiveSync" ) )

Close( "ActiveSync" )

EndIf

:cheers:

After saving it, change the extension from .txt to .mscr

Now using Activesync, copy this file to your \Windows\Start Menu\ somewhere.

Now you can access it using the start menu in windows. You can also assign it to a launcher in a today program from SBSH, SPB, etc. The attached image would be useful as an icon for one of these programs. The image is 64x64 for VGA usage, you may have to resize it to half the size if you want to use a smaller icon or have a QVGA device.

PERSONALLY, I have assigned it to the wireless button on my Axims. After I pick it up out of the cradle, I simply press this hardware button and Activesync is closed. It's become second nature. I never used the wireless button anyway.

You can set it to a button by using Start>Settings>Buttons

Advanced

If you like a audible confirmation whether it was closed. Choose your own sounds if you want. Mine makes a tumbling sound when it closes AS, or gives me the raspberries if it's already closed. If you have different system sounds, you will have to change them anyway.



If( WndExists( "ActiveSync" ) )

Close( "ActiveSync" )

Playsound( "\Windows\type.wav" )

Else

Playsound( "\Windows\Splat.wav" )

EndIf



I hope somebody finds this useful!
Attached Images:
File Type: bmp no_as.bmp (12.1 KB, 9 views)
__________________
"I'm a perfectionist, but not very good at it yet."
EngrPaul is offline   Reply With Quote
The Following User Says Thank You to EngrPaul For This Useful Post:
Sponsor Ads
Old 01-28-08, 01:05 AM   #2 (permalink)
Aximsite All Star
 
Join Date: Nov 2004
Posts: 507
Thanked 2 Times in 2 Posts
This works well. I have put it on a "Watch" for AC Off in SKSchema and it automatically runs when I disconnect from the cradle. Nice. I do not know why #Kill ActiveSync does not work consistently in SKSchema Script but it does not. MortScript seems much more reliable for this.
cravaus is offline   Reply With Quote
The Following User Says Thank You to cravaus For This Useful Post:
EngrPaul (01-28-08)
Old 01-28-08, 09:27 AM   #3 (permalink)
Aximsite All Star
 
EngrPaul's Avatar
 
Join Date: Aug 2005
Location: Pennsylvania
Posts: 877
Thanked 2 Times in 2 Posts
I downloaded SKSchema and gave it a try, it works really well like you said. I never tried that program before, I may have to buy it and set the button back to wireless power... :)
__________________
"I'm a perfectionist, but not very good at it yet."
EngrPaul is offline   Reply With Quote
Old 01-28-08, 07:06 PM   #4 (permalink)
Aximsite All Star
 
EngrPaul's Avatar
 
Join Date: Aug 2005
Location: Pennsylvania
Posts: 877
Thanked 2 Times in 2 Posts
Originally Posted by cravaus View Post
I do not know why #Kill ActiveSync does not work consistently in SKSchema Script but it does not. MortScript seems much more reliable for this.

I've been messing around with these two programs, and I've found MortScript to be better for completing a list of tasks. For instance
  • Turn bluetooth on
  • Run GPS
  • Turn bluetooth off

Mortscript hangs in there until the GPS program is done, then it turns bluetooth off. SKschema doesn't.

Neither program has the ability to set the system time. Both can read it, neither will set it.

For instance, I want to make a "Change Battery" program for my X51v which has a dead backup battery. A change of the battery and I lose the time.

Here's how the program would go. Two Parts. Part A launches from a shortcut, Part B starts up every reset.

A1. Get System Time, Date
A2. Save Time, Date to file
A3. Turn off or suspend device


--USER CHANGES BATTERY, CAUSING SOFT RESET AND TIME LOSS--

B1. Get System Date
B2. If (System Date < January 2008) Then get time, date from file
B3. Else End
B4. Add 4 minutes to time from file
B5. Set system Time, Date


All the program steps are possible, except B5. I don't know how to do it, there doesn't seem to be such a command in either Mortscript or SKschema.

Any ideas?
__________________
"I'm a perfectionist, but not very good at it yet."
EngrPaul is offline   Reply With Quote
Reply

Tags
active, closing, quickly, resolution, sync, wm5, x51v

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:21 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-10 LeckMedia, LLC