• 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: Finder window views ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder window views ?


  • Subject: Re: Finder window views ?
  • From: Jean-Christophe Helary <email@hidden>
  • Date: Thu, 23 Feb 2017 09:10:58 +0900

Wow !

Thank you Chris, but since I change the environment language from time to time, any GUI-scripting is high level wizardry for me that I won't touch with a stick ... :-)
I just got bit today working on a Numbers template that I had (or so I thought) safely named with a Japanese string, to discover this morning that when Numbers runs in Japanese, it's got a template with the exact same name that has priority over mine (the name was trivial, it was "invoice", but still)...

It really kind of sucks that the stuff that a script beginner would want to do the most (fiddle with Finder to organize a workflow) is not working properly. And what about that guy who was fired a few months back that everyone praised ?

Besides for that, I like the way you set headers for your scripts. Which tool do you use ?

Jean-Christophe 

2017/02/23 8:36、Christopher Stone <email@hidden>のメール:

On Feb 22, 2017, at 16:55, Jean-Christophe Helary <email@hidden> wrote:
I'm kind of tired of having to arrange the windows one by one so I was thinking of writing a script that would remove or add view items, change the sort order etc. at once. So that every time I meet a non conformant window, I just change it on the spot...


Hey Jean-Christophe,

Finder-view scripting is a bit problematic to the consternation (profanity elided) of many Mac scripters.
Some things work, and some things don't.
Some things only work after you refresh a window.
To add and remove elements to a window you'll have to use GUI-Scripting as in script 1 below.
 _______________________________________________
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: 
 >Finder window views ? (From: Jean-Christophe Helary <email@hidden>)
 >Re: Finder window views ? (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: [ANN] Table dialogs
  • Next by Date: Automating Script Headers
  • Previous by thread: Re: Finder window views ?
  • Next by thread: Re: Finder window views ?
  • Index(es):
    • Date
    • Thread