Re: Copy image to clipboard
Re: Copy image to clipboard
- Subject: Re: Copy image to clipboard
- From: Simon Forster <email@hidden>
- Date: Wed, 31 Mar 2004 16:13:23 +0100
In full: I want to download an image and copy it (not a reference to
it) into a FileMaker Pro container field. Using Graphic Converter, this
is quite easy. I'd download the image (using curl); open the image in
Graphic Converter; select the contents of window 1; paste into
FileMaker.
Trying to do the sameusing programs only installed with Mac OS X seems
to be a little more involved. Quicktime will open most image files but
I've never managed to get any sensible image file out of Quicktime. I
can get Safari to open a URL and then use UI scripting to command c and
command v. But this seems frightfully inelegant.
And ideas?
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 15:29, Walter Ian Kaye wrote:
At 03:11p +0100 03/31/2004, Simon Forster didst inscribe upon an
electronic papyrus:
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.
Because if you were to copy a GIF, say via a Ctrl-click on an image
loaded into Safari, what's put onto the clipboard is _not_ a GIF.
Testing exactly that, I get a TIFF and a PICT on the clipboard.
Therefore you need to *convert* the GIF file before you can "copy" it.
This also means that if your GIF has special features like
transparency or animation, those features will be lost in the process.
Are you sure you want to use 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.