Search found 1222 matches
- 21 Nov 2020, 07:38
- Forum: AutoHotkey v2 Help
- Topic: Load graphic into clipboard Topic is solved
- Replies: 1
- Views: 80
Re: Load graphic into clipboard Topic is solved
I don’t think this would be done any differently in v2 than in v1. Use gdip https://autohotkey.com/board/topic/122225-how-do-i-copy-an-image-file-as-only-an-image-to-the-clipboard/
- 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?
- 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
Can you elaborate on what this means?
- 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.
- 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?
- 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.
- 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.
- 18 Nov 2020, 13:47
- 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.)
Great except for all the globals you're introducing.
- 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?
- 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!
- 05 Nov 2020, 21:29
- Forum: AutoHotkey v2 Scripts and Functions
- Topic: IronToolbar - 2020/11/22 - a122
- Replies: 4
- Views: 358
- 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.
- 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.
- 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...
- 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.
- 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
IWebBrowser2::ShowBrowserBar
- 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...
- 25 Oct 2020, 20:13
- Forum: AutoHotkey v2 Help
- Topic: how to reference class/subclass object inside instance method? Topic is solved
- Replies: 11
- Views: 700
- 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
- 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...
I feel like that's pretty self-explanatory. Just modify it to prompt for the folder instead of hard coding the root...