Search found 5519 matches

by just me
Yesterday, 17:10
Forum: Ich brauche Hilfe
Topic: Gui, Show, AutoSize
Replies: 5
Views: 82

Re: Gui, Show, AutoSize

Moin,

Gui, Show, AutoSize bedeutet nur, das die Fensterfläche, in der die Controls dargestellt werden, automatisch aus den z.Zt. sichtbaren Controls berechnet wird. Mit der Größe der einzelnen Controls hat das nichts zu tun. Die musst Du selbst bestimmen, wenn Dir die Standardgrößen nicht genügen.
by just me
Yesterday, 04:29
Forum: Ich brauche Hilfe
Topic: VBA: Text nach unten schieben
Replies: 6
Views: 85

Re: VBA: Text nach unten schieben

Moin,

auch wenn das kleinlich klingen mag, mit VB(A) hat das wenig zu tun. Hier geht es um die in AHK eingebaute Unterstützung von COM Objekten. Die VB(A) Syntax liefert aber gute Hinweise darauf, wie man die Objekte in AHK ansprechen kann.
by just me
Yesterday, 03:56
Forum: Ich brauche Hilfe
Topic: Autohotkey unter Windows CE
Replies: 3
Views: 73

Re: Autohotkey unter Windows CE

Die Windows-internen API Funktionen sind in Teilen unterschiedlich. Die AHK CE Version mag deshalb unter einem 'normalen' Windows nicht laufen. Höchstwahrscheinlich gilt das auch für die 'normale' Version auf Win CE. Wenn Du wirklich meinst, dass sich der Aufwand lohnt, solltest Du das einfach mal a...
by just me
14 Nov 2018, 11:36
Forum: Ask For Help
Topic: Clicking a specific button
Replies: 31
Views: 432

Re: Clicking a specific button

