Re: Copy image to clipboard
Re: Copy image to clipboard
- Subject: Re: Copy image to clipboard
- From: Walter Ian Kaye <email@hidden>
- Date: Thu, 1 Apr 2004 02:44:42 -0800
At 10:21a +0100 04/01/2004, Nigel Smith didst inscribe upon an
electronic papyrus:
tell application "QuickTime Player"
activate
open file (choose file)
copy movie 1
end tell
....gives you a picture on the clipboard which FileMaker recognises as a
movie if it is pasted into the container field.
That doesn't work for me on 10.2.8 -- 'copy' errors.
I only have the free version of QT. Do you have the Pro version?
At 10:53a +0100 04/01/2004, Martin Orpen didst inscribe upon an
electronic papyrus:
I tried to work out a way of getting the clipboard to change the class of
the picture data to "picture" rather than "string", but couldn't do it.
Script Editor crashed nearly every time.
You can only do those "special" coercions when reading from a file;
you cannot do it when reading from any other source. It's one of the
things which frustrate scripters, especially those of us who at least
had the Programmer's Tool osax under traditional Mac OS to provide
coercions.
-W
_______________________________________________
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.