Search found 710 matches

by scriptor2016
10 Jan 2021, 01:09
Forum: Gaming
Topic: PixelSearch Not Working, Please Help
Replies: 4
Views: 75

Re: PixelSearch Not Working, Please Help

try adding

Code: Select all

coordmode, pixel, screen
to the top of the script
by scriptor2016
09 Jan 2021, 23:57
Forum: Ask For Help
Topic: Help With SoundGet/SoundSet
Replies: 18
Views: 188

Re: Help With SoundGet/SoundSet

alright awesome haha.

yeah just remember as you plug in/out additional USB devices the mixer number will probably change so you'll have to go through the whole scenario again to retrieve that ID number.
by scriptor2016
09 Jan 2021, 23:47
Forum: Ask For Help
Topic: Help With SoundGet/SoundSet
Replies: 18
Views: 188

Re: Help With SoundGet/SoundSet

My mixer number changes every time I plug in/out some kind of a USB device. All the numbers shift when this happens. I don't know if it happens when plugging in/unplugging audio cables into the back of the PC (line in, line out, etc) - I don't think that affects it though. Just USB devices. But reme...
by scriptor2016
09 Jan 2021, 23:28
Forum: Ask For Help
Topic: Help With SoundGet/SoundSet
Replies: 18
Views: 188

Re: Help With SoundGet/SoundSet

Yeah my headphones are the default, which is what I want ok, I'm wondering if this might be the issue. Are you able to switch the default audio device to just 'speakers' for a minute? We're looking for the 'Speakers' option which will reflect the soundcard that your computer has installed for examp...
by scriptor2016
09 Jan 2021, 23:27
Forum: Ask For Help
Topic: Help With SoundGet/SoundSet
Replies: 18
Views: 188

Re: Help With SoundGet/SoundSet

don't worry about any of the previous scripts in this topic, the following one should work just fine once we solve the issue:

Code: Select all

x::
SoundSet, +1, line, mute
by scriptor2016
09 Jan 2021, 23:19
Forum: Ask For Help
Topic: Help With SoundGet/SoundSet
Replies: 18
Views: 188

Re: Help With SoundGet/SoundSet

try replacing the word 'line' with any of the following: MASTER, DIGITAL, LINE, MICROPHONE, SYNTH, CD, TELEPHONE, PCSPEAKER, WAVE, AUX, ANALOG, HEADPHONES, or N/A the problem for me was that it didn't work at first either. It took a good half hour or so of messing around with the audio properties be...
by scriptor2016
09 Jan 2021, 21:12
Forum: Ask For Help
Topic: Help With SoundGet/SoundSet
Replies: 18
Views: 188

Re: Help With SoundGet/SoundSet

I think what was causing the confusion on my end was the 2 instances of 'line in' in the audio properties of Windows. I think I was targeting the wrong one here. In the sound properties, in order for this to work, I go into the 'Playback' tab, not the 'Recording' tab. And in the Playback tab, a gree...
by scriptor2016
09 Jan 2021, 20:17
Forum: Ask For Help
Topic: Help With SoundGet/SoundSet
Replies: 18
Views: 188

Re: Help With SoundGet/SoundSet

ok, this is working for me:

Code: Select all

x::
SoundSet, +1, line, mute
each time x is pressed, it mutes or un-mutes the line in depending on its current state. But I must admit I had to play around with my PC's audio settings quite a bit in order for it to finally work...
by scriptor2016
09 Jan 2021, 20:13
Forum: Ask For Help
Topic: Help With SoundGet/SoundSet
Replies: 18
Views: 188

Re: Help With SoundGet/SoundSet

ok hang on let me take a look..
by scriptor2016
09 Jan 2021, 13:38
Forum: Ask For Help
Topic: Help With SoundGet/SoundSet
Replies: 18
Views: 188

Re: Help With SoundGet/SoundSet

I've gone through this many times myself. The first thing to do is set the volume of your headphones (in the Volume properties on your PC) to somewhere around, say 75% (give or take). Then, run the script below. A window will pop up with any audio devices attached to your computer. Under the 'Settin...
by scriptor2016
02 Jan 2021, 22:09
Forum: Offtopic
Topic: Can you imagine life without AHK? I can't.
Replies: 9
Views: 718

