On Monday, August 26, 2013 3:41:04 AM UTC+2, Rob McBroom wrote:

> You’ve built from source before, right? If so, have a look at the [three 
> methods][1] that call `rescope:`. 
> It sounds like the problem is with `appChanged:` and you’re having to 
> forcibly call `interfaceActivated` to make up for it. I’d add a line in 
> there like this: 
>     NSLog(@"active application is now %@", ident); 
> Then see if the message shows up in the console when you switch to iTunes. 
> [1]: 
> https://github.com/quicksilver/Quicksilver/blob/master/Quicksilver/Code-QuickStepCore/QSTriggerCenter.m#L83


I've built from source before — not QS, so I don't know if it's a minutes 
or hours process :) Before digging into that and for now, I quickly glued 
the following applescript in

*tell* *application* "System Events"

*repeat* 20 *times*

*do shell script* "logger -t AS_DEBUG Frontmost process is now " & (*get* 
name *of* *first* *process* *whose* frontmost *is* true)

*delay* 0.5

*end* *repeat*

*end* *tell*

It logs the following when switching to and from iTunes.

26.8.13 2:10:03.835 PM AS_DEBUG[59523]: Frontmost process is now 
AppleScript Editor
26.8.13 2:10:04.347 PM AS_DEBUG[59528]: Frontmost process is now 
AppleScript Editor
26.8.13 2:10:04.863 PM AS_DEBUG[59529]: Frontmost process is now 
AppleScript Editor
26.8.13 2:10:05.377 PM AS_DEBUG[59534]: Frontmost process is now WriteRoom
26.8.13 2:10:05.514 PM WindowServer[114]: 
CGXRegisterWindowWithSystemStatusBar: window c already registered
26.8.13 2:10:05.889 PM AS_DEBUG[59535]: Frontmost process is now iTunes
26.8.13 2:10:06.404 PM AS_DEBUG[59540]: Frontmost process is now iTunes
26.8.13 2:10:06.902 PM WindowServer[114]: 
CGXRegisterWindowWithSystemStatusBar: window c already registered
26.8.13 2:10:06.928 PM AS_DEBUG[59541]: Frontmost process is now Mail
26.8.13 2:10:07.368 PM WindowServer[114]: 
CGXRegisterWindowWithSystemStatusBar: window c already registered
26.8.13 2:10:07.442 PM AS_DEBUG[59546]: Frontmost process is now iTunes
26.8.13 2:10:07.958 PM AS_DEBUG[59547]: Frontmost process is now iTunes
26.8.13 2:10:08.004 PM WindowServer[114]: 
CGXRegisterWindowWithSystemStatusBar: window c already registered
26.8.13 2:10:08.470 PM AS_DEBUG[59552]: Frontmost process is now Mail
26.8.13 2:10:08.985 PM AS_DEBUG[59553]: Frontmost process is now Mail
26.8.13 2:10:08.991 PM WindowServer[114]: 
CGXRegisterWindowWithSystemStatusBar: window c already registered
26.8.13 2:10:09.497 PM AS_DEBUG[59558]: Frontmost process is now WriteRoom
26.8.13 2:10:09.971 PM WindowServer[114]: 
CGXRegisterWindowWithSystemStatusBar: window c already registered
26.8.13 2:10:10.010 PM AS_DEBUG[59559]: Frontmost process is now iTunes
26.8.13 2:10:10.525 PM AS_DEBUG[59564]: Frontmost process is now iTunes
26.8.13 2:10:11.038 PM AS_DEBUG[59565]: Frontmost process is now WriteRoom
26.8.13 2:10:11.430 PM WindowServer[114]: 
CGXRegisterWindowWithSystemStatusBar: window c already registered
26.8.13 2:10:12.439 PM WindowServer[114]: 
CGXRegisterWindowWithSystemStatusBar: window c already registered

I also noticed in Triggers.plist that ⌘ equals to either int 1048848 or int 
1048840, why is that? It doesn't seem to relate to COMMAND_R or COMMAND_L.

If the above doesn't help I could run a debug build with NSLogger, if you 
provide it. 

-- 
You received this message because you are subscribed to the Google Groups 
"Quicksilver" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to