Search found 117 matches
- 01 Jun 2023, 13:35
- Forum: Scripts and Functions (v2)
- Topic: FileReadLine for v2
- Replies: 2
- Views: 841
Re: FileReadLine for v2
Bingo! Yes kept same parameters as v1, for easy/lazy script conversion. Heck, we could write it to return the value if the variable reference is missing or unset. But I’m just getting into v2 and feeling nostalgic about the last 15 years of autohotkey helping every job I’ve had.
- 01 Jun 2023, 00:58
- Forum: Ask for Help (v2)
- Topic: ahk studio v2 version Topic is solved
- Replies: 8
- Views: 714
Re: ahk studio v2 version Topic is solved
So for any folks looking for v2 mod of ahk-studio, it's available on Joe Glines website, the-automator. He has videos on how to make it work so go to his site and spend a couple bucks to help support his work.
- 30 May 2023, 15:31
- Forum: Ask for Help (v2)
- Topic: ahk studio v2 version Topic is solved
- Replies: 8
- Views: 714
Re: ahk studio v2 version Topic is solved
Yes, it appears to run fine. See below.
- 30 May 2023, 14:23
- Forum: Ask for Help (v2)
- Topic: ahk studio v2 version Topic is solved
- Replies: 8
- Views: 714
Re: ahk studio v2 version Topic is solved
Thank you Boiler,
Ok, understood, I did/do have v2 installed.
And this is the version of ahk-studio I'm using.
Ok, understood, I did/do have v2 installed.
And this is the version of ahk-studio I'm using.
- 30 May 2023, 14:05
- Forum: Scripts and Functions (v2)
- Topic: FileReadLine for v2
- Replies: 2
- Views: 841
FileReadLine for v2
FileReadLine for v2, in case you don't want to give it up.
Code: Select all
FileReadLine(&output_var, file_to_read, line_number)
{
file_object := FileOpen(file_to_read, "r")
loop line_number
{
output_var := file_object.ReadLine()
}
file_object.Close
}
- 30 May 2023, 14:02
- Forum: Ask for Help (v2)
- Topic: ahk studio v2 version Topic is solved
- Replies: 8
- Views: 714
Re: ahk studio v2 version Topic is solved
Thank you Boiler,
I think I'm missing the part where I tell ahk-studio to be v2. When I open a script with v2 it shows this error, and when I hit run nothing happens.
I think I'm missing the part where I tell ahk-studio to be v2. When I open a script with v2 it shows this error, and when I hit run nothing happens.
- 29 May 2023, 01:15
- Forum: Ask for Help (v2)
- Topic: ahk studio v2 version Topic is solved
- Replies: 8
- Views: 714
ahk studio v2 version Topic is solved
I'm switching to v2 after, geez, 15 years of smooth sailing with autohotkey..... but for the life of me cannot get ahk studio to work, I download the v2 capable version from the-automator's website. I've used omni search to look for settings, I see that it is looking for v2 installed but I can't fig...
- 28 May 2023, 14:43
- Forum: SciTE4AutoHotkey
- Topic: toolbar icons small
- Replies: 1
- Views: 854
toolbar icons small
Is there a way to adjust toolbar icon size? just switched to v2 and my world is upside down trying to find a proper IDE and re-establish everything.
- 28 May 2023, 01:17
- Forum: Ask for Help (v2)
- Topic: Can't Install, first issue in 10+ years.
- Replies: 1
- Views: 292
Re: Can't Install, first issue in 10+ years.
Solution: The following may help to resolve this error: - Stop the 'Cryptographic Services' service running on your computer - Open File Explorer and select View > Options > 'Change folder and search options'. - Select the View tab and in Advanced settings, select 'Show hidden files, folders, and dr...
- 28 May 2023, 00:40
- Forum: Ask for Help (v2)
- Topic: Can't Install, first issue in 10+ years.
- Replies: 1
- Views: 292
Can't Install, first issue in 10+ years.
Trying to switch to v2.
- 17 Apr 2022, 13:09
- Forum: Scripts and Functions (v1)
- Topic: Record a WAV file with BASS.dll
- Replies: 15
- Views: 5298
Re: Record a WAV file with BASS.dll
ffmpeg and sox can be great command line tools to accomplish audio manipulation from an ahk script.
- 04 Sep 2021, 15:12
- Forum: Scripts and Functions (v1)
- Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
- Replies: 65
- Views: 13733
Re: GridGUI v1.1.4 - Simplify Control Placement and Resizing
@Capn Odin That's it. Beautiful.
- 04 Sep 2021, 11:41
- Forum: Scripts and Functions (v1)
- Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
- Replies: 65
- Views: 13733
Re: GridGUI v1.1.4 - Simplify Control Placement and Resizing
That dpiscale is a real bugger isn't it. So with your fix it now works correctly with dpi scale on, but with dpi scale off "-dpiscale" in the gui... controls creep out of their grid.
- 03 Sep 2021, 15:40
- Forum: Scripts and Functions (v1)
- Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
- Replies: 65
- Views: 13733
Re: GridGUI v1.1.4 - Simplify Control Placement and Resizing
Here you go, should be easy to play with commented lines and reproduce, -dpiscale did fix it so you were correct in your suspicion. I still can't figure out where it is happening. #Include %A_ScriptDir%\..\GridGui.ahk global_button_width := "100" ; Capn Odin: adding -dpiscale DOES fix the issue, rem...
- 02 Sep 2021, 21:07
- Forum: Scripts and Functions (v1)
- Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
- Replies: 65
- Views: 13733
Re: GridGUI v1.1.4 - Simplify Control Placement and Resizing
Cool. Well I gotta say this is a blast converting my GUI to GridGUI and refactoring events to functions and methods. It makes everything uniform and look and behave great. But, another question! I've noticed when I give a button a width somthing is adding padding or margin, and it doesn't seem to be...
- 02 Sep 2021, 00:31
- Forum: Scripts and Functions (v1)
- Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
- Replies: 65
- Views: 13733
Re: GridGUI v1.1.4 - Simplify Control Placement and Resizing
What does a value other than 1 accomplish for expandwidth and fillwidth?
on line 18 in screenshot below, where you have “2.3” for both params, from the UCR example (from evilc).
on line 18 in screenshot below, where you have “2.3” for both params, from the UCR example (from evilc).
- 30 Aug 2021, 22:45
- Forum: Scripts and Functions (v1)
- Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
- Replies: 65
- Views: 13733
- 28 Aug 2021, 11:19
- Forum: Scripts and Functions (v1)
- Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
- Replies: 65
- Views: 13733
Re: GridGUI v1.1.2 - Simplify Control Placement and Resizing
Do you have the source code for the gui in the screenshot? Don’t see it in the repo. If you mean the screenshot at the top then you can find it here UCR it is a recreation of the GUI from a script by @evilC. Hey! Yes I did, when I run the example it looks different! grid 2021-08-28_08-15-29.png
- 24 Aug 2021, 00:11
- Forum: Scripts and Functions (v1)
- Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
- Replies: 65
- Views: 13733
Re: GridGUI v1.1.2 - Simplify Control Placement and Resizing
Do you have the source code for the gui in the screenshot? Don’t see it in the repo.
- 24 Aug 2021, 00:07
- Forum: Scripts and Functions (v1)
- Topic: GridGUI v1.1.11 - Simplify Control Placement and Resizing
- Replies: 65
- Views: 13733
Re: GridGUI v1.1.2 - Simplify Control Placement and Resizing
This is really cool, pretty brilliant actually. I spend so much time tweaking x and y s for controls every time something changes.