I’m still quite a newbie to AppleScript, so please can someone help me with this:
I wrote a script that displays some windows in OS 9 using DialogDirector. Now I would like to hide the Finder (i. e. the desktop icons, showing only the desktop picture) while the script is running (just like the option in the “General Controls” panel), or, alternatively, cover the desktop with a full-screen image behind the script dialog.
Is there a way to do this? I’ve heard about an OSAX but can’t remember the name.
TIA
Frank
I can’t test this but it might be sufficient to just quit the Finder and then launch it when your script is finished. Warning: This might produce undesired results regarding mounted volumes, Finder windows and other stuff which I haven’t considered.
tell application “Finder” to quit
– do stuff
tell application “Finder” to launch
– Rob
Hi Rob,
thanks for your help, but I can’t do this since the script interacts with the Finder during execution (I forgot to mention this). Are there no other possibilities?
Frank
Frank,
There’s probably a way to accomplish your goal but I haven’t used OS 9 for quite some time. You might be able to move the icons out of view by setting the position coordinates outside of the bounds of the screen. I’m sorry that I don’t have code to offer.
– Rob