Search found 9347 matches

by just me
Today, 02:56
Forum: Ask for Help (v1)
Topic: Loading data blob to the Clipboard (using WinClip library)
Replies: 6
Views: 103

Re: Loading data blob to the Clipboard (using WinClip library)

Hi JnLlnd , there are only 2 possibilities to return 0 from _toclipboard() : if !WinClipAPI.OpenClipboard() The clipboard couldn't be opened. while ( offset < size ) { ... Size is 0 or less or the contents of data is invalid. You can simply check it by adding a few message boxes to _toclipboard() to...
by just me
Yesterday, 08:34
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-17
Replies: 13
Views: 2932

Re: Class ToolTipOptions - 2024-03-17

Hi @kunkel321,
thanks! I changed the class to support 6-xdigit color strings. (I mistakenly assumed that AHK v2 doesn't support such color strings any more.)
Continue to have fun with AHK!
by just me
Yesterday, 07:45
Forum: Ask for Help (v1)
Topic: Loading data blob to the Clipboard (using WinClip library)
Replies: 6
Views: 103

Re: Loading data blob to the Clipboard

At least:

Code: Select all

class WinClipJL extends WinClip
{
	SetData( dataBuff, dataSize )
dataBuff must be passed ByRef.
by just me
16 Mar 2024, 05:58
Forum: Scripts and Functions (v1)
Topic: [Class] LV_Colors - 1.1.05.00 (2024-03-16)
Replies: 151
Views: 69530

Re: [Class] LV_Colors - 1.1.05.00 (2024-03-16)

With his last update for AHK 1.1 @lexikos ported a change from v2 which prevents scripts like Class_LV_Colors.ahk from freezing. Many thanks for this change.
Now this is my last update to Class_LV_Colors.ahk. Version 1.1.05.00 is available on GitHub.
by just me
15 Mar 2024, 10:32
Forum: Ask for Help (v1)
Topic: Looking for a way to execute a function from a GUI dropdown
Replies: 5
Views: 88

Re: Looking for a way to execute a function from a GUI dropdown

You also can leave your labels unschanged: #NoEnv #Requires AutoHotkey v1.1.33+ Gui, Add, DropDownList, x10 yp+10 vMySelection gProcessMySelection w120 h200, Polyline|Control curve|Through Curve|Bridge curves|Bridge from edge dir|Bridge from vertex Gui, Show Return ProcessMySelection: Gui, Submit, N...
by just me
15 Mar 2024, 10:07
Forum: Ask for Help (v2)
Topic: How to make the gui DateTime's default focus on day Topic is solved
Replies: 8
Views: 149

Re: How to make the gui DateTime's default focus on day Topic is solved

Another attempt: #Requires AutoHotkey v2.0 G1 := Gui() G1DT1 := G1.AddDateTime("w250", "yyyy-MM-dd") ; <<<<< needs to be adjusted G1DT1.OnNotify(-7, DT_SETEDTSEL) ; NM_SETFOCUS G1DT1.OnNotify(-753, DT_SETEDTSEL) ; DTN_CLOSEUP G1.Show() DT_SETEDTSEL(*) { SetTimer () => Send("{Right 2}"), -1 ; <<<<< n...
by just me
15 Mar 2024, 07:00
Forum: Ask for Help (v2)
Topic: OnExit dumpfile Listlines to txt file: Conversion to v2 Topic is solved
Replies: 2
Views: 73

Re: OnExit dumpfile Listlines to txt file: Conversion to v2 Topic is solved

;onExit write to txt file ram info dumpOnExit() { Local dumptxt := ScriptInfo("Listlines") If (A_ScriptName="*") FileOpen(A_ScriptDir "\wscriptShell_dump.txt", "w").Write(dumptxt) Else FileOpen(A_ScriptDir "\_dump.txt", "w").Write(dumptxt) } ScriptInfo(Command) { ; originally written by lexikos Sta...
by just me
14 Mar 2024, 10:53
Forum: Ask for Help (v2)
Topic: Why the ComboBox don't show all the items Topic is solved
Replies: 4
Views: 81

Re: Why the ComboBox don't show all the items Topic is solved

The documentation is your friend: Options -> Positioning and Sizing of Controls -> H n: ... Note that for DropDownLists and ComboBoxes, H is the combined height of the control's always-visible portion and its list portion (but even if the height is set too low, at least one item will always be visib...
by just me
14 Mar 2024, 10:37
Forum: Ich brauche Hilfe
Topic: Run(Wait) - Ergebnis prüfen Topic is solved
Replies: 4
Views: 103

Re: Run(Wait) - Ergebnis prüfen Topic is solved

Moin, wenn Du sämtliche Aufrufparameter (wie oben angedeutet) in eine Variable steckst, kannst Du die ja per MsgBox, Logdatei usw. prüfen. Der Aufruf muss dann angepasst werden: RunWait, %ComSpec% meinprogramm.exe %MeineParameterVariable% Was das aufgerufene Programm mit den übergebenen Werten anste...
by just me
14 Mar 2024, 05:39
Forum: Bug Reports
Topic: Gui Edit text flickering issue
Replies: 10
Views: 270

Re: Gui Edit text flickering issue

I can clearly see it. It only happens in combination with (MyGui.Opt("+OwnDialogs").
by just me
14 Mar 2024, 05:00
Forum: Ask for Help (v1)
Topic: Automated deletion of folder stopped working
Replies: 3
Views: 52

Re: Automated deletion of folder stopped working

IfExist, C:\Users\YOUR-USER-NAME\Documents\Kutools for Excel"
?
by just me
14 Mar 2024, 03:45
Forum: Scripts and Functions (v1)
Topic: [CLASS] CtlColors - color your controls (2017-10-30)
Replies: 67
Views: 37659

Re: [CLASS] CtlColors - color your controls (2017-10-30)

Hi @Spitzi, no. In v2 you can use the options
C: Color of text (has no effect on buttons and status bars).
and/or
BackgroundColor: Changes the background color of the control.
options for many controls.
by just me
14 Mar 2024, 03:36
Forum: Ich brauche Hilfe
Topic: shortcut mir strg und rechte maustaste halten Topic is solved
Replies: 6
Views: 145

Re: shortcut mir strg und rechte maustaste halten Topic is solved

Moin, es gibt in der deutschen Hilfe unter Hotkey-Modifikatorsymbole unter UP ein Beipiel, das vielleicht für Dich passend gemacht werden kann: #NoEnv XButton1Down := False ; ... ; ... ; ... XButton1:: XButton1Down := True Send, {Ctrl down}{RButton down} Return #If XButton1Down *XButton1 Up:: XButto...
by just me
12 Mar 2024, 04:11
Forum: Ask for Help (v2)
Topic: Build 2 Guis and then Move one into the other
Replies: 6
Views: 158

Re: Build 2 Guis and then Move one into the other

Instead of MinSize

Code: Select all

ac.Show("x0 y0 AutoSize")
?
by just me
12 Mar 2024, 03:51
Forum: Ask for Help (v2)
Topic: ControlFocus in v2
Replies: 4
Views: 151

Re: ControlFocus in v2

Code: Select all

F2::
{
    ; v2
    ActiveWinHWND := WinExist("A")
    MsgBox(ActiveWinHWND)
    FocusedHwnd := ControlGetFocus(ActiveWinHWND)
    MsgBox FocusedHwnd
    ; ........ doing some stuff in another window
    ControlFocus(FocusedHwnd ? FocusedHwnd : unset, ActiveWinHWND) ; <<<<<
    send "I am back"
}
?
by just me
11 Mar 2024, 05:07
Forum: Ask for Help (v2)
Topic: WinClip.SetBitmap paste works erratically
Replies: 3
Views: 72

Re: WinClip.SetBitmap paste works erratically

No, I think another action has copyied the path to the clipboard before you call SetBitmap().
by just me
11 Mar 2024, 05:02
Forum: Ask for Help (v2)
Topic: How to align two sets of Radio buttons Topic is solved
Replies: 2
Views: 51

Re: How to align two sets of Radio buttons Topic is solved

Code: Select all

For K, V In RadioButtons1 {
   RadioGroup1.Push(Wnd.AddRadio((K = 1 ? "xm" : "x") "+5 y15 w60 h20", V))
}
?
by just me
11 Mar 2024, 04:48
Forum: Ask for Help (v2)
Topic: WinClip.SetBitmap paste works erratically
Replies: 3
Views: 72

Re: WinClip.SetBitmap paste works erratically

There's nothing in WinClip() which would store the file path passed to SetBitmap() in the clipboard. Did you clear the clipboard?
by just me
10 Mar 2024, 05:26
Forum: Ask for Help (v2)
Topic: URLEncode for v2 and Decode too. Topic is solved
Replies: 8
Views: 817

Re: URLEncode for v2 and Decode too. Topic is solved

Hi william_ahk , Static CC := 4096 CC must not be Static because it's used as output parameter by UrlEscape() : [in, out] pcchEscaped ... When this function returns successfully, the value receives the number of characters written to the buffer, not including the terminating NULL character. If an E_...

Go to advanced search