• 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: Rahulkumar Tibdewal <email@hidden>
  • Date: Wed, 13 May 2009 13:20:34 +0530
  • Acceptlanguage: en-US, en-IN
  • Thread-topic: Script to conditionaly uncheck Hide and show Front Row

Hi all,

I have looked into all your suggestions. Thanks For helping me.
However, None of this is giving me expected results.
Using the scripts provided by you I am able to open system preferences, keyboard & mouse pane and in shortcutsTab anchor.
THERE after its not allowing me to change or say tick in there for "Hide and show Front Row".

Thanks
Rahul


-----Original Message-----
From: applescript-users-bounces+rahulkumar_tibdewal=email@hidden [mailto:applescript-users-bounces+rahulkumar_tibdewal=email@hidden] On Behalf Of Yvan KOENIG
Sent: Wednesday, May 13, 2009 1:46 AM
To: Applescript Users
Subject: Re: Script to conditionaly uncheck Hide and show Front Row

I wish to comment the two 'equivalent' proposals.

( first proposal)

if(value of checkbox 1 is 1) then
(* here initial value is 1 *)
	click checkbox 1 (* set checkbox value to 0 *)
else
(* here initial value is 0 *)
	click checkbox 1 (* set checkbox value to 1 *)
end if

as we click the box in both cases, in practice I would code it :

click checkbox 1


(second proposal)

if(value of checkbox 1 is 1) then
(* here initial value is 1 *)
	click checkbox 1 (* set checkbox value to 0 *)
end if
(* so here, value of checkbox  is 0 *)
if(value of checkbox 1 is 0) then
(* here value is 0 which may be the original one or the one set by
the first click *)
	click checkbox 1 (* set checkbox value to 1 *)
end if
(* so here, value of checkbox  is 1 *)

In fact these proposals aren't equivalent.
They are completely different.
The first one is a switcher
The second one always sets the box's value to 1

In practice I would code it :

if (value of checkbox 1 is 1) then click checkbox 1 (* set checkbox
value to 0 *)
click checkbox 1

I don't know if it's the wished result because I don't use FrontRow.

If we want to exit with the value 0 we may use:

if(value of checkbox 1 is 1) then
(* here initial value is 1 *)
	click checkbox 1 (* set checkbox value to 0 *)
end if
(* here value is 0 which may be the original one or the one set by
the preceeding click *)
In practice I would code it :

if (value of checkbox 1 is 1) then click checkbox 1 (* set checkbox
value to 0 *)

Yvan KOENIG (from FRANCE mardi 12 mai 2009 22:07:41)





 _______________________________________________
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

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
 _______________________________________________
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

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>)
 >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: Yvan KOENIG <email@hidden>)

  • Prev by Date: Re: Why is the initial working directory of 'do script' root?
  • Next by Date: Re: Excel Save as text question
  • 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