Get a window 'Found and tried to click the button!' ? Whats the next step please? Well, we can put the code into a small function which can be called whereever you need it: ClickSageMailButton() { WinTitle := "Sage 50 Accounts Professional - GRP(UK)LTD" ; the window's title BtnClass := "#SG32DTBUTT...
by just me
14 Nov 2018, 06:16
Forum: Ask For Help
Topic: Press Enter - Jump to specific control
Replies: 6
Views: 102

Re: Press Enter - Jump to specific control

; get a handle to the GUI window and store it in HGUI Gui +hwndHGUI ; add the GUI window to the window group AhkGui GroupAdd AhkGui, ahk_id %HGUI% ; start of context-sensitive hotkeys, they will be triggered only if one (the only one) window of the group AhkGui is active #IfWinActive ahk_group AhkG...
by just me
13 Nov 2018, 10:33
Forum: Ask For Help
Topic: What's wrong with my function ?
Replies: 7
Views: 95

Re: What's wrong with my function ?

MaxWindow("maximize.png", MyvarX, MyvarY) MaxWindow(Filename, ByRef varX, ByRef varY) { varX := varY := "" Loop { imagesearch, varX, varY, 0,0, A_ScreenWidth, A_ScreenHeight, *30 %Filename% if ErrorLevel = 0 { Click, %varX%, %varY% Break } else { MsgBox, NIET gevonden ! ExitApp continue } } return ...
by just me
13 Nov 2018, 10:28
Forum: Ask For Help
Topic: Press Enter - Jump to specific control
Replies: 6
Views: 102

Re: Press Enter - Jump to specific control

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. #SingleInstance Force ; #MaxThreadsPerHotkey 2 SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorking...
by just me
13 Nov 2018, 10:12
Forum: Ich brauche Hilfe
Topic: Autohotkey unter Windows CE
Replies: 3
Views: 73

Re: Autohotkey unter Windows CE

Moin,

es gab mal eine inoffizielle AHK Version für Windows CE. Ich habe damit vor Jahren mal recht erfolglos herumgspielt. Ich glaube nicht, dass Dir das viel Freude bereiten wird.
by just me
13 Nov 2018, 10:09
Forum: Ich brauche Hilfe
Topic: word array in einem Loop
Replies: 3
Views: 46

Re: word array in einem Loop

Moin, das ist ein gutes Beispiel für die Verwendung der StrSplit() Funktion : #NoEnv Target := "C:\Fotos\02 Export" FileSelectFile, SelectedFiles, M3, , Dateien auswählen, Bilder (*.jpg) If (SelectedFiles <> "") { SelectedFiles := StrSplit(SelectedFiles, "`n") ; Auswahl in ein Array überführen Folde...
by just me
13 Nov 2018, 06:13
Forum: Ask For Help
Topic: Trim() deletes a word in the middle. Oops ? normal? Topic is solved
Replies: 2
Views: 57

Re: Trim() deletes a word in the middle. Oops ? normal? Topic is solved

Code: Select all

MsgBox, % Trim("  Busstops is bugieee[  ", " `t`r`n")
/*
---------------------------
H4814091.ahk
---------------------------
Busstops is bugieee[
---------------------------
OK
---------------------------
*/
I'd like to see your addAutoKeywords() function.
by just me
13 Nov 2018, 06:04
Forum: Ask For Help
Topic: Clicking a specific button
Replies: 31
Views: 432

Re: Clicking a specific button

Sorry, I made a silly mistake using WinGetText instead of ControlGetText . :facepalm: This might have a better chance to find your button: #NoEnv WinTitle := "Sage 50 Accounts Professional - GRP(UK)LTD" ; the window's title BtnClass := "#SG32DTBUTTON" ; the fix leading part (the class name) of the C...
by just me
13 Nov 2018, 03:20
Forum: Ich brauche Hilfe
Topic: wParam, lParam herausfinden Topic is solved
Replies: 5
Views: 101

Re: wParam, lParam herausfinden Topic is solved

Moin,

Window Detective/Winspector alternative for 64-bit?

Die von Dir bisher genutzten Programme scheinen nur 32-bittig zu sein. Wenn das so ist, können sie 64-bit Anwendungen nicht überwachen.
by just me
13 Nov 2018, 03:04
Forum: Forum Issues
Topic: Fixing codeboxes
Replies: 63
Views: 1565

Re: Fixing codeboxes

Thanks so far. Any chance to get dark lettering on light background for Simplicity?
by just me
12 Nov 2018, 21:05
Forum: Ask For Help
Topic: GuiControl label +g does not work if a Class method (a Class function) reference is set directly! (Seems like a bug!)
Replies: 3
Views: 96

Re: GuiControl label +g does not work if a Class method (a Class function) reference is set directly! (Seems like a bug!

GuiControl -> Functor [v1.1.20+]: To set a function object for handling the control's events, Value must be a single variable reference, as in either of the following examples. Other expressions which return objects are currently unsupported. GuiControl +g, ControlID, %FuncObj% GuiControl +g, Contr...
by just me
12 Nov 2018, 12:07
Forum: Ask For Help
Topic: Menu, ..., Rename error (bug?)
Replies: 6
Views: 108

Re: Menu, ..., Rename error (bug?)

That doesn't sound right...
I don't understand. If you have one menu item named Start and replace this item's name with Start the name Start still occurs only once within the menu.

This kind of 'renaming' doesn't make sense, but it shouldn't terminate the current thread.
by just me
12 Nov 2018, 11:48
Forum: Ask For Help
Topic: Menu, ..., Rename error (bug?)
Replies: 6
Views: 108

Re: Menu, ..., Rename error (bug?)

If you rename a menu item with its own name, the name stays unique within the menu.
by just me
12 Nov 2018, 07:16
Forum: Ask For Help
Topic: Menu, ..., Rename error (bug?)
Replies: 6
Views: 108

Menu, ..., Rename error (bug?)

The following code #NoEnv Menu, CtxMenu, Add, Start, MenuHandler Menu, CtxMenu, Add, Exit, GuiClose HMENU := MenuGetHandle("CtxMenu") Gui, Show, w400 h400, Right-Click ContextMenu Return GuiClose: ExitApp GuiContextMenu: NewName := "Start" Menu, CtxMenu, Rename, Start, %NewName% ; If !DllCall("Modif...
by just me
12 Nov 2018, 04:54
Forum: Ask For Help
Topic: Clicking a specific button
Replies: 31
Views: 432

Re: Clicking a specific button

One last attempt. Do you see your button in the list? #NoEnv WinTitle := "Sage 50 Accounts Professional - GRP(UK)LTD" ; the window's title WinGet, CtrlList, ControlListHwnd, %WinTitle% Gui, Add, ListView, w600 r10, Class|Text Loop, Parse, CtrlList, `n { HWND := A_LoopField WinGetClass, WinClass, ahk...
by just me
12 Nov 2018, 04:33
Forum: Forum Issues
Topic: Fixing codeboxes
Replies: 63
Views: 1565

Re: Fixing codeboxes

Loop, % ColorArray.Length() + 1 { Opts := (A_Index = 1) ? "xm ym" : (Mod(A_Index, 16) = 1) ? "xm y+-1" : "x+-1 yp" Gui, Add, Text, %Opts% w24 h24 +Border gColorSelected vC%I% I++ } Still no indentation in code boxes after about a month. That's not a 'nice to have' function for a coder forum. What's...

Go to advanced search