• 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: AppleScript-Users Digest, Vol 4, Issue 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript-Users Digest, Vol 4, Issue 2


  • Subject: Re: AppleScript-Users Digest, Vol 4, Issue 2
  • From: KOENIG Yvan <email@hidden>
  • Date: Tue, 2 Jan 2007 20:58:20 +0100


Le 2 janv. 07 à 20:31:27, Bryan Lockwood a écrit :

tell application "Finder"

activate

tell Finder window 1 to if exists then

set current view to list view

set bounds to {5, 45, 1000, 900}

set v to toolbar visible

set toolbar visible to not v

set toolbar visible to v

end if

end tell



If you don't like the efficient kai's syntax, you may code:

tell application "Finder"
activate
if exists Finder window 1 then
tell Finder window 1
set current view to list view
set bounds to {5, 45, 1000, 900}
set v to toolbar visible
set toolbar visible to not v
set toolbar visible to v
end tell
end if
end tell


Yvan KOENIG
 _______________________________________________
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/mailman//archives/applescript-users

This email sent to email@hidden

References: 
 >Re: AppleScript-Users Digest, Vol 4, Issue 2 (From: Bryan Lockwood <email@hidden>)

  • Prev by Date: Re: AppleScript-Users Digest, Vol 4, Issue 2
  • Next by Date: Re: AppleScript-Users Digest, Vol 4, Issue 2
  • Previous by thread: Re: AppleScript-Users Digest, Vol 4, Issue 2
  • Next by thread: Re: AppleScript-Users Digest, Vol 4, Issue 2
  • Index(es):
    • Date
    • Thread