Search found 15 matches

by Bluscream
23 Aug 2020, 00:28
Forum: Ask for Help (v1)
Topic: Extension method to split array into multiple chunks?
Replies: 4
Views: 853

Re: Extension method to split array into multiple chunks?

well, it's literally called Node Package Manager. You can't blame me for that assumption xD
by Bluscream
21 Aug 2020, 21:03
Forum: Ask for Help (v1)
Topic: Extension method to split array into multiple chunks?
Replies: 4
Views: 853

Re: Extension method to split array into multiple chunks?

Ohh, i thought biga was written in node.js because it wants to install through npm: https biga-ahk.github.io /biga.ahk/#/getting-started Broken Link for safety thanks a lot <3 Array(prms*) { prms.base := _Array return prms } class _Array { chunks(max:=1) { ; https://www.autohotkey.com/boards/viewtop...
by Bluscream
21 Aug 2020, 03:18
Forum: Ask for Help (v1)
Topic: Extension method to split array into multiple chunks?
Replies: 4
Views: 853

Extension method to split array into multiple chunks?

is there a better way than https://www.autohotkey.com/boards/viewtopic.php?t=65635? looks way too complicated from here, i would like to have something like array_of_chunks := array.chunks(max_items_per_chunk) array := [1,2,3,4,5] chunks := array.chunks(2) ; chunks is [[1,2],[3,4],[5]] for i, chunk ...
by Bluscream
12 Aug 2020, 20:38
Forum: Ask for Help (v1)
Topic: How to check for duplicates while pushing to array?
Replies: 3
Views: 2706

How to check for duplicates while pushing to array?

How do i do this? Preferably as base extension

Code: Select all

array := [1,2,3]
array.PushSingle(2)
; array is still [1,2,3]
array.PushSingle(4)
; array is [1,2,3,4]
by Bluscream
10 Aug 2020, 13:38
Forum: Ask for Help (v1)
Topic: How to make AHK to type braces (curly brackets)
Replies: 4
Views: 19742

Re: How to make AHK to type braces (curly brackets)

Thanks for the tip, i made a little snippet to escape them: EscapeCurly(text) { ; str := StrReplace(str, "{", "{{}" ; Sends { ; str := StrReplace(str, "}", "{}}" ; Sends } ; return StrReplace(str, "{}", "{{}{}}" ; Sends {} Loop, Parse, text ; retrieves each character from the variable, one at a time...
by Bluscream
16 Apr 2020, 02:30
Forum: Scripts and Functions (v1)
Topic: Make script kill itself on exit
Replies: 1
Views: 718

Make script kill itself on exit

Some times i get the annoying "Could not close the previous instance of this script. Keep waiting?" error so i decided to make a snippet that kills the script instead: OnExit, ExitSub return ExitSub: ahk_exe := StrSplit(A_AhkPath, "\") ahk_exe := ahk_exe[ahk_exe.MaxIndex()] query := "Select * from W...
by Bluscream
20 Feb 2020, 03:23
Forum: Scripts and Functions (v1)
Topic: AccViewer Basic
Replies: 6
Views: 13756

Re: AccViewer Basic

Can someone please add a little extra window that shows a log of all recent events with a basic filter by event?
by Bluscream
20 Sep 2019, 00:00
Forum: Scripts and Functions (v1)
Topic: Using Google Translate to automate text translation
Replies: 227
Views: 95740

Re: Using Google Translate to automate text translation

#SingleInstance Force #Include <translate> #Include <obj2str> #Include <bluscream> #t:: translateActiveWindow() Return translateActiveWindow(){ WinGetActiveTitle, win_title ; WinGetClass, win_class, win_title WinGet, win_id, ID, A ; title := win_title . " ahk_class " . win_class . " ahk_id " . win_...
by Bluscream
19 Sep 2019, 21:46
Forum: Scripts and Functions (v1)
Topic: Using Google Translate to automate text translation
Replies: 227
Views: 95740

Re: Using Google Translate to automate text translation

I made yet another version of it: Translate.ahk: ;;-------- https://www.autohotkey.com/boards/viewtopic.php?f=6&t=63835 --- ;- from user teadrinker /* modified=20190422 EDIT CreateScriptObj() ( teadrinker ) created =20190419 select language , copy marked text ctrl+c > see translation in selected lan...
by Bluscream
02 Feb 2019, 18:28
Forum: Ask for Help (v1)
Topic: Digit's Values not getting extracted from Dictionary?
Replies: 1
Views: 451

Digit's Values not getting extracted from Dictionary?

I have a dictionary that contains Letters and Digits and i can get the values of the letter keys just fine but not the ones from digits even though they're enclosed in " . It isn't important for the question but just in case you're wondering what the bluscream.ahk file that's included looks like: ht...
by Bluscream
14 Oct 2018, 02:28
Forum: Scripts and Functions (v1)
Topic: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation
Replies: 51
Views: 41553

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

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)
by Bluscream
19 Feb 2018, 20:28
Forum: Gaming Help (v1)
Topic: Close unwanted windows when they appear
Replies: 3
Views: 968

Re: Close unwanted windows when they appear

Okay, i think https://gist.github.com/Bluscream/119f0 ... nclose-ahk is good enough for me. Thanks anyway :)
by Bluscream
19 Feb 2018, 19:10
Forum: Gaming Help (v1)
Topic: Close unwanted windows when they appear
Replies: 3
Views: 968

Re: Close unwanted windows when they appear

A timer is exactly what i don't want, i really want it to only go through the loop when a new window opens i tried LastFound now but that doesn't seem to change anything: #SingleInstance, Force ; #NoTrayIcon #NoEnv #Warn SetWorkingDir %A_ScriptDir% titles := "Cheat Engine 6.7" classes := "ClassAdver...
by Bluscream
19 Feb 2018, 05:43
Forum: Gaming Help (v1)
Topic: Close unwanted windows when they appear
Replies: 3
Views: 968

Close unwanted windows when they appear

#SingleInstance, Force #NoEnv #Warn SetWorkingDir %A_ScriptDir% titles := "Cheat Engine 6.7" classes := "ClassAdvert, MainFrameInstall" binaries := "clover.exe" Loop { WinWait, , , , . WinGetTitle, title TrayTip, found window %title% if title in %titles% WinClose, %title% continue WinGetClass, clas...
by Bluscream
10 Jan 2017, 23:25
Forum: Ask for Help (v1)
Topic: Reveal/unmask/recover the passwords stored inside bullets in Windows
Replies: 0
Views: 621

Reveal/unmask/recover the passwords stored inside bullets in Windows

I've seen many threads here about hiding passwords with bullets in AHK GUI's but i'm searching for the exact opposite. Whenever there is a application asking for a password in asterisks or bullets it should be automatically be converted to plain text. The idea similar to https://autohotkey.com/board...

Go to advanced search