Re: Can you imagine life without AHK? I can't.

I've transformed my Windows setup so much that I honestly have forgotten how to use a stock Windows system now
by scriptor2016
02 Jan 2021, 22:05
Forum: Offtopic
Topic: YouTube Ads
Replies: 14
Views: 2728

Re: YouTube Ads

YouTube has really stepped up their ad game and it is indeed out of control. It's near unbearable now. I don't know if this is common knowledge or not, but I'm now using nsfwyoutube.com to destroy all ads. If this is the link to your video: https://www.youtube.com/watch?v=gVKEM4K8J8A then remove eve...
by scriptor2016
25 Dec 2020, 15:34
Forum: Ask For Help
Topic: A script to detect when a window opens
Replies: 3
Views: 117

Re: A script to detect when a window opens

when you speak the command, the GUI containing the input box opens, is this correct? If so, you could then perhaps use winactivate to activate it - it may be that simple. So in other words, when you say the word, have it trigger an .ahk script which waits for the GUI with the inputbox to exist (usin...
by scriptor2016
05 Dec 2020, 14:11
Forum: Ask For Help
Topic: Creating gui buttons where cursor is at
Replies: 30
Views: 1040

Re: Creating gui buttons where cursor is at

I added a little more to this: height := width := 200 rows := cols := 5 buttonWidth := Round(width / cols) CoordMode, Mouse, Client Gui, Font, s9 Gui -DPIScale +AlwaysOnTop Increment := 0 Show: Gui, Show, w%width% h%height%, Test Return #IfWinActive Test ~LButton:: MouseGetPos,,, ControlID, OutputVa...
by scriptor2016
05 Dec 2020, 14:01
Forum: Ask For Help
Topic: Creating gui buttons where cursor is at
Replies: 30
Views: 1040

Re: Creating gui buttons where cursor is at

that works too. How would we make those buttons colored? I tried using a ProgressBar because it could mimick a button while also allowing for colors to be used.
by scriptor2016
05 Dec 2020, 13:38
Forum: Ask For Help
Topic: Creating gui buttons where cursor is at
Replies: 30
Views: 1040

Re: Creating gui buttons where cursor is at

really really nice. I could imagine being prompted to select a color and name for each new cube (progress bar) added, and then adding that name font and color to the button/progress bar (or, also allow for no name to be added if preferred and just leave it as a colored cube with its own incremented ...
by scriptor2016
05 Dec 2020, 13:18
Forum: Ask For Help
Topic: Creating gui buttons where cursor is at
Replies: 30
Views: 1040

Re: Creating gui buttons where cursor is at

That's working nicely. I've tried to add an increasing variable each time a Progress Bar is added (look at the "Increment" variable I added), but it is throwing an error message. I think it's also because of the use of quotation marks/percentage symbols on that one line: height := width := 200 rows ...
by scriptor2016
05 Dec 2020, 12:54
Forum: Ask For Help
Topic: Creating gui buttons where cursor is at
Replies: 30
Views: 1040

Re: Creating gui buttons where cursor is at

I'll check out the adjustment in a second!

I have a question. Instead of buttons, how could we make them progress bars? I tried the following but it isn't doing anything:

Code: Select all

Gui, Add, Progress, % "x" pos.x " y" pos.y " w" buttonWidth " h" buttonWidth vVariable01 Backgroundcc9933
by scriptor2016
05 Dec 2020, 12:36
Forum: Ask For Help
Topic: Creating gui buttons where cursor is at
Replies: 30
Views: 1040

Re: Creating gui buttons where cursor is at

wow, this is completely awesome. There are so many things this can be used for (create buttons for any task, or maybe use the buttons as colored 'swatches' for graphics programs, etc). Really nice. Love the soundbeep, too (never heard this particular one before!) I'm going to keep adding to this to ...
by scriptor2016
05 Dec 2020, 01:36
Forum: Ask For Help
Topic: Creating gui buttons where cursor is at
Replies: 30
Views: 1040

Re: Creating gui buttons where cursor is at

Even though I've been using AHK for quite a few years now, I'm still just a casual user. I don't use it enough/on a daily basis to become swift at it. Although the winter time proves to be the season that I stay indoors more and practice it a lot more. But that usually goes out the window soon as su...

Go to advanced search