Search found 6117 matches

by just me
Yesterday, 03:11
Forum: Ich brauche Hilfe
Topic: Dynamische Listboxbreite Topic is solved
Replies: 2
Views: 98

Re: Dynamische Listboxbreite Topic is solved

Moin, leider gibt es keine 'dynamischen' Controlbreiten. Wenn keine Vorgaben gemacht werden, berechnet AHK für manche Controls wie z.B. Text die benötigte Größe für den vorgegebenen Text automatisch. Andere Controls werden dagegen mit Standardbreiten und -höhen dargestellt. Ich habe in meinem Fundus...
by just me
17 May 2019, 02:30
Forum: Ask For Help
Topic: Parsing only certain parts of a string split Topic is solved
Replies: 7
Views: 168

Re: Parsing only certain parts of a string split Topic is solved

It must be StringSplit (command). Sorry!
by just me
16 May 2019, 10:25
Forum: Ask For Help
Topic: Get Icon in Listview
Replies: 13
Views: 304

Re: Get Icon in Listview

Non-icon images such as BMP, GIF and JPG may also be loaded. However, in this case the last two parameters should be specified to ensure correct behavior: IconNumber should be the mask/transparency color number (0xFFFFFF [the color white] might be best for most pictures); and ResizeNonIcon should b...
by just me
16 May 2019, 10:16
Forum: Ich brauche Hilfe
Topic: Wie funktioniert's?
Replies: 5
Views: 211

Re: Wie funktioniert's?

Moin, die For-Schleife arbeitet intern mit einem Enumerator-Objekt , das darauf spezialisiert ist, alle Schlüssel/Wert-Paare nacheinander in aufsteigender Reihenfolge zurückzugeben. Bei Loop % MeinArray.MaxIndex() weiß MeinArray nichts davon, dass die Schleife immer den nächsten Schlüssel erwartet. ...
by just me
16 May 2019, 04:37
Forum: Ich brauche Hilfe
Topic: Ersatz für SendPlay
Replies: 3
Views: 128

Re: Ersatz für SendPlay

Moin,

ich bin nicht sicher, ob der Beitrag absichtlich als 'gelöst' markiert wurde. Wenn Du willst und kannst, solltest Du die Frage noch einmal im englischen Forum stellen. Da sind wesentlich mehr User aktiv und möglicherweise kennt einer davon Dein Problem.

Grüße,
just me
by just me
16 May 2019, 04:30
Forum: Ask For Help
Topic: Parsing only certain parts of a string split Topic is solved
Replies: 7
Views: 168

Re: Parsing only certain parts of a string split Topic is solved

