• 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: What's wrong with the Finder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's wrong with the Finder?


  • Subject: Re: What's wrong with the Finder?
  • From: "koenig.yvan" <email@hidden>
  • Date: Tue, 16 Apr 2013 15:20:57 +0200


Le 16/04/2013 à 08:24, Marion Dickten <email@hidden> a écrit :

Hello,

This is a general question. Why should I avoid telling the Finder? Yvan Koenig wrote "I always do my best to never trigger the Finder in scripts ", and I have noticed this seems the done thing these days. It seems my scripting knowledge is out of date (too much non-scripting to do), can anyone tell me or post a link?

(To tell an app called "System Events" to give me the files contained in a folder seems to me anything but straightforward, files not having to do anything with any event.)

Thank you,
Marion Dickten

My decision was taken after reading a message posted here by Chris Nebel.
Alas, at this time I don't retrieve it but retrieved a message from Paul Berkowitz reporting it :

÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷


http://lists.apple.com/archives/applescript-users/2002/Sep/msg01057.html

Re: System Events in 10.2 - what's the deal, Chris

Subject: Re: System Events in 10.2 - what's the deal, Chris
From: Paul Berkowitz 
Date: Wed, 25 Sep 2002 18:43:52 -0700


On 9/25/02 5:57 PM, "Mr Tea"  wrote:

> After I observed in the 'Seybold Keynote' thread that System Events could
> "manipulate files without scripting the Finder", it was pointed out to me
> off-list that Mr Nebel had warned us off using it.
> 
> What Chris actually said (back in February) was "If you address System
> Events directly, you're putting yourself at risk of breaking in the future,
> should we decide to move/rearrange/destroy System Events. Not that we have
> any immediate plans to do so, but you never know."
> 
> Is that still emphatically the case, Chris? The release notes for AS 1.9
> seem guardedly optimistic about SE's future, even going so far as to promote
> it's use for setting system preferences (when available), and as an
> alternative to the Finder when scripting restarts and shut downs.

No, Chris specifically announced in person on the AppleScript Users list at
the time that Jaguar was released that he had changed his mind and his
advice. First of all, System Events will be sticking around for the
foreseeable future. Secondly, they've now started adding new commands to
System Events, which will never be added to the Finder: "Legacy" items and
commands in the Finder are just legacy. Thirdly, it's faster sending the
commands to System Events. So you've got the all-clear to use it.

There's no point asking Chris by name. He announced here last week that he
was getting back to programming and wouldn't be corresponding to the list.
he did say that other members of AppleScript team would participate here:
sure enough, one day later, three of them appeared. No one has appeared
since then, except cricket for Mail, and he had been doing so all along. I
fear that our great days of active involvement by Apple engineers is over
for the time being. (John Delacour evidently must think so - another day
later he made what seems to have been his last appearance since his
resurrection, after having let us know that he only participates on this
list because of Chris. Either that, or he got too annoyed by my Unicode
obtuseness. Or maybe he's just busy. ;-))
> 
> What's the purpose behind offering a 'Disk-Folder-File Suite' for
> 'controlling Disks, Folders, and Files' if it's not to be used?
> 
> Insatiably curious, as ever.

-- 
Paul Berkowitz


Now, you are free to work as you want.
On my side I have no offset problem with System Events because my scripts are triggering it so often that it's quite always available in ram, exactly like ASObjC Runner.

Yvan KOENIG (VALLAURIS, France) mardi 16 avril 2013 15:20:53


 _______________________________________________
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: 
 >What's wrong with the Finder? (From: Marion Dickten <email@hidden>)

  • Prev by Date: Re: What's wrong with the Finder?
  • Next by Date: PowerMail: Sending and CCing to Messrs Foo & Bar
  • Previous by thread: Re: What's wrong with the Finder?
  • Next by thread: PowerMail: Sending and CCing to Messrs Foo & Bar
  • Index(es):
    • Date
    • Thread