Economy-x-Talk - Sample Scripts
Clip2File
> Hi Ben,
>
> Actually, it is not a problem if the clipboard could contain text or picts
> only. The problem is that the clipboard can also contain music, all kinds
of
> binary data, combinations of pictures and text, et cetera. I wish I could
just
> store te clipboard somehwere, regardless of its contents.
>
> Mark
You could use the Akua Sweets scripting addition (Applescript).
set c to the clipboard
save clipping c in file "Macintosh HD:folder:theOldClipboard"
...and then to load it in (to the clipboard) again:
set the clipboard to (the clipping from file "Macintosh
HD:folder:theOldClipboard")
Brennan
on saveClip()
set c to the clipboard
save clipping c in file "Macintosh HD:Desktop folder:theOldClipboard"
end saveClip
Keep this extensive resource of tutorials and samples on-line! Support RunRev.info!
| Yes, this script is useful. I make a donation and choose freely how much I want to donate on-line (PayPal). Click here if you want to make a donation in dollars. | This script has not (completely) solved my problem and I want Economy-x-Talk to take care of it. Let me contact you. |
Copyright©2002-2008 by Mark Schonewille, Nijmegen, the Netherlands. This web site is in no way affiliated with Runtime Revolution Ltd., but we do recommend the Revolution development platform.