• 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: Trouble with appearance preferences of System Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with appearance preferences of System Events


  • Subject: Re: Trouble with appearance preferences of System Events
  • From: Takaaki Naganoya <email@hidden>
  • Date: Fri, 30 Oct 2009 10:40:26 +0900

In this case, "a reference to" is useful tool.

<AppleScript>
tell application "System Events"
	set ap1 to a reference to appearance preferences
	tell ap1
		set fRes to font smoothing --get
		--> true or false

		set font smoothing to true --set

		set fRes1 to font smoothing limit
		--> 6 ( for example)

		--does not return human readable result
		set fRes2 to (font smoothing style)
		--> «constant ****ˇˇˇˇ»


		--set font smoothing

		--set font smoothing style to automatic--automatic returns Error
		set font smoothing style to light
		set font smoothing style to medium
		set font smoothing style to standard
		set font smoothing style to strong
	end tell
end tell
</AppleScript>


On 2009/10/29, at 17:43, Steven Audette wrote:

tell application "System Events"
	tell appearance preferences
		set font smoothing style to automatic
	end tell
end tell

-- Takaaki Naganoya Piyomaru Software http://piyo.piyocast.com email@hidden

PiyoCast Web (Podcasting with Music!)
http://www.piyocast.com
Free AppleScript Library "AS Hole"
http://www.piyocast.com/as/



_______________________________________________
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
References: 
 >Trouble with appearance preferences of System Events (From: Steven Audette <email@hidden>)

  • Prev by Date: Re: [OT] Command-Tab key combination fails
  • Next by Date: Re: Unzip multiple items Applescript-terminal syntax help!
  • Previous by thread: Re: Trouble with appearance preferences of System Events
  • Next by thread: Change subscription to nodigest
  • Index(es):
    • Date
    • Thread