• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Accessing Stickies' data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Accessing Stickies' data
      • From: "Stockly, Ed" <email@hidden>
References: 
 >Accessing Stickies' data (From: Jim Thompson <email@hidden>)
 >Re: Accessing Stickies' data (From: Steve Thompson <email@hidden>)
 >Re: Accessing Stickies' data (From: André Renault <email@hidden>)
 >Re: Accessing Stickies' data (From: Jim Thompson <email@hidden>)
 >Re: Accessing Stickies' data (From: Deivy Petrescu <email@hidden>)
 >Re: Accessing Stickies' data (From: Jim Thompson <email@hidden>)
 >Re: Accessing Stickies' data (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Accessing Stickies' data
  • Next by Date: Re: osascript weirdness...
  • Previous by thread: Re: Accessing Stickies' data
  • Next by thread: Re: Accessing Stickies' data
  • Index(es):
    • Date
    • Thread