I wrote a set of applescripts that throw up a dialog box using the level of “System Events” because I want the dialog box to show up in front of everything. I also have it set with a timeout to make sure that the dialog box can “hang” while I’m doing what the information in the dialog box is telling me to do. I can’t use other levels like the “Finder” or the name of the Applescript application itself or else it won’t throw it up to the top level of system events (i.e. put it in front of whatever else I’m doing). And if I use the “finder” to throw up the dialog box it locks me out from doing other things with the finder, which I don’t want.
The three wierdest things that have been happening:
When I look at three finder windows open in list view with my “Get Clear On Projects” script. If I try to change the name of a file in one of those finder windows it will highlight the file name, not allow me to see the name of the file, and then it does wierd things in the other windows even though I haven’t clicked in them. I don’t think this is because of the scripts but because of some wierd interaction with the OS, System Events, Finder, or something.
If I “control-click” or “right-click” on a file name when this dialog box that has been thrown up by System Events pops up I’ll often get “hanging” with a spinning rainbow ball or the Applescript application will freeze.
The way I’m using this dialog box is to help tell me what to do on my mac. It waits for me to do it. And then I click okay and move on to the next thing. Unfortunately as I am doing things the dialog box will disappear behind windows and I then have to go find it again to move to click okay and move to the next thing. I wish Apple would make it so that regardless of what level a dialog box is at you could “command-tab” to it. Or see it with Expose or something.
At any rate, I would REALLY appreciate any feedback, suggestions, or tips with this. Any help would be welcomed. And if you would like to try my scripts and see what they’re doing you can find them here:
Thanks so much,