Re: "original item of" activates Finder!?
Re: "original item of" activates Finder!?
- Subject: Re: "original item of" activates Finder!?
- From: Harald E Brandt <email@hidden>
- Date: Mon, 19 Nov 2001 01:02:47 +0100
+--> Serge Belleudy-d'Espinose wrote 01-11-18:
>
At 12:28 +0100 18/11/01, Harald E Brandt wrote:
>
>
>Why is it so that the property "original item of <class alias file>" in the Finder terminology causes Finder to activate? It makes unattended scheduled scripts appear pretty disturbing!
>
>
It's a bug in MacOS 9.x. that happens whenever you 'tell application "Finder"' something. There's no short solution; scan your scripts and let all tells be followed by 'tell me to activate'.
+--
Well, most of my Finder tells do not at all activate Finder - I use such tells a lot - it is only this dreadful alias resolution thing that is a monster.
'tell me to activate' is no solution, since my scripts (applets) may run scheduled, so I might be reading mail when it runs. I can (just barely) live with the fact that the applets get into foreground for a few seconds, but I can absolutely not accept that it leaves me in the Finder afterwards!
I found Tanaka's 'MT Resolve Alias' MUCH MUCH better! It is actualy extremely much faster than Finders terrible way of "mechanically" doing it!
Since the Finder already has a reveal commad, it seems ridiculous to not make it possible to quietely resolve simple aliases. Thank god I have Tanaka's....
PS: To be really nice, however, I would like to immediately activate the app that was the frontmost *before* my applet launced, so scheduled launches of applets don't disturb so much. But according to other posts here (in thread: 'Script Menu and "front" property'), that feature seem to be impossible to achieve in AppleScript(?) An alternative would be if I could somehow make them run in the background already from the start, despite they are applets....
Regards,
______heb________________________________________________________________
Harald E Brandt email@hidden PGP/MIME aware
http://heb.bragit.com