PDA

View Full Version : Geektool and Expose interference


Billofer
08-27-2004, 04:14 PM
I'm having a problem with Expose and Geektool.

On my Expose settings, I have the top left corner of the desktop as a hot corner for the "show desktop" feature.
I have GeekTool setup to run the command "osascript /Users/.../itunes.scpt".

The GeekTool command works perfectly. It's supposed to show my itunes status in a little window and does that flawlessly.

The problem is that when I activate the "show desktop" feature in Expose by going to the hot-corner (or any other way of activation), the feature only works for like a second. All the windows go to the side showing the desktop then suddenly for no reason, the windows go back onto the screen after only a second.

When I turn off GeekTool, the "show desktop" feature works like it should, it only stops when I activate the hot-corner again.

I'm guessing that because the script is updated every second (to get the remaining time of the current track) that must be interrupting Expose. The funny thing is that the other two feature of Expose aren't bothered by this at all. They work like they normally do regardless of whether GeekTool is on.

Has this been happing to anyone else that uses GeekTool and Expose? Any suggestions on a workaround for this?
Thanks

jdhorner
08-27-2004, 04:34 PM
i'm not in a too-thorough mood at the moment, but i believe someone posted with the same problem either in a recent main-site hint about geekTool, or here in the forums. they had the same problem... any time an applescript was being run during an exposé function, it would auto-cancel exposé. this is normal behaviour: applescript is being called and asking to come to the foreground... all apps are like this when exposé is active, except for the Finder, which you're supposed to be able to use during exposé anyway.

not to mention: an applescript run every second just to display the current song? that's a little overkill, no?

how about looking into "Sizzling Keys". great app.

joe_e
12-13-2004, 04:07 PM
I've come up with a workaround for this which involves using a 'Stay-open' Applescript to write to a text file. I then use Geektool to display the contents of the file, so there's no oascript and, therefore, no Expose problems :)

If you're still interested, let me know and I'll post more info.