Re: Accessing Stickies' data
Re: Accessing Stickies' data
- Subject: Re: Accessing Stickies' data
- From: Axel Luttgens <email@hidden>
- Date: Thu, 9 Dec 2010 22:43:22 +0100
Le 9 déc. 2010 à 18:20, Jim Thompson a écrit :
> Thanks. Reading Stickies' data as text would not be a problem. I thought initially that Stickies' file is a database file. In such case, I thought I could get the number of records easily. Since Mr. Thompson said it's not a database file, I didn't think I could get the number of records or windows, which is my only objective. So I gave up.
Hello Jim,
As a last resort, there's the GUI scripting way:
tell application "System Events"
tell application process "Stickies"
count of windows
end tell
end tell
HTH,
Axel
_______________________________________________
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