Search found 538 matches

by scriptor2016
01 Dec 2019, 20:52
Forum: Ask For Help
Topic: Find DeviceNumber of Audio Device Name. How?
Replies: 3
Views: 163

Re: Find DeviceNumber of Audio Device Name. How?

This mutes/unmutes your "Speakers" - which corresponds with the word MASTER in the code below z:: soundset, +1,MASTER,MUTE return to mute/unmute other devices, change the word MASTER to the proper word which matches the device you wish to control. The list is under "Control Type". The list is found ...
by scriptor2016
29 Nov 2019, 23:12
Forum: Ask For Help
Topic: how to turn on off stereo mix in windows 7?
Replies: 2
Views: 135

Re: how to turn on off stereo mix in windows 7?

what do you mean by stereo mix? if you mean your system's main volume, then pressing q with this code will toggle the system volume on and off. q:: soundset, +1,MASTER,MUTE return if stereo mix refers to your soundcard's line in, then use this code instead: q:: soundset, +1,LINE,MUTE return
by scriptor2016
29 Nov 2019, 21:12
Forum: Offtopic
Topic: YouTube Ads
Replies: 3
Views: 279

YouTube Ads

Just wondering what everyone's opinion on YouTube ads are - is finding a way to stop them a losing battle? I've used various techniques in the past to stop the ads, and some of these techniques indeed worked for a period of time. There was a small app called Privoxy and when it was run in the backgr...
by scriptor2016
29 Nov 2019, 20:55
Forum: Ask For Help
Topic: A life saving request Topic is solved
Replies: 2
Views: 172

Re: A life saving request Topic is solved

run this code and then press z at the point where you would have pressed tab for the first time z:: sleep=150 sendinput {tab 5} sleep, %sleep% sendinput ^v sleep, %sleep% sendinput {enter} sleep, %sleep% sendinput ^w sleep, %sleep% sendinput {tab} sleep, %sleep% sendinput, {enter} sleep, %sleep% sen...
by scriptor2016
26 Nov 2019, 00:59
Forum: Ask For Help
Topic: Need help with selected script from drop down list
Replies: 2
Views: 131

Re: Need help with selected script from drop down list

Script_A="C:\MyScript.ahk" ;enter your script location here Script_B="C:\MyOtherScript.ahk" ;enter your other script location here Gui, Show , w140 h85, Window title Gui, Add, Text, x25 y10 w90 Center,Select Below: Gui, Add, DropDownList, x10 vSelection, Script1|Script2 Gui, Add, Button, x55 y55 de...
by scriptor2016
26 Nov 2019, 00:29
Forum: Ask For Help
Topic: Change GUI button color on click
Replies: 4
Views: 145

Re: Change GUI button color on click

and yet another similar example from the forums: ;- Color button changes to RED/GREEN ON/OFF #warn Modified=20130110 Filename1=Color_Button_Test setworkingdir,%a_scriptdir% Gui,2:Font,Cdefault,Fixedsys Gui,2:Color,Black z:="" Gui,2:Add,Progress, x10 y20 w100 h23 Disabled BackgroundRed vC2 Gui,2:Add,...
by scriptor2016
26 Nov 2019, 00:25
Forum: Ask For Help
Topic: Change GUI button color on click
Replies: 4
Views: 145

Re: Change GUI button color on click

probably not exactly what you're looking for but maybe the this code can help you move towards what you want. YoucefHam, just me and Wolf_II came up with the majoroty of this code a while ago when I had asked for help, so I figured you might also benefit from it: #singleinstance force #NoEnv ;~ Gui ...
by scriptor2016
25 Nov 2019, 23:59
Forum: Ask For Help
Topic: GetPixelColor - problem with visibility
Replies: 8
Views: 187

Re: GetPixelColor - problem with visibility

does this work:

Code: Select all

F2::	
loop{	
IfWinActive, xxx ; ill add window later
Sleep 10
           
PixelGetColor, 414E69, 1849, 146
If ErrorLevel = 0
{
Send {F1}
Sleep 10
}
else
break
}
return



F3::Pause
by scriptor2016
23 Nov 2019, 17:42
Forum: Ask For Help
Topic: Irregular Mousebutton Operation
Replies: 1
Views: 136

Re: Irregular Mousebutton Operation

So I've been playing around with this all afternoon. Certainly looks like a hardware issue; one that I haven't seen before. On the Wacom Express Remote, I have one of the buttons set to {space} so, with the following code, the toolitp acts properly, both when pressing and holding {space} on the keyb...
by scriptor2016
22 Nov 2019, 23:50
Forum: Ask For Help
Topic: Irregular Mousebutton Operation
Replies: 1
Views: 136

