Re: Scripting Palm Desktop export?
Re: Scripting Palm Desktop export?
- Subject: Re: Scripting Palm Desktop export?
- From: Nicholas Riley <email@hidden>
- Date: Mon, 26 May 2003 23:57:49 -0500
- Resent-date: Mon, 26 May 2003 23:58:01 -0500
- Resent-from: Nicholas Riley <email@hidden>
- Resent-message-id: <email@hidden>
- Resent-to: email@hidden
On Mon, May 26, 2003 at 02:42:09PM -0700, Chris Page wrote:
>
On Sunday, May 25, 2003, at 21:05 US/Pacific, Nicholas Riley wrote:
>
>
>I'm attempting to write a script to export my Palm Desktop addresses
>
>and contacts as vCal and vCard, respectively, for use on my iPod.
Er, I meant to say "addresses and events".
>
>Since the Export command was obsoleted in 4.1 instead of being made
>
>useful, I can't do this directly with AppleScript.
>
>
Yeah, sorry 'bout that. I didn't have time to even update the export
>
command to work in the new scripting implementation in 4.1, but it
>
wouldn't have helped you, anyway, as it only exports to
>
tab-delimited-text. I also took a quick look at providing a way to get
>
the vCard/vCal text via scripting, but again just didn't have time to
>
do anything about it.
I'm surprised it would have been such a lot of work, but I don't know
what you had to work with, and am very glad for the excellent existing
scripting support in Palm Desktop 4.1.
>
The general answer is you're going to have to generate your own
>
vCard/vCal text.
OK, I was afraid of that.
>
>Is this a problem with Palm Desktop or UI Scripting?
>
>
I took a quick look at this, but I have no idea what UI Scripting is
>
telling Palm Desktop or whether there's something PD is doing wrong to
>
mess things up, unfortunately. If someone who does know can tell me, I
>
can try to find out if there's something obviously wrong in PD.
I assume it's simulating a pop-up menu selection in a way that PD
isn't aware of, and whatever triggers you've got attached to the pop-up
menu selection. (I'm pretty rusty on Carbon Control Manager stuff so
I'm sorry I can't be more specific.) Do you want a more isolated test
case?
>
How much data do you have? In my tests, getting "properties of every
>
address" was generally pretty fast until you got to several thousand
>
items.
I've only got in the hundreds of addresses, but I'm mainly concerned
about events, of which I have thousands.
>
Apple created AppleScript Studio applications to export vCards for the
>
iPod from Palm Desktop and Entourage, but it seems Apple got rid of
>
them once they shipped iSync. I can't find the scripts anywhere on
>
Apple's site. You might try looking around to see if someone has a
>
copy. Search for "Palm Desktop to iPod" or "Entourage to iPod".
Thanks so much for your response. I'll see if I can find a copy, but
I'm more concerned about the volume of event information I have.
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.