Search found 117 matches

by metacognition
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. 😀
by metacognition
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.
by metacognition
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.
image.png
image.png (200.63 KiB) Viewed 566 times
by metacognition
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.
image.png
image.png (197.11 KiB) Viewed 587 times
image.png
image.png (169.44 KiB) Viewed 587 times
And this is the version of ahk-studio I'm using.
image.png
image.png (75.78 KiB) Viewed 587 times
by metacognition
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
}
by metacognition
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.
image.png
image.png (80.89 KiB) Viewed 600 times
by metacognition
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...
by metacognition
28 May 2023, 14:43
Forum: SciTE4AutoHotkey
Topic: toolbar icons small
Replies: 1
Views: 854

toolbar icons small

image.png
image.png (45.57 KiB) Viewed 854 times
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.
by metacognition
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...
by metacognition
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.
image.png
image.png (111.45 KiB) Viewed 292 times
by metacognition
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

:thumbup:
ffmpeg and sox can be great command line tools to accomplish audio manipulation from an ahk script.
by metacognition
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.
2021-09-04_08-39-25.png
2021-09-04_08-39-25.png (16.17 KiB) Viewed 3083 times
by metacognition
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...
by metacognition
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...
by metacognition
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).

072A45D2-6318-4B29-97EC-65776342BE07.jpeg
072A45D2-6318-4B29-97EC-65776342BE07.jpeg (133.71 KiB) Viewed 3290 times
by metacognition
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
by metacognition
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.
by metacognition
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.

Go to advanced search