Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > automate palm hotsynching applescript

automate palm hotsynching applescript
Thread Tools
rapple5454
Guest
Status:
Reply With Quote
Sep 5, 2000, 09:54 AM
 
I lose time every morning since I must hotsynch before going to work, just to read the frontpage NY Times. How can I create an apple script to automate this function, thus allowing more beauty sleep, which I do need??????
rapple5454@aol.com
     
Mac Elite
Join Date: Dec 1999
Location: Decatur, GA
Status: Offline
Reply With Quote
Sep 5, 2000, 10:13 AM
 
First, you must write the script. I'm not familiar with the HotSync dictionary, but it's something like:

Tell Application "Palm Desktop"
Activate
Hotsync
Quit
End Tell


After doing the script, you have to automate it. There are several ways to to this, but the simplest method is to set your Energy Saver control panel to startup before you wake up. Then, put the script in your Startup Items folder and you're set. Name the script "xxx" so that the Hotsync manager loads first (It should also be in the startup items folder).

These aren't the best instructions, but it should outline the steps to automate this simple process.

Good luck.

[This message has been edited by GORDYmac (edited 09-05-2000).]
     
Dedicated MacNNer
Join Date: May 2000
Location: Chattanooga, TN
Status: Offline
Reply With Quote
Sep 5, 2000, 12:31 PM
 
As far as I can tell, having looked through the AppleScript dictionaries for Palm Desktop and Hotsync Manager, there's no way to initiate a hotsync from the Mac, manually or via AppleScript. You can either hit the button on the Palm cradle or use the Hotsync app on the Palm to initiate hotsync. I don't know of any way to automate application behavior on the Palm, although it may be possible to write a program to automate this (outside my realm of expertise, however). I've looked for a way to do this, but so far I haven't found one. Anyone else have any suggestions??
     
Forum Regular
Join Date: Oct 1999
Location: New York, NY
Status: Offline
Reply With Quote
Sep 5, 2000, 05:59 PM
 
Got this from Joe Slater's excellent little Synch-n-Quit script:


try
tell application "Serial Port Monitor"
open
end tell
end try
delay 15
repeat with a from 1 to 10000 by 1
try
tell application "Finder"
process "Conduit Manager"
end tell
on error
tell application "Serial Port Monitor"
quit
end tell
exit repeat
end try
delay 1
end repeat

Tried to find the actual script on VT but couldn't locate it, couldn't find a website either.. but he included the code in the readme file, hopefully he won't mind that I posted here..

Anyway, I've found this script to be pretty useful.
     
   
Thread Tools
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -5. The time now is 08:01 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2