Re: Substituting a variable in UI scripting
Re: Substituting a variable in UI scripting
- Subject: Re: Substituting a variable in UI scripting
- From: ME <email@hidden>
- Date: Tue, 10 Jan 2006 00:09:09 -0500
if OSVersion contains "10.4" then set UIV to "6" else if OSVersion contains "10.3" then set UIV to "3" end if click pop up button 3 of UI element 1 of UI element UIV of window "Print"
UIV is a string here where I think you need an integer.
set UIV to "6" = UI element "6" -- a named element set UIV to 6 = UI element 6 -- an indexed element
Mike |
_______________________________________________
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