Search found 30 matches

by neokix
19 Feb 2019, 09:45
Forum: Ask For Help
Topic: looking for a way to redo an action if the first try failed Topic is solved
Replies: 2
Views: 282

Re: looking for a way to redo an action if the first try failed Topic is solved

Hi. I'm not sure if I understand your situation or what you want to do, but If I want to check and re-do something until I get the result, I would probably use "While" with ErrorLevel. I cannot implement your code so it's just basic concept. ;<<<Check if it's working While (Errorlevel = 1) { ; <<<re...
by neokix
19 Feb 2019, 09:35
Forum: Ask For Help
Topic: New, want to learn!
Replies: 1
Views: 241

Re: New, want to learn!

Hi! If you are really new, probably start with the tutorial that comes with AHK help file. If you know how to script, I think Helbent's YouTube tutorial has lots of examples, also I think you find his work useful. CivReborn - YouTube : https://www.youtube.com/user/CivReborn I've been thinking link t...
by neokix
22 Dec 2018, 04:27
Forum: Editors
Topic: Visual studio Vs Sublime Vs Scite. Fight!
Replies: 9
Views: 1978

Re: Visual studio Vs Sublime Vs Scite. Fight!

Hi. I vote for AHK-studio too, because of its simplicity. Though, it has some errors when it comes to searching and replacing. I was a fun of Scite4AutoHotkey, but recent Windows Update(?) made it full of error messages.
by neokix
16 Dec 2018, 06:52
Forum: Ask For Help
Topic: Need help with the Cursair Scimitar Pro Mouse
Replies: 3
Views: 483

Re: Need help with the Cursair Scimitar Pro Mouse

Hi. I used to use a Corsair's keyboard with multiple function keys. Because that keyboard didn't have onboard memory/chip, f13-f24 (which I bound those keys by using Corsair software) didn't work after I closed that software. I'm thinking same thing happened in your case, which means unfortunately, ...
by neokix
16 Dec 2018, 06:44
Forum: Ask For Help
Topic: Wait for GUI input
Replies: 4
Views: 574

Re: Wait for GUI input

Hi again. I'm still thinking that "SetTimer" command does nothing, because if the "Settimer"commands leads to the subroutine "Foldermon", it loops again and again without any incubation(?) period. So, if I were you, I would try something like this without using SetTimer. Loop, %pngPath% ;or Loop, Fi...
by neokix
15 Dec 2018, 08:24
Forum: Ask For Help
Topic: Different button bindings
Replies: 3
Views: 380

Re: Different button bindings

hmmm I assume you need some sort of "switcher". it is actually quite complex. From my limited experience, the easiest way is to create Gui for #IfWinExist. Something like this. !1:: Gui, switcher: New, , switcher Gui, Show return !2:: Gui, switcher:destroy return #IfWinExist, switcher Space:: { ;wha...
by neokix
15 Dec 2018, 08:13
Forum: Ask For Help
Topic: click help TT
Replies: 1
Views: 239

Re: click help TT

The easiest way to do clicking is to use "MouseClick" command.

https://autohotkey.com/docs/commands/MouseClick.htm
by neokix
15 Dec 2018, 08:08
Forum: Ask For Help
Topic: Wait for GUI input
Replies: 4
Views: 574

Re: Wait for GUI input

Hi. As far as I can see, probably you need to specify "Files" just after the Loop command. In Help, it says, Loop, Files, FilePattern [, Mode] https://autohotkey.com/docs/commands/LoopFile.htm I hope it will prevent from looping. But why do you need to use settimer if you want to loop the block all ...
by neokix
10 Dec 2018, 00:49
Forum: Ask For Help
Topic: Background Script help
Replies: 1
Views: 269

Re: Background Script help

Hi. I'm not sure this works, but you can use "ControlSend" to send texts and hotkeys to the program that are running background. It works most of the times, but sometimes doesn't. But try replace your "SendRaw" to this anyway. https://autohotkey.com/docs/commands/ControlSend.html You need to look at...
by neokix
10 Dec 2018, 00:37
Forum: Ask For Help
Topic: can Loop help repeated "Send" more steady
Replies: 8
Views: 737

Re: can Loop help repeated "Send" more steady

Sometimes putting "Sleep" between each keypress solved problems (at least for me).
So it's like this.

Code: Select all

Loop, 17
{
  Send {Tab}
  Sleep, 100 ;or 200 or 300 or 500 depending on programs
}
But Scr1pter-san can be right. I'm not sure. Just have a try and let us know how it goes. ;)
by neokix
07 Dec 2018, 03:31
Forum: Ask For Help
Topic: Simple Script Causing Weird Behavior in eM Client Topic is solved
Replies: 3
Views: 377

Re: Simple Script Causing Weird Behavior in eM Client Topic is solved

Hi. Since you can open the menu of eM Client with single Alt tap, I'm thinking "Alt Up" is acting weird.
Probably you can use #MenuMaskKey to prevent Menu from appealing. Consult with Help file. Hope this helps.

