Search found 232 matches
- 27 Dec 2023, 14:26
- Forum: Ask for Help (v2)
- Topic: Windows environment variables
- Replies: 4
- Views: 380
Re: Windows environment variables
WordPaths := ["%ProgramFiles%\Microsoft Office\root\Office16\WINWORD.EXE", "%ProgramFiles(x86)%\Microsoft Office\root\Office16\WINWORD.EXE"] MsgBox(WordPaths[1]) MsgBox(WordPaths[2]) WordPaths := [A_ProgramFiles "\Microsoft Office\root\Office16\WINWORD.EXE", A_ProgramFiles "(x86)%\Microsoft Office\...
- 27 Dec 2023, 14:19
- Forum: Ask for Help (v2)
- Topic: How to delete all files that don't have a specific string in their name? Topic is solved
- Replies: 4
- Views: 515
Re: How to delete all files that don't have a specific string in their name? Topic is solved
Hello! This is doable with a file loop. You will need to alter this to what you need, but it would look something like this: Loop Files, "Z:\LTS File Input\*" { if (!RegExMatch(A_LoopFileName, "pattern", &found_Them)) { ; try FileDelete(A_LoopFileFullPath) MsgBox(A_LoopFileName " wouldve been delete...
- 23 Dec 2023, 14:10
- Forum: Ask for Help (v2)
- Topic: after a special barcode scan... the hotkey starts...
- Replies: 21
- Views: 2424
Re: after a special barcode scan... the hotkey starts...
Hello! Sorry about the delay, it seems Comcast Business Class ISP is blocking autohotkey.com. I do not have access to the tools to test this at home. You can hold up the function by putting at the end, before the return of the function.
Code: Select all
Sleep(15000) ; Sleep for 15 seconds.
- 20 Nov 2023, 09:07
- Forum: Ask for Help (v2)
- Topic: Arrays Help
- Replies: 8
- Views: 621
Re: Arrays Help
I was able to reproduce the error. I thought adding to the length of the array would fix it. I did not try push- while showing providing that option for others, I also like to show the "break down" of steps as well = What Push does in extending the array and adding to it. In this case it appears my...
- 20 Nov 2023, 06:43
- Forum: Ask for Help (v2)
- Topic: Arrays Help
- Replies: 8
- Views: 621
Re: Arrays Help
I was able to reproduce the error. I thought adding to the length of the array would fix it. I did not try push- while showing providing that option for others, I also like to show the "break down" of steps as well = What Push does in extending the array and adding to it. In this case it appears my ...
- 17 Nov 2023, 09:02
- Forum: Gaming
- Topic: I need help
- Replies: 7
- Views: 731
Re: I need help
I was able to reproduce what you are explaining with the disappearing; however, if I move the mouse it reappears. I am still getting Click() to go through. If I move the mouse off the window it clicks out of Notepad. The first script you posted looks fine, I didn't test it, and its for AutoHotkey Ve...
- 17 Nov 2023, 06:43
- Forum: Gaming
- Topic: world of warcraft player, Looking for Autofire
- Replies: 21
- Views: 2222
Re: world of warcraft player, Looking for Autofire
Sounds like a classic case of "hotkey sends the hotkey" issue. Simple fix is $ in front of each hotkey but that's not so simple to add to this script. The 2nd script all ready includes "$" where the hotkey function creates the hotkeys. As for the original script I posted, don't forget to add them t...
- 16 Nov 2023, 17:38
- Forum: Gaming
- Topic: I need help
- Replies: 7
- Views: 731
Re: I need help
If you need to test out some things, you can play around with the Click as needed. Information about it can be found here in the documentation. Below is a screen snippet of the examples of the Click() function clickexamples.PNG If you are still unable to get it to work, you can use the Send() functi...
- 16 Nov 2023, 14:33
- Forum: Gaming
- Topic: world of warcraft player, Looking for Autofire
- Replies: 21
- Views: 2222
Re: world of warcraft player, Looking for Autofire
I used https://github.com/mmikeww/AHK-v2-script-converter to convert the script you posted. I then edited it to make it work. Here is the result: A_HotkeyInterval := 20 ; This is the default value (milliseconds). A_MaxHotkeysPerInterval := 20000 ; To add a new key to the script, add it to this array...
- 16 Nov 2023, 12:11
- Forum: Ask for Help (v2)
- Topic: Generate Random Number from multiple ranges
- Replies: 10
- Views: 823
Re: Generate Random Number from multiple ranges
What you have been given is marvelous. Thank you mikeyww 1 As for combining variables, you certainly can. Here is a working version of the original post. "eset" needed to be delcared, so I declared it as a string... "eset". A message box displays the variable echoice. Another message box displays th...
- 16 Nov 2023, 11:23
- Forum: Gaming
- Topic: world of warcraft player, Looking for Autofire
- Replies: 21
- Views: 2222
Re: world of warcraft player, Looking for Autofire
I see now that this isn't what you mean and later today I can provide something closer to your description. To make sure everything is addressed, though: Sorry I missed that part in the original post. That can be done be adding or changing a check for the toggle state of CapsLock (or you can change ...
- 15 Nov 2023, 18:52
- Forum: Ask for Help (v2)
- Topic: Overlay with Gradient/Feather/Fade Topic is solved
- Replies: 3
- Views: 488
Re: Overlay with Gradient/Feather/Fade Topic is solved
Thank you both very much for your time ^.^
- 15 Nov 2023, 13:43
- Forum: Gaming
- Topic: I need help
- Replies: 7
- Views: 731
Re: I need help
Hello and welcome. #Requires AutoHotkey v2.0+ #SingleInstance force ; ------------------------- ; ------------------------- ; ------------------------- ; ------------------------- ; ------------------------- ; ------------------------- ; ------------------------- ; ------------------------- ; ------...
- 15 Nov 2023, 13:33
- Forum: Ask for Help (v2)
- Topic: Overlay with Gradient/Feather/Fade Topic is solved
- Replies: 3
- Views: 488
Overlay with Gradient/Feather/Fade Topic is solved
I thought it would be rather simple, but I am unable to get anything more than the screenshot I posted. (glowcut.png) glowcut.png I want the sides of the screen to flash red as a warning with a fade. I created PNGs in photoshop and illustrator with transparencies with little success in getting rid o...
- 14 Nov 2023, 06:59
- Forum: Gaming
- Topic: world of warcraft player, Looking for Autofire
- Replies: 21
- Views: 2222
Re: world of warcraft player, Looking for Autofire
The lines that you added to what I provided are giving you and error because you are trying to set send mode to that of a variable called Input, which is not created. In version 2 of AutoHotkey, things are assumed to be expression, and so literal text must be quoted. In this case, you want a literal...
- 13 Nov 2023, 14:26
- Forum: Gaming
- Topic: world of warcraft player, Looking for Autofire
- Replies: 21
- Views: 2222
- 13 Nov 2023, 07:24
- Forum: Ask for Help (v2)
- Topic: Send Text to Minimised Window (Discord)
- Replies: 4
- Views: 479
Re: Send Text to Minimised Window (Discord)
This works when Discord is the active window. However, when minimised, the script appears to wait until Discord becomes the active window again. I would like to be able to freely use my computer while it runs in the background. You can still use your computer with Discord in the background without ...
- 13 Nov 2023, 06:57
- Forum: Ask for Help (v2)
- Topic: Send Text to Minimised Window (Discord)
- Replies: 4
- Views: 479
Re: Send Text to Minimised Window (Discord)
I was able to reproduce the problem. Sadly none of the fixes I tried got anything to work; not with control send or other alternative methods.
- 13 Nov 2023, 06:40
- Forum: Gaming
- Topic: world of warcraft player, Looking for Autofire
- Replies: 21
- Views: 2222
Re: world of warcraft player, Looking for Autofire
You may need to change the #HotIf statement to match your window title. #Requires AutoHotkey v2.0 #SingleInstance Force #HotIf WinActive("World of Warcraft") ~1:: ~2:: ~3:: ~4:: ~5:: ~6:: { hit_Key := LTrim(A_ThisHotkey, "~") while (GetKeyState(hit_Key, "P")) { Send(hit_Key) Sleep(50) } return }
- 10 Nov 2023, 13:52
- Forum: Gaming
- Topic: MineSweeper Game
- Replies: 3
- Views: 1126
Re: MineSweeper Game
I enjoyed it ^.^