Search found 29 matches
- 15 Feb 2021, 10:03
- Forum: Scripts and Functions (v1)
- Topic: Send audio to specific sound device without libraries or complicated code
- Replies: 2
- Views: 1967
Send audio to specific sound device without libraries or complicated code
This solution is simple and wonderful (and complete) for anyone hoping to easily make a soundboard-type script. It has less to do with AutoHotkey specifically and more to do with using Windows 10 and the Virtual Audio Cable driver to simplify what other people accomplished with VLC commands and mpla...
- 10 Feb 2021, 17:14
- Forum: About This Community
- Topic: Issues with registering, Post your username here...
- Replies: 865
- Views: 2081716
Re: Issues with registering, Post your username here...
I'm quite sure mine isn't an issue with registering, but I am unable to share my working script on the Scripts and Functions board. I think it's related to this error that I get. https://i.imgur.com/0s54slQ.png Is there something that I missed? I tried making a test draft message and then loading th...
- 13 Dec 2016, 17:08
- Forum: Ask for Help (v1)
- Topic: Detect day_of_week, then do something about it
- Replies: 3
- Views: 752
Re: Detect day_of_week, then do something about it
Woah, okay. That's way simpler. I have much more research to do to simplify my code. Thanks all!
- 13 Dec 2016, 15:47
- Forum: Ask for Help (v1)
- Topic: Detect day_of_week, then do something about it
- Replies: 3
- Views: 752
Detect day_of_week, then do something about it
Hello again! It's been a long time, and I've finally got one worthy of a post. I have a piece of code that builds an email for me for work with cookie-cutter pleasantries at the beginning and end. I'm hoping to make it a little less robotic . This is the part giving me issues right now. #persistent ...
- 05 Sep 2016, 13:04
- Forum: Ask for Help (v1)
- Topic: Settimer to detect specific windows
- Replies: 8
- Views: 2460
Re: Settimer to detect specific windows
I have 2 timers running, though one of them has not had the opportunity to run yet. The other (basically copying your text exactly) is working every bit as well as it did stand-alone. I'll reply once I find out if the other works too! I have about 8 things I'd like this to detect in the end and this...
- 31 Aug 2016, 09:07
- Forum: Ask for Help (v1)
- Topic: Settimer to detect specific windows
- Replies: 8
- Views: 2460
Re: Settimer to detect specific windows
Note: When I have only one running at a time in a loop it works perfectly. I'm merely struggling with combining several scripts into a single one to detect 2 (or eventually like 6) things.
- 29 Aug 2016, 17:03
- Forum: Ask for Help (v1)
- Topic: Settimer to detect specific windows
- Replies: 8
- Views: 2460
Re: Settimer to detect specific windows
Didn't get around to testing this until now. I am at work, after all... The code I have above is as correct as I can think of, and it asks me to enter my credentials now. It does not detect the windows though. I suspect it has to do with winwait, but I don't know.
- 26 Aug 2016, 10:46
- Forum: Ask for Help (v1)
- Topic: Settimer to detect specific windows
- Replies: 8
- Views: 2460
Re: Settimer to detect specific windows
Thanks, I was wondering about that. Hadn't gotten around to trying it (I will now though). Otherwise, it looks like it should be looking for both windows simultaneously? I'll test it now. New code looks like this: #persistent SetTitleMatchMode, 2 InputBox, UserVar, Username Please, Give me your user...
- 26 Aug 2016, 08:58
- Forum: Ask for Help (v1)
- Topic: Settimer to detect specific windows
- Replies: 8
- Views: 2460
Settimer to detect specific windows
In my job I have a lot of programs that pop up asking me to sign back in or to click OK to avoid session timeout. It's obnoxious, so I've made a couple looping scripts that work flawlessly. What I'd like to do is combine them into a single script detecting several windows with individual commands co...
- 05 May 2016, 13:32
- Forum: Ask for Help (v1)
- Topic: [Resolved] Play a .wav file when I press F9
- Replies: 3
- Views: 1895
Re: Play a .wav file when I press F9
I figured it out!! My issue was the wav files themselves: I made 32-bit .wav files rather than 16-bit .wav files.
- 05 May 2016, 13:28
- Forum: Ask for Help (v1)
- Topic: [Resolved] Play a .wav file when I press F9
- Replies: 3
- Views: 1895
Re: Play a .wav file when I press F9
This reads ErrorLevel 1.
Is there a way to know if this is a syntax error versus some other kind?
Is there a way to know if this is a syntax error versus some other kind?
- 05 May 2016, 10:37
- Forum: Ask for Help (v1)
- Topic: [Resolved] Play a .wav file when I press F9
- Replies: 3
- Views: 1895
[Resolved] Play a .wav file when I press F9
It's Cinco de Mayo, and I broke up part of the Mexican Hat Dance into 4 sound files. I hid a bluetooth speaker in the office, and I plan on playing the song every now and then to bother the hell out of everyone at work. 8-) Unfortunately, I am unable to make it work. F8:: SoundSetWaveVolume, 100 Msg...
- 18 Mar 2016, 13:31
- Forum: Ask for Help (v1)
- Topic: Mouse Maze
- Replies: 1
- Views: 569
Mouse Maze
So I made a script to move the mouse around obnoxiously. It's terrible, and I love it. :trollface: #persistent Loop { random, X, -10, 10 random, Y, -10, 10 MouseMove, X, Y, 5, R } ^Esc::run taskkill /IM MouseMove.exe I think it would be sweet if I could get it to navigate a maze like this one: Maze1...
- 26 Feb 2016, 14:44
- Forum: Ask for Help (v1)
- Topic: Distinguish one popup from another
- Replies: 14
- Views: 3341
Re: Distinguish one popup from another
IT WORKS!!!!!!!!!!!!!
It doesn't seem to matter if it's Chrome nor IE. I'll even test it in Opera and Firefox just to see.
Thank you so much!
It doesn't seem to matter if it's Chrome nor IE. I'll even test it in Opera and Firefox just to see.
Thank you so much!
- 26 Feb 2016, 14:26
- Forum: Ask for Help (v1)
- Topic: Distinguish one popup from another
- Replies: 14
- Views: 3341
Re: Distinguish one popup from another
I am trying now. I also notice that even my previously posted success is limited: It only works right away. Even though it is persistent, it only actually does anything at the beginning. For testing purposes I threw a message box in the script too. This way I can tell if it detects the window and ju...
- 26 Feb 2016, 14:08
- Forum: Ask for Help (v1)
- Topic: Distinguish one popup from another
- Replies: 14
- Views: 3341
Re: Distinguish one popup from another
Good news!! The first part of my script works! If in Chrome, the following script will press OK on the page: Loop { WinWait, ahk_class Chrome_WidgetWin_1 WinGetTitle, Title, IfInString, Title, Timeout Warning { WinActivate, ; May or may not be necessary Send {Tab}{Enter} } Else { return } return } I...
- 26 Feb 2016, 13:57
- Forum: Ask for Help (v1)
- Topic: Distinguish one popup from another
- Replies: 14
- Views: 3341
Re: Distinguish one popup from another
Though I censored anything that I could think of as being identifiable, I think this might be useful to this situation. This is the popup itself: <html dir='ltr' lang="en"><head><title>Timeout Warning. Click OK to not end the session.</title> <link rel="stylesheet" href="/cs/censored/cache/PSSTYLEDE...
- 26 Feb 2016, 13:10
- Forum: Ask for Help (v1)
- Topic: Distinguish one popup from another
- Replies: 14
- Views: 3341
Re: Distinguish one popup from another
So I tried Loop { WinWait, ahk_class Chrome_WidgetWin_1 WinGetTitle, Title, IfInString, Title, Timeout Warning { WinActivate, ; May or may not be necessary Send {Tab}{Enter} } Else { return } return } Loop { WinWait, ahk_class IEFrame WinGetTitle, Title, IfInString, Title, Timeout Warning { WinActiv...
- 26 Feb 2016, 12:03
- Forum: Ask for Help (v1)
- Topic: Run a script as soon as the Last Modified date changes
- Replies: 2
- Views: 848
Run a script as soon as the Last Modified date changes
Is there a way to check a file's modify date and to execute a command as soon as it changes? Basically we have a powerpoint presentation that is stored on a computer and is always presenting. My code would probably look like this: Loop { Check file date = VarA If VarA ≠ VarB run taskkill /IM pptview...
- 24 Feb 2016, 15:28
- Forum: Ask for Help (v1)
- Topic: Harmless Prank
- Replies: 3
- Views: 1128
Re: Harmless Prank
I'm only just learning ahk, and it seemed to work. This is much more concise. Thank you. It is working much better than the oth:Dr way.