topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday April 28, 2025, 5:23 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: [1]
1
Post New Requests Here / Re: Make script work only on specific apps?
« Last post by substep on August 13, 2010, 10:27 AM »
Thx, now it's finished.
Code: Autohotkey [Select]
  1.  
  2. #ifwinactive ahk_class TForm1
  3. ~MButton::
  4. Send !{F4}
  5. Return
  6.  
  7. #ifwinactive ahk_class TfrmStarter
  8. ~MButton::
  9. Send !{F4}
  10. Return
  11.  
  12. #ifwinactive ahk_class AkelPad4
  13. ~MButton::
  14. Send !{F4}
  15. Return
  16.  
  17. #ifwinactive ahk_class mp3DCWndClass
  18. ~MButton::
  19. Send !{F4}
  20. Return
  21.  
  22. #ifwinactive, Postbox
  23. ~MButton::
  24. Send !{F4}
  25. Return
  26.  
  27. #ifwinactive ahk_class XmainClass
  28. ~MButton::
  29. Send !{F4}
  30. Return
2
Post New Requests Here / Make script work only on specific apps?
« Last post by substep on August 12, 2010, 08:22 PM »
Right now this script excludes apps. I want to invert it so it will work only on selected apps (*.exe preferrably).
Code: Autohotkey [Select]
  1. ~MButton::
  2. ifwinactive ahk_class MozillaUIWindowClass
  3. return
  4. ifwinactive ahk_class Progman
  5.     return
  6. ifwinactive ahk_class Shell_TrayWnd
  7.     return
  8. ifwinactive ahk_class MozillaDialogClass
  9.     return
  10. ifwinactive ahk_class NotifyIconOverflowWindow
  11.     return
  12.  
  13. Send !{F4}
  14. Return
3
Finished Programs / Re: Exclude firefox from script?
« Last post by substep on August 03, 2010, 09:17 PM »
Thanks 2 all, It's fine now :up:
4
Finished Programs / Re: Exclude firefox from script?
« Last post by substep on August 03, 2010, 09:04 PM »
Add this line to the top of your script:
It works now, but now middle-click in Firefox itself stopped functioning
5
Finished Programs / Re: Exclude firefox from script?
« Last post by substep on August 03, 2010, 08:54 PM »
code needs to look like this
thx, but it works only if the window title is exactly "Mozilla Firefox", it puts tab names before it.
6
Finished Programs / SOLVED: Exclude firefox from script?
« Last post by substep on August 03, 2010, 06:31 PM »
I have a script to close windows by middle click but I want it not to work in firefox. Is that possible?
Script is
MButton::
Send !{F4}
Return
Pages: [1]