I've developed a moderately-crude approach to syncing AvantGo to a Palm OS device. I'm sure that a proficient AppleScript programmer could improve on this, but it does the job. Here's what you need to do:
chmod a+rx /usr/local/bin/malsync
tell application "HotSync Manager"
activate
open setup
end tell
set promptString to "Please disable HotSync in HotSync Manager"
display dialog promptString buttons {"Cancel", "Disabled"} ¬
default button 2
if button returned of result is "Disabled" then
-- NOTE: Enter the following THREE lines as ONE line with a space
-- between 'export' and 'PILOT' and between '/malsync' and '>/tmp'
do shell script "export PILOTRATE=115200;export
PILOTPORT=/dev/tty.USA19QI23P1.1;/usr/local/bin/malsync
>/tmp/malsync.log 2>&1 &"
tell application "Terminal"
activate
do script "tail -f /tmp/malsync.log"
end tell
set promptString to ¬
"malsync started; press hotsync button to connect Palm"
display dialog promptString buttons {"OK"} default button 1
set promptString to ¬
"Remember to re-enable HotSync in HotSync Manager"
display dialog promptString buttons {"OK"} default button 1
end if
Mac OS X Hints
http://hints.macworld.com/article.php?story=20030905212530882