Re: Scripting Palm Desktop
Re: Scripting Palm Desktop
- Subject: Re: Scripting Palm Desktop
- From: Phi Sanders <email@hidden>
- Date: Thu, 7 Mar 2002 21:26:30 -0500
And you're being too quick to defend it. "the clipboard" is part of
standard additions since at least 9.1 (if not earlier), and I have TESTED
this on 3 disparate machines now :
Fails : iBook 500 - OS X 10.1.3 - AS 1.8.1 - Palm Desktop 4.0b77
Fails : iMac 400 - OS 9.2.2 - AS 1.7 - Palm Desktop 2.5
Fails : G4 Ti 667 - OS X 10.1.3 - AS 1.8.1 - Palm Desktop 2.6 {via classic}
It does not work regardless of how the clipboard is coerced, I've tried
"as string", "as text" and "as international text", and now I've tried
you script verbatim and seen it fail... As soon as I get a chance, I plan
on testing on a 9.04 machine currently moping in a packing box somewhere...
If it's working for you maybe you can help Chris Page find the problem by
stating exactly what your (older?) configuration is.
~Phi
In a message sent on Thursday, 2002 March, 07 @ 9:03 PM, by Jason W. Bruce :
>
> I tried the example scripts under 9.2.2, Applescript 1.7, and Palm
>
> Desktop 2.5 (changing "new memo" to "new note") and got the exact same
>
> symptoms - specifically, you cannot take text from the clipboard and set
>
> it into the body of the memo. My guess is this is related to the bug re:
>
> coercing international text
>
>
>
> ~Phi
>
>
The clipboard is from Jon's Commands and returns a list. If I coerce the
>
clipboard to a string *first* and then put it into a variable, I have no
>
trouble setting the body of a Palm memo.
>
>
set the clipboard to "foo"
>
set bar to (the clipboard as string)
>
tell application "Palm Desktop"
>
create new memo with {body:bar}
>
end tell
>
>
I think you're being too quick to condemn the product.
>
>
Jason Bruce
>
_______________________________________________
>
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.
_______________________________________________
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.