• 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: View mode of window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: View mode of window?


  • Subject: Re: View mode of window?
  • From: KOENIG Yvan <email@hidden>
  • Date: Fri, 21 Jan 2011 15:21:15 +0100


Le 21 janv. 2011 à 15:04, OzSanta a écrit :

G'day listers

How can I find the view mode of a Finder Window?

The following won't compile, let alone run, yet 'view mode' shows as a property.

tell application "Finder"
set temp2 to properties of window 1
try
set temp3 to |view mode| of window 1
end try
try
set temp4 to view mode of temp2
end try
end tell
temp3 & "  " & temp4

Regards

Santa

Use :

tell application "Finder"
set current view of Finder window 1 to icon view
end tell

Yvan KOENIG (VALLAURIS, France) vendredi 21 janvier 2011 15:20:54


 _______________________________________________
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: 
 >View mode of window? (From: OzSanta <email@hidden>)

  • Prev by Date: View mode of window?
  • Next by Date: localized string and 10.6
  • Previous by thread: View mode of window?
  • Next by thread: localized string and 10.6
  • Index(es):
    • Date
    • Thread