Search found 84 matches
- 02 Dec 2022, 00:17
- Forum: Ask for Help (v1)
- Topic: Hotkey WheelUp only works on webapps Topic is solved
- Replies: 7
- Views: 541
Re: Hotkey WheelUp only works on webapps Topic is solved
It sounds like a software conflict of some kind. Would close all tray-resident programs, keyboard and mouse utilities, clipboard managers, etc. If you installed Logitech or Kensington software, Razer, X-Mouse, etc., uninstall. Check Task Manager to see what is running. Use AHK version 1.1.35.00. Ca...
- 01 Dec 2022, 22:48
- Forum: Ask for Help (v1)
- Topic: Hotkey WheelUp only works on webapps Topic is solved
- Replies: 7
- Views: 541
Re: Hotkey WheelUp only works on webapps Topic is solved
"Elevated" meaning with special rights or privileges under Microsoft Windows. An initial easy test would be to use Notepad as your target window, and test there first. If it doesn't work, switch to a different hotkey, and see if that works. If that does work, then it might mean that some other prog...
- 01 Dec 2022, 22:32
- Forum: Ask for Help (v1)
- Topic: EZViz defeats AHK actions
- Replies: 3
- Views: 339
Re: EZViz defeats AHK actions
Confusing info, redundant info In this situations I would posted a gif of the problem in action to give context easier because its hard to understand, I use ShareX to do gifs on the screen All I understand is that inside a program you can't click, mousemove or send, and that in full screen does not ...
- 01 Dec 2022, 22:13
- Forum: Ask for Help (v1)
- Topic: Hotkey WheelUp only works on webapps Topic is solved
- Replies: 7
- Views: 541
Re: Hotkey WheelUp only works on webapps Topic is solved
It's just you, your elevated windows, games that block scripting, and your other hotkeys that are active at the same time! And it could be me, but not just me. :lol: -I don't have games in this pc, so is not that -I suspect that could be conflicts with others scripts so I already closed them all, s...
- 01 Dec 2022, 21:57
- Forum: Ask for Help (v1)
- Topic: Hotkey WheelUp only works on webapps Topic is solved
- Replies: 7
- Views: 541
Hotkey WheelUp only works on webapps Topic is solved
Hi!
Why an empty script with just this does not work?
only works when webapps are in focus(chrome, discord, github desktop, trello, skype)
or its just me?
Thanks!
Why an empty script with just this does not work?
Code: Select all
WheelUp::MsgBox, a
or its just me?
Thanks!
- 21 Jun 2022, 23:09
- Forum: Ask for Help (v1)
- Topic: How to properly automate "Save as..." window? Topic is solved
- Replies: 5
- Views: 766
Re: How to properly automate "Save as..." window? Topic is solved
It works on mine. Those are the names of my controls both pre-click and post-click. Use the Window Spy tool to see what it is on hover and after you click in it for your window.. Thanks for your help!!, in case anyone sees this in the future this is what worked for me: save_path := "C:\Users\adria\...
- 21 Jun 2022, 22:35
- Forum: Ask for Help (v1)
- Topic: How to properly automate "Save as..." window? Topic is solved
- Replies: 5
- Views: 766
Re: How to properly automate "Save as..." window? Topic is solved
Try this: ControlClick, ToolbarWindow324, ahk_class #32770 ControlSetText, Edit2, C:\Program Files, ahk_class #32770 ; use a path that exists and you can write to ControlSend, Edit2, {Enter}, ahk_class #32770 ControlSetText, Edit1, Hello.txt, ahk_class #32770 So by your code, first I need to focus ...
- 21 Jun 2022, 21:53
- Forum: Ask for Help (v1)
- Topic: How to properly automate "Save as..." window? Topic is solved
- Replies: 5
- Views: 766
How to properly automate "Save as..." window? Topic is solved
Hi!! I'm trying to automate the generic "Save as..." window https://i.imgur.com/RQUa66O.png What is the best way to change the save location? Until now i'm just clicking on the location bar and sending the keystrokes to the directory but that breaks a lot I'm wondering if someone knows a better way?...
- 17 Jun 2022, 21:44
- Forum: Ask for Help (v1)
- Topic: I'm not using right ControlGetPos Topic is solved
- Replies: 3
- Views: 401
- 17 Jun 2022, 21:27
- Forum: Ask for Help (v1)
- Topic: I'm not using right ControlGetPos Topic is solved
- Replies: 3
- Views: 401
I'm not using right ControlGetPos Topic is solved
Hi!! I'm stuck trying to get a control position and dimensions ControlGetFocus, activeControl, ahk_class TFruityLoopsMainForm MsgBox, %activeControl% ; ======> the content of this MsgBox is a string, the classNN ControlGetPos, pos_x, pos_y, Width, Height, %activeControl% MsgBox, %pos_x% ; ==========...
- 02 May 2022, 22:14
- Forum: Ask for Help (v1)
- Topic: How to point tho the rigth Gui
- Replies: 3
- Views: 270
How to point tho the rigth Gui
Hello everybody! I have a script with 2 guis, Gui A and Gui B: -When im on Gui A if I press escape I want to doSomething() -When im on Gui B if I press escape I want nothing to happen I should use a WinTitle in #IfWinActive to point to Gui A: #IfWinActive, WinTitle_of_Gui_A esc::doSomething() #If bu...
- 30 Apr 2022, 17:34
- Forum: Ask for Help (v1)
- Topic: How do I get a %A_LoopField% inside another variable? Topic is solved
- Replies: 3
- Views: 351
Re: How do I get a %A_LoopField% inside another variable? Topic is solved
It was so obvious *big facepalm*JoeWinograd wrote: ↑30 Apr 2022, 17:31You want this:adrian88888888 wrote:driverLetter := %A_LoopField%
I suggest that you study Variables and Expressions:Code: Select all
driverLetter := A_LoopField
https://www.autohotkey.com/docs/Variables.htm
Regards, Joe
Yes I will, thanks!
- 30 Apr 2022, 17:07
- Forum: Ask for Help (v1)
- Topic: How do I get a %A_LoopField% inside another variable? Topic is solved
- Replies: 3
- Views: 351
How do I get a %A_LoopField% inside another variable? Topic is solved
For example this works: PrintDrives(){ DriveGet, DriveLetters, List Loop, Parse, DriveLetters { MsgBox, %A_LoopField% } } but this does not work: PrintDrives(){ DriveGet, DriveLetters, List Loop, Parse, DriveLetters { driverLetter := %A_LoopField% MsgBox, %driverLetter% ; the MsgBox shows nothing, I...
- 20 Apr 2022, 22:41
- Forum: Ask for Help (v1)
- Topic: deconflict global hotkeys
- Replies: 5
- Views: 297
Re: deconflict global hotkeys
I think it's because you don't know that you have to close the #If #If WinActive("ahk_exe WhatsApp.exe") || WinActive("ahk_title WhatsApp - Google Chrome") ; may be missing "ahk_title"? f1::^+f #If ; remember to close the #If's, it's like the brackets in a normal if #If WinActive("ahk_exe Evernote.e...
- 20 Apr 2022, 22:28
- Forum: Ask for Help (v1)
- Topic: Can I use Autohotkey to do this? Topic is solved
- Replies: 1
- Views: 228
Re: Can I use Autohotkey to do this? Topic is solved
WinWait waits for a window to appear, in this case the "Dealing..." window So first you need a pointer to the "Dealing..." window: https://www.autohotkey.com/docs/misc/WinTitle.htm and then use the WinWait: https://www.autohotkey.com/docs/commands/WinWait.htm something like this: WinWait, ahk_title ...
- 20 Apr 2022, 22:10
- Forum: Ask for Help (v1)
- Topic: Help with Neutron
- Replies: 1
- Views: 238
Help with Neutron
Hii!!! Im doing GUIs with Neutron, im trying to get the content of all buttons: Code: ... all_buttons:= neutron.wnd.getElementsByTagName("button") msgbox, % all_buttons.MaxIndex() ... But that code gives me an error: Error: 0x80020006 - Unknown name. Specifically: getElementsByTagName Someone has an...
- 16 Nov 2021, 19:13
- Forum: Ask for Help (v1)
- Topic: How do I archive this?
- Replies: 4
- Views: 770
Re: How do I archive this?
I prefer using caps lock because you have a light in your keyboard that indicates when its activated, universal across pc's and no need for more information on screen...also gives an actual use to the caps lock... also I forget shortcuts all the time and then I don't use them because of that, so I p...
- 16 Nov 2021, 15:54
- Forum: Ask for Help (v1)
- Topic: How do I archive this?
- Replies: 4
- Views: 770
How do I archive this?
What I have: In my script if I turn on caps lock all the keys of the keyboard does another thing instead of typing keys, for example: #If CapsLockIsPressed() 1::GoToDesktop(1) 2::GoToDesktop(2) 3::GoToDesktop(3) 4::GoToDesktop(4) p::OpenControlPanel() ... #If What i'm trying to do: With caps lock a...
- 21 Oct 2021, 17:47
- Forum: Scripts and Functions (v1)
- Topic: [Class] WinHook
- Replies: 53
- Views: 23717
Re: [Class] WinHook
The notepad example does not work
It used to work
Even here does not work when they try to activate notepad: https://youtu.be/ysZbOzuBb1Q?t=1614
It used to work
Even here does not work when they try to activate notepad: https://youtu.be/ysZbOzuBb1Q?t=1614
- 15 Oct 2021, 13:33
- Forum: Ask for Help (v1)
- Topic: How to move a control? Topic is solved
- Replies: 2
- Views: 548
Re: How to move a control? Topic is solved
Control: Can be either ClassNN (the classname and instance number of the control) or the control's text, both of which can be determined via Window Spy. When using text, the matching behavior is determined by SetTitleMatchMode. If this parameter is blank, the target window's topmost control will be...