[missing-sync-palmos-talk] Feature Request - Scripting
Scott Gruby
sgruby at markspace.com
Fri Dec 3 14:35:57 PST 2004
The script will look something like this (it isn't pretty, but it
works):
on open (theItems)
tell application "Missing Sync for Palm OS"
set installPath to path to install files
set current profile to "Install"
set mode to synchronize
end tell
with timeout of 1000000 seconds
try
tell application "Finder"
repeat with oneItem in theItems
set itemPath to quoted form of POSIX path of oneItem
do shell script ("cp " & itemPath & " '" & installPath & "'")
end repeat
end tell
on error errmsg
--should anything go wrong let the user know
display dialog errmsg
end try
end timeout
end open
There will be limited scripting in Missing Sync, but it should be
enough to do a number of things, like get a list of handhelds, switch
current handhelds (which you'll need to do if you have more than one
and you want to install for a particular one), get a list of cards to
install (which you can append to the install path to get the card
install path), change to internet sharing, etc.
--
Scott Gruby
Lead Engineer, Missing Sync for Palm OS
Mark/Space, Inc.
<http://www.markspace.com/>
Please contact support at markspace.com for assistance with Mark/Space
products.
More information about the missing-sync-palmos-talk
mailing list