Re: How does one paste in OS9.2.2
Re: How does one paste in OS9.2.2
- Subject: Re: How does one paste in OS9.2.2
- From: kai <email@hidden>
- Date: Fri, 22 Aug 2003 22:09:32 +0100
on Fri, 22 Aug 2003 11:55:52 -0400, Josef Kleine-Jaeger wrote:
>
I am using the following code in OS9 and I works fine.
>
>
tell application "Finder"
>
set theOrder to the clipboard
>
end tell
>
>
Now I am trying to do the same in OS9.2.2 and I am getting the following
>
error.
>
"Finder got an error: Some data could not be read."
>
>
What am I doing wrong!!
Try this, Josef:
tell application "Finder"
activate
set theOrder to the clipboard
end tell
While you may get away with omitting the step in some versions of the Mac
OS, the target application should normally be activated before you set or
get the clipboard.
---
kai
_______________________________________________
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.