Sunday, January 21, 2018

#1 2003-01-01 09:01:10 am

Jean-Baptiste LE STANG
Member
From:: Paris
Registered: 2002-11-20
Posts: 167

Slow down when calling the Finder

Has anyone noticed thath when you're calling the FInder in your script, there is a masive slow down when the "Finder" is executing what you asked him?


--
Jean-Baptiste LE STANG

Offline

 

#2 2003-01-01 10:19:29 am

Rob
Member
From:: Ohio, USA
Registered: 2002-11-20
Posts: 1886

Re: Slow down when calling the Finder

Has anyone noticed thath when you're calling the FInder in your script, there is a masive slow down when the "Finder" is executing what you asked him?


According to what I've read on other forums, it's a common complaint that isn't necessarily limited to AppleScript/Finder interaction. Many people feel that the Finder in OS X is a slug when compared to pre-OS X Finders.

One thing that might help: I'm pretty sure that some of the AppleScript commands that we direct to the Finder are passed on to the System Events app. It might be worth the time it takes to investigate and benchmark some of these common commands. For instance, I think the 'process' commands might fall into this category.

Offline

 

#3 2003-01-30 06:24:23 pm

Eelco Houwink
Member
Registered: 2002-11-20
Posts: 317

Re: Slow down when calling the Finder

Has anyone noticed thath when you're calling the FInder in your script, there is a masive slow down when the "Finder" is executing what you asked him?


According to what I've read on other forums, it's a common complaint that isn't necessarily limited to AppleScript/Finder interaction. Many people feel that the Finder in OS X is a slug when compared to pre-OS X Finders.

One thing that might help: I'm pretty sure that some of the AppleScript commands that we direct to the Finder are passed on to the System Events app. It might be worth the time it takes to investigate and benchmark some of these common commands. For instance, I think the 'process' commands might fall into this category.





In my experience the OSX Finder handles those tasks very - almost unmeasurable - fast to (/ from) System Events.
That is to say:  on a G4 (2*800 Mhz)
Compared with 9, Finder X is a slug when dealing a lot with windows.
For true Finder tasks, it may help to bring Finder to the front first, as OSX (in general) will dedicate more cycles to front applications.
However, this may have some impact of the GUI side of your scripts.


Eelco Houwink

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)