Re: Copy image to clipboard
Re: Copy image to clipboard
- Subject: Re: Copy image to clipboard
- From: Martin Orpen <email@hidden>
- Date: Thu, 01 Apr 2004 10:53:57 +0100
on 1/4/04 9:32 am, Brennan at email@hidden wrote:
>
Presumably you can also use chevron-syntax for the 'as' parameter, thus
>
allowing a script to coerce a file to any known and compatible datatype.
>
>
(So my next question: Where do we get a list of those?)
This one was on macosxhints.com a few weeks back:
set the clipboard to +class ktxt; of ((the clipboard as text) as record)
Which usefully converts the clipboard contents to plain text.
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.
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
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.