Re: iSub Toggle
Re: iSub Toggle
- Subject: Re: iSub Toggle
- From: email@hidden
- Date: Mon, 28 Jun 2004 08:50:42 -0400
Could someone tell me what the window in a window (as in the system
prefs) is called?
tab group
What kind of a UI object it is?
AXTabGroup
And how to find out how to call it? Name or number, I don't care,
but I don't know where to start.
-- A 'System Preferences' 'Sound' Utility Tab Group Radio Button
cycling demonstration.
tell application "System Preferences"
activate -- Set 'System Preferences' as the front most process.
-- Display the 'Sound' Utility of 'System Preferences'.
set current pane to pane "com.apple.preference.sound"
end tell
tell application "System Events"
tell process "System Preferences"
tell tab group 1 of window "Sound"
click radio button "Output"
delay 2 -- Place your code here.
click radio button "Input"
delay 2 -- Place your code here.
click radio button "Sound Effects"
delay 2 -- Place your code here.
end tell
-- or
tell tab group 1 of window 1 -- Same as 'tell tab group 1 of window "Sound"'
click radio button 2 -- Same as 'click radio button "Output"'
delay 2 -- Place your code here.
click radio button 3 -- Same as 'click radio button "Input"'
delay 2 -- Place your code here.
click radio button 1 -- Same as 'click radio button "Sound Effects"'
delay 2 -- Place your code here.
end tell
end tell
end tell
--
SJWL
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.