• 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
Backlight using GUI scripting doesn't work...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Backlight using GUI scripting doesn't work...


  • Subject: Backlight using GUI scripting doesn't work...
  • From: "hackmiester (Hunter Fuller)" <email@hidden>
  • Date: Fri, 6 Oct 2006 11:42:50 -0500

I have:

tell application "System Events"
	tell process "System Preferences"
		click menu item "Displays" of menu "View" of menu bar 1
		delay 3
		tell window "Color LCD"
			tell tab group 1
				click radio button "Display"
				delay 1
				tell group 1
					tell slider 1
						set value to 1
					end tell
				end tell
			end tell
		end tell
	end tell
end tell

It falls on its face with an NSReceiverEvaluationScriptError: 4. I have no clue why. Anyone have any ideas?
--
hackmiester (Hunter Fuller)


<svinx> yknow when you go to a party, and everyones hooked up except one guy and one girl
<svinx> and so they look at each other like.. do we have to?
<svinx> intel & nvidia must be lookin at each other like that right now



Phone Voice: +1 251 589 6348 Fax: Call the voice number and ask.

Email
General chat: email@hidden
Large attachments: email@hidden
SPS-related stuff: email@hidden

IM
AIM: hackmiester1337
Skype: hackmiester31337
YIM: hackm1ester
Gtalk: hackmiester
MSN: email@hidden
Xfire: hackmiester


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Backlight using GUI scripting doesn't work...
      • From: kai <email@hidden>
    • Re: Backlight using GUI scripting doesn't work...
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: Creating an environment variable from AppleScript
  • Next by Date: Re: Can't turn off screen savers in System Preferences
  • Previous by thread: Re: Applescript equivalent of $0 in shell script
  • Next by thread: Re: Backlight using GUI scripting doesn't work...
  • Index(es):
    • Date
    • Thread