https://autohotkey.com/docs/commands/_MenuMaskKey.htm
by neokix
07 Dec 2018, 02:39
Forum: Ask For Help
Topic: String variables using CTRL, ALT, SHIFT
Replies: 2
Views: 367

Re: String variables using CTRL, ALT, SHIFT

Hi. I'm not sure what you want to do with your script, so I'm gonna write bunch of working examples with explanations. Hope this helps. ;Pressing Ctrl+Alt+Q at the same time to send "Hello!" ^!Q:: Send, Hello! return ;Pressing Shift+Ctrl+Alt+Q at the same time to send "Hello! again!" +^!Q:: Send, He...
by neokix
07 Dec 2018, 02:28
Forum: Ask For Help
Topic: Help w/ Autoclicker Topic is solved
Replies: 3
Views: 397

Re: Help w/ Autoclicker Topic is solved

Hi. Try this.

Code: Select all

LButton::
+LButton::
;<yourscripthere>
return
You can set multiple Hotkeys by using :: in multiple line.

Or if you want to execute Shift + LButton repeatedly while pressing Shift + LButton, you need another line to do so.
by neokix
07 Dec 2018, 02:23
Forum: Ask For Help
Topic: copy the selection from webpage and pasting in sharepoint Topic is solved
Replies: 2
Views: 358

Re: copy the selection from webpage and pasting in sharepoint Topic is solved

Hi. It can be done by "ControlSend" command. Or, if you want to make it more simple, "WinActivate" and paste it. I think you need to do a bit of work (build the first bit of script by yourself by reading Tutorial etc ) to get help here. Show that when you are done. :) Edited : I didn't have to be me...
by neokix
07 Dec 2018, 02:17
Forum: Ask For Help
Topic: Backspace Loop Won't Repeat, EDIT: Works Now, But Causes Problems With Shift and Control, EDIT: Sometimes Goes 2 Chars
Replies: 6
Views: 515

Re: Backspace Loop Won't Repeat, EDIT: Works Now, But Causes Problems With Shift and Control

Hi. I think you need to "Break" the loop instead of "Continue"ing in the last else part. Let me know how it goes.
by neokix
06 Dec 2018, 08:42
Forum: Ask For Help
Topic: Make a script to mute and unmute a program. eg chome.exe
Replies: 1
Views: 326

Re: Make a script to mute and unmute a program. eg chome.exe

Hi. I'm newbie here so I cannot help that much, but if you are specifically talking about Google Chrome, there is a chrome extension for that. Otherwise, there is no shortcut for mute/unmute Google Chrome, hence, I'm not sure there is a way (maybe there is but I'm not sure). https://support.google.c...
by neokix
06 Dec 2018, 08:24
Forum: Ask For Help
Topic: Help with autoclickers
Replies: 1
Views: 288

Re: Help with autoclickers

I'm not that "someone", but you can pick up any autoclicker that uses AutoHotkey and customize it by using "Random".

Code: Select all

;Random, OutputVar [, Min, Max]

Loop,
	{
	MouseClick, Left
	Random, randomnum, 30, 90
	Sleep, %randomnum%
	}
by neokix
06 Dec 2018, 08:08
Forum: Ask For Help
Topic: "Double" activation key + "Turbo" key press
Replies: 1
Views: 254

Re: "Double" activation key + "Turbo" key press

Hi. I'm still newbie here but probably you can use simple Loop.

Code: Select all

K::
	Loop 
	{
		Mouseclick, Left
		Sleep, 500 ;change here to eg. 100 to speed up
		checkkeystate := GetKeyState(K,"P")
		if (checkkeystate = 1)
			Continue
		else
			Break
	}
	return
Let me know how it went.
by neokix
21 Nov 2018, 21:58
Forum: Ask For Help
Topic: Not working - IfWinExist/If WinExist/IfWinActive/If WinActive Topic is solved
Replies: 2
Views: 463

Re: Not working - IfWinExist/If WinExist/IfWinActive/If WinActive Topic is solved

I'm not much of a programmer but probably you need to nest properly maybe using "else" and "return"? eg. IfWinExist, Open File { msgbox 1 } else{ } ;;;end of your script;;; return Or, you can also use something like this to ensure closing. While WinExist("ahk_class #YOURCLASS") { ControlClick, Butto...
by neokix
30 Jan 2018, 03:38
Forum: Offtopic
Topic: For Japanese (JIS) keyboard users (some Key codes have been shortened)
Replies: 5
Views: 1305

Re: For Japanese (JIS) keyboard users (some Key codes have been shortened)

Thank you for replying, Lexikos. I truly appreciate what you are creating. If you are, please don't get me wrong. I am not criticising anyone or any changes that you or others make. Simply informing people who have Japanese layout keyboards. One thing you might need to know about my previous post is...

Go to advanced search