Search found 170 matches

by hotkeyguy
19 Sep 2022, 12:25
Forum: Scripts and Functions (v1)
Topic: Rufaydium WebDriver 1.7.2 (no selenium/websocket)
Replies: 610
Views: 124773

Re: Rufaydium WebDriver 1.7.0 (no selenium/websocket)

Many thanks for all your efforts!

I'm an Firefox guy. Any news concerning Session.FRP (Firefox Remote Protocols)? Must inject JS code in my visited pages.
by hotkeyguy
03 Feb 2022, 13:37
Forum: Scripts and Functions (v1)
Topic: Radial menu scripts
Replies: 336
Views: 171274

Re: Radial menu scripts

How can I remotly show/hide RM by another AHK-Script? Not possible via Window messages, but maybe RM live code?
by hotkeyguy
01 Dec 2021, 12:57
Forum: Ask for Help (v1)
Topic: Ignore the shift key being held down
Replies: 6
Views: 2927

Re: Ignore the shift key being held down

I have the same problem. Shift is pressed, and I'm using SendInput for my text. The text shouldn't be altered by Shift, just send as is. I tried {Blind}{Shift Up}, the text is still all uppercase!
by hotkeyguy
29 Nov 2021, 16:50
Forum: Ask for Help (v1)
Topic: Hotkey: Using ~LShift/LShift Up + function call Topic is solved
Replies: 7
Views: 934

Re: Hotkey: Using ~LShift/LShift Up + function call Topic is solved

