Re: Accessing Stickies' data
Re: Accessing Stickies' data
- Subject: Re: Accessing Stickies' data
- From: Jim Thompson <email@hidden>
- Date: Fri, 10 Dec 2010 06:55:26 +0900
Thanks, Axel.
I wish there's (or were) a different way so that Stickiers will (or
would) not launch itself.
Jim
On Dec 10, 2010, at 6:43 AM, Axel Luttgens wrote:
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 (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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