View Single Post
Robb
Old 08-12-2009, 10:57 PM #68 (permalink)  
4-of-a-Kind

Join Date: Aug 2007
Posts: 3,068
Robb is an unknown quantity at this point
Quote:
Originally Posted by Rage2100
Quote:
Originally Posted by Robb
Quote:
Originally Posted by Robb
#IfWinActive ahk_class QWidget
I think this makes the script unstable - don't use it until I figure what conflict I'm generating in my scripts. Besides, I'm working on a "note taking" script that could simply remap the space bar while the note window is open (or pause the other script) along with opening and positioning the note window away from the most active stacks.
If you add your line to the top of the script, it would be best to take out my "Class_Name=QWidget" line.

I also have the following two lines for each hotkey in the script, which check against the variable set up by the "Class_Name=QWidget" line:
WinGetClass, class
If class=%Class_Name%

Adding your line to the top of the script will make any hotkeys that are physically lower down the script, context sensitive, so you wouldn't need to have my two lines of code in there.

I'm looking forward to hearing more about your note taking script.
I took your advice. The conflict seems to have been worked out even before I deleted those lines, though. I got rid of the F1 command - I think that was causing a problem with another hotkey script and causing your whole Move Table script to crash.

It does make it slightly less usable, though, since sometimes I have to click on a Table to get a FTP window active so the space bar hotkey will work. But I can type in other programs. So it's a trade off.

I've worked some on the note-taking script, but it's kinda low priority for right now. Maybe over the weekend.
My Operation and FTR Rethread: Stations are *sob* so hard to play against
 
Reply With Quote