Based on your example... ~*LShift:: ~*LCtrl:: sMode := Mode() ToolTip, % "ModeDown (" sMode ")" KeyWait, LShift KeyWait, LCtrl return *LShift Up:: *LCtrl Up:: sMode := Mode() ToolTip, % "ModeUp (" sMode ")" KeyWait, LShift KeyWait, LCtrl return Mode() { return GetKeyState("LCtrl", "P") + 2 * GetKeyS...
by hotkeyguy
29 Nov 2021, 16:02
Forum: Ask for Help (v1)
Topic: Hotkey: Using ~LShift/LShift Up + function call Topic is solved
Replies: 7
Views: 934

Re: Hotkey: Using ~LShift/LShift Up + function call Topic is solved

...Wrong button, too fast... Hello mikeyww, I want to switch the mode of AHK-scripts depending of pressed modifier keys ( Shift , Ctrl and Alt ) and their combinations (e. g. Shift+Ctrl ). The corresponing AHK GUI must change after any of the modifier keys is pressed. Thats means when I press Shift ...
by hotkeyguy
29 Nov 2021, 13:17
Forum: Ask for Help (v1)
Topic: Hotkey: Using ~LShift/LShift Up + function call Topic is solved
Replies: 7
Views: 934

Hotkey: Using ~LShift/LShift Up + function call Topic is solved

Hello,

how can I use Hotkey with KeyNames ~LShift/LShift Up and a function call as Label? And modifier Shift should be processed by the active app as usual.


Many thanks and greetings
hotkeyguy
by hotkeyguy
27 Nov 2021, 12:46
Forum: Ask for Help (v1)
Topic: Hotkeys: Trigger only first modifier key down event (e. g. ~Shift::)
Replies: 3
Views: 866

Re: Hotkeys: Trigger only first modifier key down event (e. g. ~Shift::)

Hello mikeyww,

thanks for your answer! My problem is that I must be able to process other modifiers when one is already pressed. KeyWait blocks that.
In more detail combinations of the Shift-, Ctrl- and Alt-keys in any order are possible.

Greetings
hotkeyguy
by hotkeyguy
27 Nov 2021, 12:22
Forum: Ask for Help (v1)
Topic: Hotkeys: Trigger only first modifier key down event (e. g. ~Shift::)
Replies: 3
Views: 866

Hotkeys: Trigger only first modifier key down event (e. g. ~Shift::)

Hello again,

with e. g.
~Shift::
; do something
return

the event is triggered multiple times until Shift is released (triggering Shift Up::). Is there any way to avoid that or must I manage that behaviour by my own code?


Many thanks and greetings
hotkeyguy
by hotkeyguy
28 Oct 2021, 13:01
Forum: Ask for Help (v1)
Topic: Hotstring() via RButton only calling function (with parameters?) Topic is solved
Replies: 4
Views: 519

Re: Hotstring() via RButton only calling function (with parameters?) Topic is solved

Many thanks mikeyww for rerailing, I was confused Hotstring vs. Hotkey!
by hotkeyguy
28 Oct 2021, 12:40
Forum: Ask for Help (v1)
Topic: Hotstring() via RButton only calling function (with parameters?) Topic is solved
Replies: 4
Views: 519

Re: Hotstring() via RButton only calling function (with parameters?) Topic is solved

1. Using RButton as hotstring directly, calling a function, works: RButton:: HotFct() return HotFct() { MsgBox, , Hotstring, Triggered! } 2. HotString() -function, with hotstring "rb " works - but I want to use the right mouse button (RButton) as trigger, no text. Due to my requirement, I must be ab...
by hotkeyguy
28 Oct 2021, 11:08
Forum: Ask for Help (v1)
Topic: Hotstring() via RButton only calling function (with parameters?) Topic is solved
Replies: 4
Views: 519

Hotstring() via RButton only calling function (with parameters?) Topic is solved

Hello again, I want to control the behaviour of an running script for some seconds via the right mouse button. Hotstring() should call a function, when possible with parameters. I tried different RButton-"syntax" without success. I'm aware of option X (Execute) for calling a function. Any hints are ...
by hotkeyguy
27 Jul 2021, 11:10
Forum: Ask for Help (v1)
Topic: List Hotstrings
Replies: 1
Views: 223

List Hotstrings

Hello again,

is there a convenient way to get all my Hotstrings in an .ahk-file without parsing it?

Any hints are highly appreciated!


Many thanks and greetings
hotkeyguy
by hotkeyguy
31 May 2021, 14:11
Forum: Ask for Help (v1)
Topic: ComObjCreate: Get CLSID from "human-readable Prog ID" Topic is solved
Replies: 1
Views: 331

ComObjCreate: Get CLSID from "human-readable Prog ID" Topic is solved

Hello,

I assume I have a naming conflict with my COM object and want to check its CLSID. I'm able to get the COM object via its "human-readable Prog ID". How can I get the corresponing CLSID? And what's the correct syntax for using it as an parameter?


Many thanks and greetings
hotkeyguy
by hotkeyguy
08 May 2021, 08:53
Forum: Ask for Help (v1)
Topic: Non-standard desktop shortcuts, e. g. MS Office Word (Win 7)
Replies: 1
Views: 209

Non-standard desktop shortcuts, e. g. MS Office Word (Win 7)

Hello again, yep, usually when you open the context menu of standard desktop shortcuts the target (the executable with path) is shown in its properties. But not in the properties of e. g. Word. The dialog is different. Is there a name of these "special" shortcuts? The setting are stored in the regis...
by hotkeyguy
19 Apr 2021, 09:28
Forum: Ask for Help (v1)
Topic: COM object: Get double by ref from COM method
Replies: 4
Views: 472

Re: COM object: Get double by ref from COM method

I was able to get the value with that example:
ComObjActive() - Syntax & Usage | AutoHotkey with
... := ComVar( 5 ) ; VT_R8 := 5, 64-bit floating-point number
but I don't understand why that's so complicated compared to my first approach!

Any hints are highly appreciated!
by hotkeyguy
19 Apr 2021, 06:52
Forum: Ask for Help (v1)
Topic: COM object: Get double by ref from COM method
Replies: 4
Views: 472

Re: COM object: Get double by ref from COM method

Many thanks swagfag! No error messages, but I get no usefull numeric value back. Tried:
MyComObject.MyComMethod( dNumberRef[] )
dNumberRet := dNumberRef[] ; result is 0

Why is the result not in dNumber?


And must I free something at the end of my code?
by hotkeyguy
18 Apr 2021, 15:47
Forum: Ask for Help (v1)
Topic: COM object: Get double by ref from COM method
Replies: 4
Views: 472

COM object: Get double by ref from COM method

Hello, want to get an double dNumber by ref. Tried the following without success. My assumption is that COM doubles are 8 bytes long: VarSetCapacity( dNumber, 8, 0 ) ; VT_R8 := 5 ; 64-bit floating-point number ; VT_BYREF := 0x4000 ; Pointer to another type of value dNumberRef := ComObject( 5 + 0x400...
by hotkeyguy
16 Apr 2021, 08:44
Forum: Ask for Help (v1)
Topic: GUI ListView/ListBox RightClick-event with associated function object
Replies: 6
Views: 645

Re: GUI ListView/ListBox RightClick-event with associated function object

Why is the following not possible:
Menu, MenuItem, Add, % "MenuCaption", % FunctionObject.Call( "Parameter" )
or
Menu, MenuItem, Add, % "MenuCaption", %FunctionObject%( "Parameter" )
by hotkeyguy
15 Apr 2021, 15:08
Forum: Ask for Help (v1)
Topic: GUI ListView/ListBox RightClick-event with associated function object
Replies: 6
Views: 645

Re: GUI ListView/ListBox RightClick-event with associated function object

I'm aware of GuiContextMenu but its use is not so smooth compared to the ListView and an function object. When GuiContextMenu is triggered, the context menu is shown . I use GuiContextMenu as function, and for the menu items (LabelOrSubmenu) I'm using functions, too. My main question now is whether ...

Go to advanced search