Search found 5773 matches

by just me
Today, 06:46
Forum: Ich brauche Hilfe
Topic: FileSetTime - Fehler oder normal?
Replies: 3
Views: 35

Re: FileSetTime - Fehler oder normal?

Moin Gucky,

ich finde die Idee an sich gut. Irgendjemand müsste allerdings lexikos (oder wer vielleicht sonst die AHK-Sourcen betreut) davon überzeugen, dass das ein Bug ist der korrigiert werden sollte, weil die Korrektur vorhandene Skripte nicht stört.
by just me
Yesterday, 03:49
Forum: Ask For Help
Topic: regex question Topic is solved
Replies: 6
Views: 109

Re: regex question Topic is solved

AlphaBravo wrote:
18 Feb 2019, 21:41

Code: Select all

...
... ; \w = alpha-numeric
...
Not quite.
RegEx - Quick Reference wrote:\w ... This is equivalent to [a-zA-Z0-9_]. ...
by just me
18 Feb 2019, 09:06
Forum: Ich brauche Hilfe
Topic: MButton mit Shift & MButton vertauschen Topic is solved
Replies: 7
Views: 132

Re: MButton mit Shift & MButton vertauschen Topic is solved

Ich habe mich bisher nur wenig mit Hotkeys beschäftigt, wenn ich sie unbedingt für einfache Ablaufsteuerungen brauchte. Ich kann Dir deshalb leider nicht helfen.
by just me
18 Feb 2019, 09:02
Forum: Scripts and Functions
Topic: FrameShadow(): Drop Shadow On Borderless Window, (DWM STYLE)
Replies: 18
Views: 4254

Re: FrameShadow(): Drop Shadow On Borderless Window, (DWM STYLE)

Hi, AHK registers its own window classes. The class for AHK Gui windows is AutoHotkeyGUI . You can assign some predefines styles to window classes: Window Class Styles . This styles can be retrieved by GetClassLong(Ptr)() or GetClassInfo() . If you call one of this functions you'll find that AHK set...
by just me
18 Feb 2019, 05:43
Forum: Scripts and Functions
Topic: FrameShadow(): Drop Shadow On Borderless Window, (DWM STYLE)
Replies: 18
Views: 4254

Re: FrameShadow(): Drop Shadow On Borderless Window, (DWM STYLE)

#NoEnv CS_DROPSHADOW := 0x00020000 ClassStyle := GetGuiClassStyle() Gui, New, +hwndHGUI SetGuiClassStyle(HGUI, ClassStyle | CS_DROPSHADOW) Gui, Show, x100 y100 w250 h200, Test 1 SetGuiClassStyle(HGUI, ClassStyle) Gui, New Gui, Show, x400 y100 w250 h200, Test 2 Gui, New, +hwndHGUI SetGuiClassStyle(H...
by just me
18 Feb 2019, 04:11
Forum: Ich brauche Hilfe
Topic: MButton mit Shift & MButton vertauschen Topic is solved
Replies: 7
Views: 132

Re: MButton mit Shift & MButton vertauschen Topic is solved

Moin,

das allein stehende #IF beendet die bedingte Ausführung von Hotfkeys.
by just me
18 Feb 2019, 03:36
Forum: Ask For Help
Topic: Omitting WinTitle in WinGet
Replies: 2
Views: 41

Re: Omitting WinTitle in WinGet

WinActive() wrote:If the function or command determines that the active window is a qualified match, the Last Found Window will be updated to be the active window. In other words, if WinActive or IfWinActive evaluates to true or IfWinNotActive evaluates to false, the Last Found Window will be updated.

Source
by just me
18 Feb 2019, 02:46
Forum: Ask For Help
Topic: AHK GUI Edit Control vertical centering?
Replies: 7
Views: 174

Re: AHK GUI Edit Control vertical centering?

teadrinker wrote:
18 Feb 2019, 02:03
It seems that the same could be made easier:
It does not work if the edit control can show more than one complete line for the given font size. For example, change the font size to s12 or less.
I noticed that this time while testing.
by just me
17 Feb 2019, 06:12
Forum: Ask For Help
Topic: Trouble with Nested IFWinExist commands Topic is solved
Replies: 11
Views: 210

Re: Trouble with Nested IFWinExist commands Topic is solved

You're short of a few commas. For a one-liner it should be:- IfWinNotActive, Macro Monster - Excel,,,, WinActivate, Macro Monster - Excel No, it's correct. Note : Due to backward compatibility, IfWin[Not]Active interpret this parameter as a command if it exactly matches the name of a command. To wo...
by just me
17 Feb 2019, 06:01
Forum: Ask For Help
Topic: AHK GUI Edit Control vertical centering?
Replies: 7
Views: 174

Re: AHK GUI Edit Control vertical centering?

Another kind of workaround: #NoEnv Gui, Font, s16 ; Required options: +hwnd... +Multi -VScroll -WantReturn -0x40 (ES_AUTOVSCROLL) Gui, Add, Edit, x10 y10 w200 h50 Center +hwndHEDIT +Multi -VScroll -WantReturn -0x40, Data ; +Limit5 Edit_VCENTER(HEDIT) Gui, Show, w220 h80, Gui Test Return GuiClose: Ex...
by just me
17 Feb 2019, 03:00
Forum: Ask For Help
Topic: Script Performance
Replies: 10
Views: 292

