Search found 440 matches

by Alibaba
03 Aug 2019, 11:03
Forum: Ask for Help (v1)
Topic: Multiple winclose windows
Replies: 6
Views: 1808

Re: Multiple winclose windows

So using groups it loops automatically without having to write the sequence manually? Well you could think of it like that if it makes it easy to understand, but how WinWait does this internally depends on its implementation in the AHK source code. Using a loop to repeatedly check a condition is ca...
by Alibaba
03 Aug 2019, 10:53
Forum: Scripts and Functions (v1)
Topic: Base Frame for AutoHotKey Scripts (Installer ...)
Replies: 45
Views: 16932

Re: Base Frame for AutoHotKey Scripts (Installer ...)

Ok, I will publish the "ahksetup" installer as stand-alone tool outside of BaseFrame. It is currently a command line tool, maybe I or somebody else can add a GUI to it someday. There is also still the problem with the elevated permission launch, mentioned by evilC. I don't really have a solution for...
by Alibaba
03 Aug 2019, 07:31
Forum: Scripts and Functions (v1)
Topic: Base Frame for AutoHotKey Scripts (Installer ...)
Replies: 45
Views: 16932

Re: Base Frame for AutoHotKey Scripts (Installer ...)

While creating an installer is a great idea and this looks good, putting that installer under the GPL is definitely not. I agree. But I don’t think that Paul is continuing this project. The installer was originally created in a modular way as “ahksetup” but because I created it for the purpose of B...
by Alibaba
03 Aug 2019, 07:04
Forum: Ask for Help (v1)
Topic: Multiple winclose windows
Replies: 6
Views: 1808

Re: Multiple winclose windows

Hello hannahelappin, just to clarify a bit why your current solution is not working: Your script will never leave the first loop, so the second loop is “dead code”. A (unconditional) loop like you are using will only be exited by instructing the script to do so. Take a look at the break statement. I...
by Alibaba
03 Aug 2019, 06:48
Forum: Ask for Help (v1)
Topic: get a specific line from a folder full of textfiles
Replies: 4
Views: 1266

Re: get a specific line from a folder full of textfiles

Glad I could help. You have a nice solution. But keep in mind that there could be problems when A_Index goes beyond 99.
by Alibaba
02 Aug 2019, 16:20
Forum: Ask for Help (v1)
Topic: get a specific line from a folder full of textfiles
Replies: 4
Views: 1266

Re: get a specific line from a folder full of textfiles

Hello JaxD, there is a simple way to create numbers with leading zeros, take a look at the built-in format function. But there is also another way to do this which can actually be used to add a fixed length pad of any type to a string. (Not just for numbers) It works by specifying the fixed length p...
by Alibaba
09 Nov 2018, 02:26
Forum: Scripts and Functions (v1)
Topic: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation
Replies: 51
Views: 41380

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

Bluscream wrote:
14 Oct 2018, 02:28
I don't get it, why can't i just click one button and the whole script becomes obfuscated? I mean with java i can even do it online (https://javascriptobfuscator.com/Javasc ... cator.aspx)
Good luck obfuscating Java with a JavaScript Obfuscator... :roll:
by Alibaba
31 Aug 2018, 15:48
Forum: Scripts and Functions (v1)
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 391
Views: 243216

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

_Ne0n wrote:I present to you Class_PictureButton. I have uploaded two versions.
Very nice idea, I like them! :)
by Alibaba
14 Aug 2018, 10:18
Forum: Ask for Help (v1)
Topic: AHK to Javascript Converter
Replies: 3
Views: 1562

Re: AHK to Javascript Converter

I never used Exo, but I think it is “AHK in JavaScript” ..?
by Alibaba
14 Aug 2018, 01:14
Forum: Gaming Help (v1)
Topic: Moving objects Topic is solved
Replies: 1
Views: 970

Re: Moving objects Topic is solved

What do you mean by “moving objects”?
by Alibaba
13 Aug 2018, 18:54
Forum: Ask for Help (v1)
Topic: AHK to Javascript Converter
Replies: 3
Views: 1562

Re: AHK to Javascript Converter

There is no converter that I know of, but there is a library that allows to write AHK inside your JS. (Part of AHK, not all features)
https://github.com/Aurelain/Exo
by Alibaba
13 Aug 2018, 15:00
Forum: Gaming Scripts (v1)
Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
Replies: 1014
Views: 825254

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

Hello How lock (from Windows) the mouse or keyboard after set keymapping to Xbob 360 controller? Please don’t duplicate posts. If you are posting as a guest or from a newly created account, you will have to wait for the topic/post approval and duplicates will only result in extra work for the moder...
by Alibaba
13 Aug 2018, 13:22
Forum: Ask for Help (v1)
Topic: Can you use "else" multiple times in an IF Statement? Topic is solved
Replies: 6
Views: 2322

Re: Can you use "else" multiple times in an IF Statement? Topic is solved

Whatever it was, it’s not that big of a deal, we won’t punish you for it. :D
Just watch out next time. :)
by Alibaba
13 Aug 2018, 05:05
Forum: Ask for Help (v1)
Topic: Can you use "else" multiple times in an IF Statement? Topic is solved
Replies: 6
Views: 2322

Re: Can you use "else" multiple times in an IF Statement? Topic is solved

Well there where three topics called all the same, by a guest account called "TigerYT", i deleted two of them.
by Alibaba
13 Aug 2018, 01:37
Forum: Ask for Help (v1)
Topic: Surface Pen button -> toggle Shift
Replies: 2
Views: 1419

Re: Surface Pen button -> toggle Shift

Please don’t open multiple topics with the same question. If you are posting as a guest you will have to wait for the topic approval and duplicating topics will only result in extra work for the moderation team, but not in a faster approval. The time it takes the moderation team to check posts is de...
by Alibaba
13 Aug 2018, 01:36
Forum: Ask for Help (v1)
Topic: Surface Pen button -> toggle Shift
Replies: 2
Views: 1419

Re: Surface Pen button -> toggle Shift

You can use a toggle variable.

Code: Select all

toggleShift := false
;variable must be set in auto execution section! (At the top of the script)

#F20::
Sleep, 100
if !toggleShift
   Send, {Shift down}
else
   Send, {Shift up}
toggleShift := !toggleShift
return
by Alibaba
13 Aug 2018, 01:29
Forum: Ask for Help (v1)
Topic: Can you use "else" multiple times in an IF Statement? Topic is solved
Replies: 6
Views: 2322

Re: Can you use "else" multiple times in an IF Statement? Topic is solved

Please don’t open multiple topics with the same question. If you are posting as a guest you will have to wait for the topic approval and duplicating topics will only result in extra work for the moderation team, but not in a faster approval. The time it takes the moderation team to check posts is de...
by Alibaba
13 Aug 2018, 01:21
Forum: Ask for Help (v1)
Topic: Can you use "else" multiple times in an IF Statement? Topic is solved
Replies: 6
Views: 2322

Re: Can you use "else" multiple times in an IF Statement? Topic is solved

No it wouldn’t. If always evaluates to true, then it will continue execution in the if block, or to false, then it continues in the else block. There are always exactly two cases, your example shows five different cases. Maybe you are looking for nested ifs, or else if. if (var = "A") { Send A ... }...
by Alibaba
12 Aug 2018, 14:34
Forum: Ask for Help (v1)
Topic: Help with ahk
Replies: 13
Views: 3211

Re: Help with ahk

Hello ivyandrei, welcome to the forums!
For your future topics, please try to use more specifical titles. “Help with ahk” is a bit too general for an ahk help forum. ;)

Go to advanced search