Re: Trouble with appearance preferences of System Events
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