Search found 1222 matches

by kczx3
20 Nov 2020, 19:52
Forum: Scripts and Functions
Topic: [Class] SQLiteDB - Update on 2019-12-12
Replies: 234
Views: 70633

Re: [Class] SQLiteDB - Update on 2019-12-12

It doesn't crash when just a single instance of your script is running?
by kczx3
20 Nov 2020, 15:58
Forum: Scripts and Functions
Topic: [Class] SQLiteDB - Update on 2019-12-12
Replies: 234
Views: 70633

Re: [Class] SQLiteDB - Update on 2019-12-12

robodesign wrote:
20 Nov 2020, 14:08
When setting free records.
Can you elaborate on what this means?
by kczx3
19 Nov 2020, 15:08
Forum: Scripts and Functions
Topic: VD.ahk : Virtual Desktop (move window, go to VD of your choice instantly, get Which VD you are in, etc.)
Replies: 7
Views: 410

Re: VD.ahk : Virtual Desktop (move window, go to VD of your choice instantly, get Which VD you are in, etc.)

Every single one of those functions are global. So if any of your variable names clash with a consumers, you will overwrite their variables, or they could overwrite yours.
by kczx3
19 Nov 2020, 10:26
Forum: AutoHotkey v2 Help
Topic: #DllLoad proper usage with utility class
Replies: 6
Views: 298

#DllLoad proper usage with utility class

What is the proper usage of #DllLoad in a class that uses a Dll? Especially if you want the consumer to be able to pass the path to the Dll. Are there concerns/issues with calling #DllLoad multiple times with the same Dll?
by kczx3
18 Nov 2020, 21:43
Forum: Scripts and Functions
Topic: VD.ahk : Virtual Desktop (move window, go to VD of your choice instantly, get Which VD you are in, etc.)
Replies: 7
Views: 410

Re: VD.ahk : Virtual Desktop (move window, go to VD of your choice instantly, get Which VD you are in, etc.)

You may be able to avoid it if the class is used in a static fashion. You’d just have to have an internal property to determine if it has been initialized yet, and if not, self initialize.
by kczx3
18 Nov 2020, 21:40
Forum: AutoHotkey v2 Development
Topic: [Wish] longer continuation sections/lines still
Replies: 9
Views: 2941

Re: [Wish] longer continuation sections/lines still

You seriously took my question of “when” literally? I’m just trying to understand a use case of having that much text in a continuation section.
by kczx3
18 Nov 2020, 13:46
Forum: AutoHotkey v2 Development
Topic: [Wish] longer continuation sections/lines still
Replies: 9
Views: 2941

Re: [Wish] longer continuation sections/lines still

When would you have a need for this long of a continuation section?
by kczx3
16 Nov 2020, 22:30
Forum: Ask For Help
Topic: Run Skype with AHK Topic is solved
Replies: 14
Views: 289

Re: Run Skype with AHK Topic is solved

@malcev dang nice!
by kczx3
31 Oct 2020, 19:38
Forum: Ask For Help
Topic: Reverse Sort Listview?
Replies: 5
Views: 122

Re: Reverse Sort Listview?

Don’t reverse read the file. I would just read the file, split it on `n, then reverse loop the resulting array to populate the list view.
by kczx3
31 Oct 2020, 07:49
Forum: AutoHotkey v2 Help
Topic: Assigning ahk_exe with variable Topic is solved
Replies: 4
Views: 274

Re: Assigning ahk_exe with variable Topic is solved

The OP wanted that variables value to be bound at the time the function was called. So binding it wouldn’t help because then it’s static. I suppose you could bind an object with a property.
by kczx3
30 Oct 2020, 14:41
Forum: AutoHotkey v2 Help
Topic: Assigning ahk_exe with variable Topic is solved
Replies: 4
Views: 274

Re: Assigning ahk_exe with variable Topic is solved

If you need that variable's value to be bound to the function then I guess you will need to make the variable global. Or pass it via a fat arrow function. GLOBAL global AhkName := "ahk_exe snes9x-x64.exe" SetTimer "checkwin", 1000 checkwin() { if !WinExist(AhkName) ExitApp } FAT ARROW AhkName := "ah...
by kczx3
29 Oct 2020, 07:57
Forum: AutoHotkey v2 Help
Topic: IWebBrowser2::ShowBrowserBar
Replies: 2
Views: 223

Re: IWebBrowser2::ShowBrowserBar

I see, thank you! I assumed I was passing the first parameter incorrectly when in actuality it was the second parameter that I wasn't properly passing. I was just trying to pass true.
by kczx3
28 Oct 2020, 14:44
Forum: AutoHotkey v2 Help
Topic: IWebBrowser2::ShowBrowserBar
Replies: 2
Views: 223

IWebBrowser2::ShowBrowserBar

How would I properly invoke this method? I can't figure out the VARIANT part and how to pass it.

IWebBrowser2::ShowBrowserBar
by kczx3
28 Oct 2020, 13:23
Forum: General Discussion
Topic: Windows Explorer in a GUI
Replies: 2
Views: 278

Windows Explorer in a GUI

Not really sure where to post this (and maybe it is common knowledge that I didn't have) but apparently you can nest a file explorer control inside of an AHK GUI using the Shell.Explorer ActiveX control. If you open up a normal IE instance and navigate to a local directory, that directory will be op...
by kczx3
25 Oct 2020, 14:08
Forum: AutoHotkey v2 Help
Topic: how to reference class/subclass object inside instance method? Topic is solved
Replies: 11
Views: 700

Re: how to reference class/subclass object inside instance method? Topic is solved

You might have to manually assign to master.x inside __new of the subclass
by kczx3
23 Oct 2020, 08:44
Forum: Ask For Help
Topic: script for treeview of a folder structure?
Replies: 3
Views: 135

Re: script for treeview of a folder structure?

The documentation example I mentioned is here - https://www.autohotkey.com/docs/commands/TreeView.htm#ExAdvanced

I feel like that's pretty self-explanatory. Just modify it to prompt for the folder instead of hard coding the root...

Go to advanced search