Re: Script Performance

SSD vs. HDD?
by just me
16 Feb 2019, 06:08
Forum: Scripts and Functions
Topic: CNG (Cryptography API: Next Generation)
Replies: 37
Views: 8573

Re: CNG (Cryptography API: Next Generation)

? #NoEnv MsgBox % bcrypt_sha256_filepart("C:\Windows\notepad.exe") ExitApp bcrypt_sha256_filepart(filename, offset := 0, length := -1) { static BCRYPT_SHA256_ALGORITHM := "SHA256" static BCRYPT_OBJECT_LENGTH := "ObjectLength" static BCRYPT_HASH_LENGTH := "HashDigestLength" if !(hBCRYPT := DllCall("L...
by just me
15 Feb 2019, 05:39
Forum: Ask For Help
Topic: Format XML - Remove node based on element
Replies: 7
Views: 146

Re: Format XML - Remove node based on element

<id> is a childnode and not an attribute (in this case). ; ================================================================================================================================ ; XPATH syntax -> msdn.microsoft.com/en-us/library/ms256471(v=vs.110).aspx ; XML node class -> msdn.microsoft.c...
by just me
15 Feb 2019, 04:06
Forum: Ich brauche Hilfe
Topic: Optimierung Umbenennungstool
Replies: 36
Views: 1156

Re: Optimierung Umbenennungstool

Moin, vielleicht denke ich ausnahmsweise mal etwas zu einfach. Die 'Vorgabendatei' ist für mich eine einfache Textdatei, die in jeder Zeile drei durch Tab getrennte 'Felder' enthält: Das erste Feld enthält einen 'Bestandsnamen' und kann in der Datei nur genau einmal vorkommen. Das zweite Feld anthäl...
by just me
15 Feb 2019, 02:46
Forum: Ich brauche Hilfe
Topic: Demo AHK Script erweitern
Replies: 5
Views: 193

Re: Demo AHK Script erweitern

Moin!

Code: Select all

	  try
		Menu %first%, Icon, %A_Index%&, HICON:%HICON%
A_Index zählt über alle Dateien. %A_Index%& muss aber ein Index innerhalb eines Submenüs sein. Es wäre hier einfacher, anstelle des Index auch %A_LoopFileName% zu verwenden.
by just me
14 Feb 2019, 12:01
Forum: Ask For Help
Topic: multiple GUI start in one script? Topic is solved
Replies: 10
Views: 195

Re: multiple GUI start in one script? Topic is solved

Syntax : GuiControl, SubCommand, ControlID , Value => GuiControl, , %hwndGui2%:D, 22222222 As an option: If (1){ ; Get Current Position SysGet,Mon_BboxNew_,Monitor,0 y := Mon_BboxNew_Bottom - 170 x := Mon_BboxNew_Right - 170 Gui1 := newGui() Gui, % Gui1.HGUI . ":Show", NoActivate x%x% y%y% ; ,title...
by just me
14 Feb 2019, 03:14
Forum: Ich brauche Hilfe
Topic: Optimierung Umbenennungstool
Replies: 36
Views: 1156

Re: Optimierung Umbenennungstool

Hallo Meister Lampe! zu 1.): Ja. zu 3.): Es ist natürlich eine andere Situation, wenn das 'Umbenennen' nur Teil eines umfangreicheren Skripts ist. Das automatische Öffnen des Auswahlfensters beim Start ist dann nicht notwendig. Wenn es im SKript aber keine festen Vorgaben mehr gibt, muss die mnuelle...
by just me
13 Feb 2019, 12:06
Forum: Ask For Help
Topic: A_Cursor != "Hand
Replies: 6
Views: 106

Re: A_Cursor != "Hand

Because there is no hotkey following the #If statement.
by just me
13 Feb 2019, 12:02
Forum: Ask For Help
Topic: Using OnMessage() to perform an action at application start? Topic is solved
Replies: 14
Views: 462

Re: Using OnMessage() to perform an action at application start? Topic is solved

Sorry, I overlooked this:

Code: Select all

  if (Win_Exe != "excel.exe") or (Win_Exe != "notepad++.exe")
is always True. (Win_Exe is always either not equal "excel.exe" or not equal "notepad++.exe".) You need to use And conjunction in this case.
by just me
13 Feb 2019, 06:04
Forum: Ask For Help
Topic: weird script crash if LoadLibrary isnt used Topic is solved
Replies: 6
Views: 119

Re: weird script crash if LoadLibrary isnt used Topic is solved

Longer story: Some DLLs initialize memory and/or other resources for the calling process/thread when loaded or initialized by functions like GdiplusStartup() . The resources are used by subsequent function calls and stay valid until the DLL is freed/unloaded or 'uninitialized' (e.g. GdiplusShutdown(...

Go to advanced search