Maybe something like this (pseudocode): ... SearchText := Clipboard Loop, Read, C:\Dropbox KHGmail\Dropbox\AHK\dictionary definition popup.txt { StrSplit, Part, A_LoopReadLine, * If (Part0 = 3) ; if splitted into 3 parts { If (Part1 = SearchText) ; if Part1 equals SearchText { ... Send, %Part2% ; se...
by just me
16 May 2019, 03:39
Forum: Ask For Help
Topic: Combination of two Windows APIs: "GetKeyboardLayout" and "ImmGetDescriptionA"
Replies: 5
Views: 187

Re: Combination of two Windows APIs: "GetKeyboardLayout" and "ImmGetDescriptionA"

@Flipeador:
DllCall("Imm32.dll\ImmGetDescriptionW", ...)
I'd guess that if you remove the W it will work for AHK ANSI and Unicode. (I don't get any description on my German system!)
by just me
16 May 2019, 03:05
Forum: Ask For Help
Topic: Get Icon in Listview
Replies: 13
Views: 304

Re: Get Icon in Listview

... that the 3rd parameter is the icon index and it looks like the 2nd parameter is the text beside the icon. Are you talking about IL_Add ? IL_Add(ImageListID, Filename [, IconNumber, ResizeNonIcon]) Filename is the name of an icon (.ICO), cursor (.CUR), or animated cursor (.ANI) file (animated cu...
by just me
15 May 2019, 05:26
Forum: Ask For Help
Topic: Get Icon in Listview
Replies: 13
Views: 304

Re: Get Icon in Listview

Code: Select all

IL_Add(ImageListID, Filename [, IconNumber, ResizeNonIcon])
Where did you find your syntax?

Code: Select all

IL_Add(ImageListID gClick vregedit, "C:\Windows\regedit.exe", regedit)
You can retrieve the 0-based index of an item's icon in the ListView's ImageList with LVM_GETITEM.
by just me
15 May 2019, 05:12
Forum: Tutorials
Topic: jeeswg's mathematics tutorial
Replies: 2
Views: 175

Re: jeeswg's mathematics tutorial

You stuffed the whole contents into one post without internal links! :facepalm:

Edit: Dear moderators, if jeeswg wants to restructure this thread, feel free to delete this post.
by just me
15 May 2019, 04:56
Forum: Ich brauche Hilfe
Topic: Optimierung Umbenennungstool
Replies: 71
Views: 3715

Re: Optimierung Umbenennungstool

Moin Meister,

ich warte noch ab bis Du sagst: Das war's für jetzt. Danach schaue ich mir das noch einmal an.

Grüße,
just me
by just me
14 May 2019, 06:04
Forum: Ask For Help
Topic: Detect if selected item is a folder Topic is solved
Replies: 4
Views: 162

Re: Detect if selected item is a folder Topic is solved

.. or FileExist()

Code: Select all

Dir := "C:\Users\g\Desktop\somedirectory"
If InStr(FileExist(Dir), "D")
   MsgBox, %Dir% is a folder!
Else
   MsgBox, %Dir% isn't a folder!
by just me
13 May 2019, 10:52
Forum: Wish List
Topic: A_Index0 Topic is solved
Replies: 13
Views: 461

Re: A_Index0 Topic is solved

jeeswg wrote:- You're using the return value of NumPut (cryptic/verbose) ...
That's one important reason why NumPut() returns that address. So why do you call it 'cryptic/verbose'?
by just me
13 May 2019, 04:51
Forum: AutoHotkey v2 Development
Topic: Binary Data | VarSetCapacity | VarSetLength | Heap Object
Replies: 48
Views: 3220

Re: Binary Data | VarSetCapacity | VarSetLength | Heap Object

:arrow: Buffer Object I think write type and read type would be a good replacement for numgetput . Me too! (Together with Buffer.Pos) Buffer.Data : Retrieves a copy of the the buffer's content, as a string . What is the intended usage? If the buffer contains an UTF-16 string one should get it with S...
by just me
13 May 2019, 03:15
Forum: Wish List
Topic: A_Index0 Topic is solved
Replies: 13
Views: 461

Re: A_Index0 Topic is solved

#NoEnv ; 1-based: VarSetCapacity(RECT, 16, 0) Addr := &RECT For Key, Value In [1, 2, 3, 4] Addr := NumPut(Value, Addr + 0, "Int") MsgBox, % GetRect(RECT) ExitApp GetRect(ByRef RECT) { RetVal := "" Addr := &RECT - 4 Loop, 4 RetVal .= ", " . NumGet(Addr + A_Index * 4, "Int") Return SubStr(RetVal, 3) ...
by just me
12 May 2019, 11:31
Forum: Ask For Help
Topic: regex problem
Replies: 3
Views: 155

Re: regex problem

That's another form with another sequence of entries. How many different forms exist?
by just me
12 May 2019, 06:44
Forum: Ask For Help
Topic: regex problem
Replies: 3
Views: 155

Re: regex problem

Hi, at first, why do you think you need an INI file? Your examples are multi-lingual so the RegEx would require different needles for different languages. Also, the script expects the first line to be a divider |-----------------------------------+-+-----------------------------------| like in your ...
by just me
10 May 2019, 06:36
Forum: Ask For Help
Topic: Close a window with a button Topic is solved
Replies: 2
Views: 74

Re: Close a window with a button Topic is solved

A determines the active top-level window.
ExitButtHwnd contains the HWND of a child window / control.
ControlSend wrote:To operate upon a control's HWND (window handle), leave the Control parameter blank and specify ahk_id %ControlHwnd% for the WinTitle parameter ...

Go to advanced search