Search found 14 matches
- 16 Mar 2018, 15:01
- Forum: Ask for Help (v1)
- Topic: Command prompt opened by AutoHotkey doesn't detect SCSS/SASS system PATH variables, but regular CMD does
- Replies: 2
- Views: 1030
Re: Command prompt opened by AutoHotkey doesn't detect SCSS/SASS system PATH variables, but regular CMD does
Hey lexikos, thanks for taking the time to respond! I forgot I had made this post, but I ended up fixing this 100% by fully exiting my script and starting again. I can run my initial command without having to mess with EnvSet or anything like that. But you are right, I should have first tried ol' re...
- 09 Mar 2018, 13:20
- Forum: Ask for Help (v1)
- Topic: Command prompt opened by AutoHotkey doesn't detect SCSS/SASS system PATH variables, but regular CMD does
- Replies: 2
- Views: 1030
Command prompt opened by AutoHotkey doesn't detect SCSS/SASS system PATH variables, but regular CMD does
SOLVED: Restarting my script (NOT Reload) ended up fixing the problem, as it allowed AutoHotkey to retrieve the updated PATH. Restarting my system would have also fixed it, the classic "turn it off and back on again" stays strong as always. I am having a weird problem with AutoHotkey that I've neve...
- 23 Feb 2016, 19:39
- Forum: Ask for Help (v1)
- Topic: Want to copy a line of text with a "wildcard" in it (a number) then use that value to perform actions off of it
- Replies: 3
- Views: 1044
Re: Want to copy a line of text with a "wildcard" in it (a number) then use that value to perform actions off of it
Thank you so much, I seriously appreciate your help. I can't believe how simple that was... now I feel stupid. I'm going to start learning RegEx because it seems incredibly powerful and useful in many situations. In case anyone was wondering, this is how I made it work for the website: WinActivate, ...
- 23 Feb 2016, 17:17
- Forum: Scripts and Functions (v1)
- Topic: EitherMouse 0.8 - Multiple mice, individual settings...
- Replies: 392
- Views: 212023
Re: EitherMouse 0.64 - Multiple mice, individual settings...
Hey gwarble, if you are replying to me, here is what I'd like to do: I want my main mouse to be usable by me for whatever I feel like doing (browsing, gaming, and so forth). I have an AHK script that I run, and if possible, I'd like only the secondary cursor to be used by it. My script mostly involv...
- 23 Feb 2016, 17:10
- Forum: Ask for Help (v1)
- Topic: Want to copy a line of text with a "wildcard" in it (a number) then use that value to perform actions off of it
- Replies: 3
- Views: 1044
Want to copy a line of text with a "wildcard" in it (a number) then use that value to perform actions off of it
Hello everyone! I'm new to AHK for the most part, and have been piecing together things for a few small projects over time. Right now, I want to copy a line of text that is basically formatted as, "Watch X more videos" where X is the value I want to capture. I've seen Regex and I think that is how I...
- 12 Feb 2016, 23:26
- Forum: Scripts and Functions (v1)
- Topic: EitherMouse 0.8 - Multiple mice, individual settings...
- Replies: 392
- Views: 212023
Re: EitherMouse 0.64 - Multiple mice, individual settings...
Hello, I am not sure if I am misunderstanding or not but: 1) If I have two mice plugged in, can I have two cursors working at once? As in, I can use my main mouse for whatever I want to do normally, and the second mouse can be used by my Autohotkey script? 2) If the answer to my previous question is...
- 12 Feb 2016, 23:12
- Forum: Ask for Help (v1)
- Topic: Need Help Debugging - I Want to Save All of the Lines Run by my Script, as well as Contents of "ListVar"
- Replies: 1
- Views: 765
Need Help Debugging - I Want to Save All of the Lines Run by my Script, as well as Contents of "ListVar"
Hello everyone! So I've been working on a script lately that is working like 99.9% of the time. However, there is a very rare bug that I can't seem to pinpoint the cause (I'm assuming its because it happens while I am sleeping). I have been searching here on the forums as well as Google, and can't s...
- 02 Feb 2016, 12:35
- Forum: Ask for Help (v1)
- Topic: Playing game on first monitor - is it possible to do commands on second monitor?
- Replies: 2
- Views: 1288
Re: Playing game on first monitor - is it possible to do commands on second monitor?
Hey lifeweaver, thanks for the reply! I ended up doing this: searchForImage() if ErrorLevel = 0 { Random, smallRoll, 3000, 4000 Random, bigRoll, 25000, 30000 KeyWait Home BlockInput, On WinActivate, Browser Window Name Here MouseMove, %xMove%, %yMove% sleep, smallRoll Click, %xMove%, %yMove% BlockIn...
- 30 Jan 2016, 16:30
- Forum: Ask for Help (v1)
- Topic: Playing game on first monitor - is it possible to do commands on second monitor?
- Replies: 2
- Views: 1288
Playing game on first monitor - is it possible to do commands on second monitor?
Hello, I recently set up a script that is running really well while I don't have games running. Basically, it runs ImageSearch on my secondary monitor, and when it finds a match it clicks on a random spot over there. However, if I am playing a game, the script isn't able to move the mouse to my seco...
- 30 Dec 2015, 19:37
- Forum: Ask for Help (v1)
- Topic: Else statement for If(InStr(................) is Failing
- Replies: 5
- Views: 1565
Re: Else statement for If(InStr(................) is Failing
I figured it out! Thank you so much for your help, I really appreciate it. After tons of testing and slamming my head against the keyboard, here is the code that works (note, for the close tab code, part of it is an extension for Chrome allowing a hotkey to close all tabs to the right): SendMode Inp...
- 30 Dec 2015, 18:34
- Forum: Ask for Help (v1)
- Topic: Else statement for If(InStr(................) is Failing
- Replies: 5
- Views: 1565
Re: Else statement for If(InStr(................) is Failing
Thank you for getting back to me so quickly! Unfortunately, it is still getting the same error. I loaded it on a page that has at least a few of the strings I am searching for. The page and its contents were successfully copied to the clipboard; but it still closed that page instead of completing th...
- 30 Dec 2015, 17:26
- Forum: Ask for Help (v1)
- Topic: Else statement for If(InStr(................) is Failing
- Replies: 5
- Views: 1565
Re: Else statement for If(InStr(................) is Failing
Thank you for your response! I'm hoping it is something simple. I know my code is sloppy (first time making a script!) but I want to focus on getting this new feature working before I optimize. Right now, it does everything I want (except close a tab if it's contents do not match any of the strings)...
- 30 Dec 2015, 16:08
- Forum: Ask for Help (v1)
- Topic: Else statement for If(InStr(................) is Failing
- Replies: 5
- Views: 1565
Else statement for If(InStr(................) is Failing
Hello everyone! I have a script I've been working on for a few days (my first script ever!), and it is almost working perfectly. However, I tried adding a new feature but it isn't working as intended. Basically, the script copies the whole page and then searches through the text for certain strings....
- 29 Dec 2015, 17:23
- Forum: Ask for Help (v1)
- Topic: Trying to restart loop based on if certain conditions are met (and more)
- Replies: 1
- Views: 897