• 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: Set selection to null (was 'Trim Folder Names')
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set selection to null (was 'Trim Folder Names')


  • Subject: Re: Set selection to null (was 'Trim Folder Names')
  • From: Axel Luttgens <email@hidden>
  • Date: Thu, 16 Jan 2014 12:22:23 +0100

Le 16 janv. 2014 à 03:17, 2551 a écrit :

> With reference to my post about the ‘Trim Folder Names’ script, I note that the script fails if the frontmost window has any item already selected.
>
> However, I’m unable to find a way to unselect or deselect all items in the frontmost window via AppleScript. Is there any way to do it?

Hello Phil,

Does

	tell application "Finder"
		set selection to {}
	end tell

or

	tell application "Finder"
		select {}
	end tell

do what you are considering?

Axel


 _______________________________________________
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


  • Prev by Date: Re "Nouns" and "Verbs"
  • Next by Date: Re: Set selection to null (was 'Trim Folder Names')
  • Previous by thread: Re: Re "Nouns" and "Verbs"
  • Next by thread: Re: Set selection to null (was 'Trim Folder Names')
  • Index(es):
    • Date
    • Thread