Re: Detecting clipboard state
Re: Detecting clipboard state
- Subject: Re: Detecting clipboard state
- From: Steve Thompson <email@hidden>
- Date: Sun, 24 Oct 2010 20:45:35 +0100
On 24 Oct 2010, at 14:29, Scott Haneda wrote:
> If not possible, does anyone know a way to check the clipboard state in bash or some other language OS X has already installed?
What is it you're trying to do? You can do this to see if there's anything on the clipboard
set m to do shell script "pbpaste"
if m is "" then
-- clipboard is empty
end if
But what you're going to do with it depends on the type of data on the clipboard
Steve _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden