Search found 16 matches

by Shade4Real
21 Nov 2018, 01:38
Forum: Ask For Help
Topic: Keeping a Gui open until OK is pressed
Replies: 1
Views: 156

Re: Keeping a Gui open until OK is pressed

I believe you can have more than one gui open by labeling them
for example

Code: Select all

#persistent
#Singleinstance, force
Gui, 1:New,, Gui One
Gui, 2:New,, Gui Two
Gui, 1:Show, x200 y200 h300 w500
Gui, 2:Show, x600 y300 h300 w500
return
by Shade4Real
07 Oct 2018, 04:29
Forum: Ask For Help
Topic: Help with GUI edit in Gui Tabs Topic is solved
Replies: 1
Views: 132

Help with GUI edit in Gui Tabs Topic is solved

I am trying to add multiple Gui, add, edit inside of each tab. There are 10 tabs. I am having a lot of trouble trying to get the value of each edit into variables. Gui, Add, Tab, x2 y-1 w520 h237, 1 Cmd|2 Cmds|3 Cmds|4 Cmds|5 Cmds|6 Cmds|7 Cmds|8 Cmds|9 Cmds|10 Cmds|Other Gui, Tab, 1 Cmd Gui, Add, E...
by Shade4Real
14 Jul 2018, 21:23
Forum: Ask For Help
Topic: AHK Script Won't Active While Pressing Other Buttons
Replies: 1
Views: 156

Re: AHK Script Won't Active While Pressing Other Buttons

The '~' means under any circumstance
So under any circumstance if XButton1 is pressed, continue script

Code: Select all

~$XButton1::
Send, i
loop
{
if not getkeystate("XButton1", "p")
break
Send, [
Sleep, 7
}
return
by Shade4Real
14 Jul 2018, 21:20
Forum: Ask For Help
Topic: Lock Out Mouse & Keyboard Interference
Replies: 1
Views: 175

Re: Lock Out Mouse & Keyboard Interference

Blockinput, on
-script-
Blockinput, off

(Must have Administrator priv)
by Shade4Real
14 Jul 2018, 21:15
Forum: Ask For Help
Topic: Script to press a key and hold original key until release
Replies: 1
Views: 125

Re: Script to press a key and hold original key until release

Like this?

Code: Select all

$RButton::
send, p
send, {Rbutton down}
while getkeystate("RButton","P")
{
}
send, {RButton up}
return
by Shade4Real
14 Jul 2018, 21:08
Forum: Ask For Help
Topic: Ctrl, Alt or Shift keys getting stuck Topic is solved
Replies: 1
Views: 140

Re: Ctrl, Alt or Shift keys getting stuck Topic is solved

Not sure, but maybe this may help
Send, {c up}

c can be any key you want
by Shade4Real
14 Jul 2018, 21:06
Forum: Ask For Help
Topic: Firefox automation
Replies: 4
Views: 367

Re: Firefox automation

Code: Select all

IfWinExist (firefox window title)
{
---Script
}
You should take a look at IfWinExist
by Shade4Real
16 Jun 2018, 12:06
Forum: Gaming
Topic: Hard macro for double pump fortnite to create :(
Replies: 1
Views: 360

Re: Hard macro for double pump fortnite to create :(

Switches to 3 and clicks (shoots) then switches back or just switching from 3 and 4? This just switches between them, let me know if you need changes. #singleinstance force Setkeydelay, 50, 50 suspend $4:: suspend lol = 0 return $LButton:: if lol = 0 { lel = 4 } else { lel = 3 } sleep, 10 Sendinput,...
by Shade4Real
16 Jun 2018, 03:14
Forum: Ask For Help
Topic: Windows key on mac keyboard Topic is solved
Replies: 1
Views: 180

Re: Windows key on mac keyboard Topic is solved

I don't got mac, no idea if it'll work.

Code: Select all

$^p:: ; Control P...you can change this to whatever
Sendinput, LWin
Return
by Shade4Real
16 Jun 2018, 03:02
Forum: Ask For Help
Topic: Can anyone help me make an AHK macro from logitech macro?
Replies: 2
Views: 198

Re: Can anyone help me make an AHK macro from logitech macro?

You can make easy macros with the Loop, and while commands...
by Shade4Real
16 Jun 2018, 02:42
Forum: Gaming
Topic: How do I make a script work ONLY when a button is being held down
Replies: 2
Views: 278

Re: How do I make a script work ONLY when a button is being held down

$LButton:: ; change this to whatever you want to hold down
While getkeystate ("LButton","P") ; change this to the same as above
{
---- ; put the script that only runs when you hold the hotkey in these brackets
}
Return
by Shade4Real
16 Jun 2018, 02:18
Forum: Ask For Help
Topic: Spacebar Spam Macro
Replies: 1
Views: 163

Re: Spacebar Spam Macro

I'll give you a macro but with middle mouse button as hotkey (Scroll button). I would suggest a small delay at the least, otherwise it won't be accurate.

Setkeydelay, 0
$MButton::
while getkeystate("MButton","P")
{
Sendinput, {space}
Sleep, 1
}
Return
by Shade4Real
16 Jun 2018, 02:02
Forum: Ask For Help
Topic: How do you make autorun script for Fortnite
Replies: 1
Views: 265

Re: How do you make autorun script for Fortnite

I think there is already a key ingame but I don't play fortnite. Untested:
$w::
Sendinput, {w down}
Keywait, w
Sendinput, {w up}
Return
by Shade4Real
16 Jun 2018, 01:43
Forum: Ask For Help
Topic: How do I make a script that has a loop of holding down a key for a specific amount of seconds?
Replies: 1
Views: 159

Re: How do I make a script that has a loop of holding down a key for a specific amount of seconds?

Answering for the sake of those who research the same question I'm about to answer. Replace yourkey with the key you want. $yourkey:: Sendinput, {yourkey down} ; holds key down Sleep, 1000 ; set this to any value, this is 1 second in miliseconds Sendinput, {yourkey up} ; releases key Return ; stop s...
by Shade4Real
16 Jun 2018, 01:04
Forum: Ask For Help
Topic: Keybind issue
Replies: 1
Views: 175

Re: Keybind issue

I hope this helps:tested. :thumbsup:

Code: Select all

~$Shift::
While Getkeystate("Shift","P")
If Getkeystate("RButton","P")
{
sendinput, {`; down}
Keywait, `;
sendinput, {'; up}
goto end
}
Return

end:
return

Go to advanced search