Re: Copy image to clipboard
Re: Copy image to clipboard
- Subject: Re: Copy image to clipboard
- From: Hanaan Rosenthal <email@hidden>
- Date: Wed, 31 Mar 2004 14:47:24 -0500
I think I know where I got confused.
You can use the write command to save the contents of the clipboard to
a file, but not the other way around.
Even converting the file to PICT or TIFF doesn't work.
Maybe someone else has the answer.
Hanaan
On Mar 31, 2004, at 9:11 AM, Simon Forster wrote:
>
Hmm. That doesn't seem to work on my system. It dosen't error but when
>
I come to paste the clipboard contents, I get nothing.
>
>
Drats.
>
>
Simon Forster
>
_____________________________________________________
>
LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
>
Tel: +44 (0)70 9230 5244 Fax: +44 (0)70 9230 5247
>
_____________________________________________________
>
>
>
On 31 Mar 2004, at 14:31, Hanaan Rosenthal wrote:
>
>
> This should work:
>
>
>
> set gifPath to "Macintosh HD:tmp.gif"
>
> set gifData to read file gifPath as data
>
> set the clipboard to gifData
>
>
>
> Hanaan
>
>
>
> On Mar 31, 2004, at 5:36 AM, Simon Forster wrote:
>
>
>
>> Very simple question but one I'm stuck on. I have an image on my
>
>> desktop - for arguments sake tmp.gif, and I want to copy it to the
>
>> clipboard.
>
_______________________________________________
>
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.
>
>
--
Hanaan Rosenthal * Custom Flow Solutions
MEDIA AUTOMATION CONSULTING
401-487-2957 * email@hidden
* www.customflowsolutions.com *
be successful... ...work less.
_______________________________________________
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.