Irregular Mousebutton Operation

this is the code: q:: getkeystate, bd, q, P tooltip, %bd% return I have a Logitech mouse, and a Wacom mouse. Both have a key set to Q When I press and hold Q on the Logitech, the messagebox says D But when I press and hold Q on the Wacom, the messagebox says U The Wacom mouse is not recognising when...
by scriptor2016
22 Nov 2019, 01:37
Forum: Ask For Help
Topic: Two Listviews? Topic is solved
Replies: 2
Views: 170

Re: Two Listviews? Topic is solved

Add Gui 2: Default at the top of your code (where you are adding your second GUI) - see below: #SingleInstance, force ListA = ( ABC DEF GHI ) listB = ( 123 456 789 ) Gui, +AlwaysOnTop Gui, Add, Edit,, Gui, Add, ListView, w200, Name loop, parse, listA, `n { ;~ MsgBox, 0x1000,, % A_LoopField LV_Add(""...
by scriptor2016
16 Nov 2019, 18:53
Forum: Ask For Help
Topic: Hotkey Cancellation If Pressed Multiple Times
Replies: 2
Views: 1551

Re: Hotkey Cancellation If Pressed Multiple Times

awesome, thank you. I'm going to look into these options tonight
by scriptor2016
16 Nov 2019, 15:35
Forum: Ask For Help
Topic: Hotkey Cancellation If Pressed Multiple Times
Replies: 2
Views: 1551

Hotkey Cancellation If Pressed Multiple Times

Hi, no need for any help here - just looking to learn something new. If a hotkey is pressed and then its operation takes a few seconds to carry out (say for example:) d:: sendinput, hello sleep, 500 sendinput, goodbye sleep, 500 return what typically happens if that same hotkey is quickly pressed ma...
by scriptor2016
16 Nov 2019, 15:29
Forum: Ask For Help
Topic: Read Next Line On Hotkey
Replies: 14
Views: 2206

Re: Read Next Line On Hotkey

right on! Even better. I knew that the line contents information had to be in there already but I couldn't figure out exactly where. Reading the file is an option but if it's wasting resources and time then why bother. I've adjusted the code now on my end. Thanks!
by scriptor2016
16 Nov 2019, 01:28
Forum: Ask For Help
Topic: Read Next Line On Hotkey
Replies: 14
Views: 2206

Re: Read Next Line On Hotkey

no worries, I think I got it. Here is my stab at it: fileread,content,MyTextFile.txt arr:=strsplit(content,"`r","`n") cnt:= arr.length() return #z:: check := ++check > cnt ? 1 : check msgbox % arr[check] FileReadLine, Line, MyTextFile.txt, %check% The contents of line %check% is %Line% return #x:: c...
by scriptor2016
16 Nov 2019, 00:56
Forum: Ask For Help
Topic: Read Next Line On Hotkey
Replies: 14
Views: 2206

Re: Read Next Line On Hotkey

oh man there's one thing I overlooked here... each message box correctly shows the count press sequence number, but it isn't showing the text of the line it is reading (for example press 1 would be "one", press 2 would be "two", and so on).. I'm playing with this as we speak and trying to use A_Loop...
by scriptor2016
16 Nov 2019, 00:30
Forum: Ask For Help
Topic: Read Next Line On Hotkey
Replies: 14
Views: 2206

Re: Read Next Line On Hotkey

ah-ha!! that's it, it is working. I'm using the mousewheel to scroll up or down through items in a text file. for each line it reads, a different action will be carried out. I think that looping around on either end is better than stopping the reading (out of bounds)- especially if the text file is ...
by scriptor2016
15 Nov 2019, 23:51
Forum: Ask For Help
Topic: Read Next Line On Hotkey
Replies: 14
Views: 2206

Re: Read Next Line On Hotkey

hey, thanks!!!! I'll need to study this to see how it works - it is far more complex than what I was trying to cook up

what would I need to do here in order to allow the loops to just start over again instead of being 'out of bounds'?
by scriptor2016
15 Nov 2019, 23:39
Forum: Ask For Help
Topic: Read Next Line On Hotkey
Replies: 14
Views: 2206

Re: Read Next Line On Hotkey

ok thanks!! I'll do it right now and report back momentarily
by scriptor2016
15 Nov 2019, 23:32
Forum: Ask For Help
Topic: Read Next Line On Hotkey
Replies: 14
Views: 2206

Re: Read Next Line On Hotkey

1.1.22.03

Go to advanced search