Economy-x-Talk - Sample Scripts
EmptyClipboard()
This script tests whether the clipboard is empty
function emptyClipboard
global clipVar
put empty into clipVar
select text of bg field 1
if bg field 1 is not empty then
doMenu copy text
end if
select empty
do "set variable" && quote & "clipVar" &¬
quote && "to the clipboard" as appleScript
if clipVar is not empty then
answer clipVar
else
beep
end if
end emptyClipboard
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.