• 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: Script to conditionaly uncheck Hide and show Front Row
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script to conditionaly uncheck Hide and show Front Row


  • Subject: Re: Script to conditionaly uncheck Hide and show Front Row
  • From: Philip Aker <email@hidden>
  • Date: Tue, 12 May 2009 10:37:47 -0700

On 2009-05-12, at 09:28:00, Vance wrote:

You could do it either of these ways:

if(value of checkbox 1 is 1)then
	click checkbox 1
else
	click checkbox 1
end if

--or

if(value of checkbox 1 is 1)then
	click checkbox 1
end if
if(value of checkbox 1 is 0)then
	click checkbox 1
end if

That's what one would normally expect, however it doesn't work correctly OMM when the value is zero -- the click is performed twice so in effect, nothing happens.



On May 12, 2009, at 10:42 AM, Philip Aker wrote:

	if (value of checkbox 1 is 1) then
							click checkbox 1
						end if

Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
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
  • Follow-Ups:
    • Re: Script to conditionaly uncheck Hide and show Front Row
      • From: Yvan KOENIG <email@hidden>
References: 
 >Script to conditionaly uncheck Hide and show Front Row (From: Rahulkumar Tibdewal <email@hidden>)
 >Re: Script to conditionaly uncheck Hide and show Front Row (From: Philip Aker <email@hidden>)
 >Re: Script to conditionaly uncheck Hide and show Front Row (From: Vance <email@hidden>)

  • Prev by Date: Re: Script to conditionaly uncheck Hide and show Front Row
  • Next by Date: Re: Why is the initial working directory of 'do script' root? Was: Interacting with external shell scripts
  • Previous by thread: Re: Script to conditionaly uncheck Hide and show Front Row
  • Next by thread: Re: Script to conditionaly uncheck Hide and show Front Row
  • Index(es):
    • Date
    • Thread