Search found 236 matches

by KilliK
14 May 2016, 17:14
Forum: Ask For Help
Topic: Stop modifier being pressed and resend it as a keypress.
Replies: 2
Views: 735

Stop modifier being pressed and resend it as a keypress.

Hello. I am using a small utility (runs in the background) which switches the mouse cursor between my two monitors. I have also enabled the mouse feature in Windows: Show location of pointer when I press Ctrl. I want when I trigger the utility, to also trigger the Show cursor location feature. So I ...
by KilliK
11 May 2016, 03:42
Forum: Ask For Help
Topic: How do I use a style as a condition in an if-statement?
Replies: 1
Views: 311

How do I use a style as a condition in an if-statement?

I want to run a set of commands when a window doesnt have a specific style. But my if-statement doesnt work even though the condition is met. This works when the windows has the specific style: if (style & 0x158B0000) { ... } But this doesnt work when the windows doesnt have the specific style: if !...
by KilliK
10 May 2016, 13:13
Forum: Ask For Help
Topic: Problem with windows style as an if condition.
Replies: 0
Views: 358

Problem with windows style as an if condition.

Hello. I have created a script to autocenter and autoresize Hearthstone when some specific conditions are met. The script works fine but when I add the condition regarding the game's window style , the script keeps triggering although it is already centered and resized. the problem occurs when I add...
by KilliK
22 Apr 2016, 16:36
Forum: Ask For Help
Topic: Distinguish Chrome profiles
Replies: 2
Views: 542

Distinguish Chrome profiles

Hello. I usually run a bunch of Chrome profiles simultaneously and I would like to create a script which will send tab urls from my main profile to one of the others. The problem is I dont know how to make AHK to tell apart which profile I want to send the url to. Window Spy gives the same wintitle ...
by KilliK
20 Apr 2016, 12:31
Forum: Ask For Help
Topic: Holding down a key doesnt work
Replies: 5
Views: 1344

Re: Holding down a key doesnt work

That doesnt work either, Leli196 I also tried some other methods I found here, but they are not consistent, hiding the right context menu in Chrome is almost impossible. I followed your suggestion with the A_Cursor and left clicking instead of right clicking, and so far it seems to work. I created a...
by KilliK
19 Apr 2016, 10:25
Forum: Ask For Help
Topic: Holding down a key doesnt work
Replies: 5
Views: 1344

Re: Holding down a key doesnt work

yes, I want to hold down Esc for a few seconds and during that time to right click the mouse. Basically, what I want to do is to right click in the Chrome browser without invoking the right context menu. and the only way I have found to achieve this is if I hold down the Esc button while right click...
by KilliK
18 Apr 2016, 16:52
Forum: Ask For Help
Topic: Holding down a key doesnt work
Replies: 5
Views: 1344

Holding down a key doesnt work

Hello. I am writing a simple script which will hold down the ESC, mouse click once and then release ESC. The script is not working and the reason for that is that the Esc key is not kept down. I had the impression that the Down parameter keeps a key repressed, but apparently that's not true? If that...
by KilliK
14 Apr 2016, 12:31
Forum: Scripts and Functions
Topic: AHK Startup (Consolidate AHK Scripts' Tray Icons)
Replies: 70
Views: 46488

Re: AHK Startup (Consolidate AHK Scripts' Tray Icons)

sorry to bring this up, but I am encountering a problem with your script. I set a custom folder to load of bunch of my scripts from there. It loads them fine but it doesnt hide their tray icons, apart from one randomly. I have set systray from Windows to show the ahk icons and tried to refresh them ...
by KilliK
12 Apr 2016, 14:11
Forum: Ask For Help
Topic: Problem with youtube/flash pages in Chrome/Firefox.
Replies: 3
Views: 804

Re: Problem with youtube/flash pages in Chrome/Firefox.

no, the problem happens with Chrome too. If I play a youtube video, pause it, leave the page, come back and use the hotkey, it wont work. I have to click somewhere in the page first to make it work. Looks like the youtube player consumes the CTRL key when in focus, not the browser itself.
by KilliK
12 Apr 2016, 13:06
Forum: Ask For Help
Topic: Problem with youtube/flash pages in Chrome/Firefox.
Replies: 3
Views: 804

Problem with youtube/flash pages in Chrome/Firefox.

Hello. I have created a Chrome/Firefox script with a bunch of hotkeys like when I want to cycle through tabs, save a page, bookmark all tabs,etc. The script works fine but I encountered a problem with youtube/flash pages which I have no idea how to fix. If I open a youtube page and play the video an...
by KilliK
06 Apr 2016, 10:44
Forum: Ask For Help
Topic: Pressed hotkey interferes with the triggered code
Replies: 2
Views: 560

Pressed hotkey interferes with the triggered code

I made a simple script for FIrefox, so when the Numpaddiv hotkey is kept pressed down, it presses down CTRL and repeatedly sends the TAB keystroke it works but I discovered that the script also sends the CTRL+Numpaddiv combination which triggers some other irrelevant addon. I dont understand, should...
by KilliK
04 Apr 2016, 10:40
Forum: Ask For Help
Topic: Exclude browsers from script.
Replies: 5
Views: 1130

Re: Exclude browsers from script.

Thanks wolf_II but this is not what I am asking. I dont want my script to be triggered when my browsers have the same window title with the ones I use as triggers for my applications. For example, I want my Steam app to be centered but I dont want Chrome to be centered too when I visit the Steam pag...
by KilliK
04 Apr 2016, 07:44
Forum: Ask For Help
Topic: Exclude browsers from script.
Replies: 5
Views: 1130

Re: Exclude browsers from script.

thanks but how do you tell the script to include my two groups and exclude the browsers group, while checking the active window?

For example I want a non-browser window with the title Steam to be centered but I dont want this to happen if it is a browser title.
by KilliK
04 Apr 2016, 06:27
Forum: Ask For Help
Topic: Exclude browsers from script.
Replies: 5
Views: 1130

Exclude browsers from script.

Hello. I have created a script to auto-arrange the windows of specific programs when they are active. The script works fine but I encountered a problem, when the windows title of my two browsers (Chrome/Firefox) have the same title (ie when I open the Steam store) they are auto-arranged as well. How...
by KilliK
25 Mar 2016, 05:54
Forum: Ask For Help
Topic: Problem with #IfWinActive condition.
Replies: 5
Views: 991

Re: Problem with #IfWinActive condition.

Thank you very much for your help, I finally solved this irritating problem.
by KilliK
23 Mar 2016, 05:02
Forum: Ask For Help
Topic: Problem with #IfWinActive condition.
Replies: 5
Views: 991

Problem with #IfWinActive condition.

Hello. Novice user here in need of some help. First of all thank you for this wonderful piece of software, it's a true lifesaver. I have created a few simple scripts to use mouse clicks as triggers for keypresses for specific apps. But I have encountered a problem. Despite the #IfWinActive condition...

Go to advanced search