ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Finished Programs

SOLVED: Exclude firefox from script?

(1/2) > >>

substep:
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

Target:
code needs to look like this


--- ---MButton::
ifwinactive, Mozilla Firefox
    return

Send !{F4}
Return

MilesAhead:
Also it's a good idea to avoid a window with the title
Program Manager

which is the desktop. Otherwise if there's nothing else open on the desktop it may ask you if you want to log off. :)

substep:
code needs to look like this
-Target (August 03, 2010, 07:05 PM)
--- End quote ---
thx, but it works only if the window title is exactly "Mozilla Firefox", it puts tab names before it.

skwire:
Add this line to the top of your script:


--- Code: Autohotkey ---SetTitleMatchMode, 2

Navigation

[0] Message Index

[#] Next page

Go to full version