Search found 13 matches

by mmelon
12 Apr 2024, 04:22
Forum: Scripts and Functions (v1)
Topic: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation
Replies: 52
Views: 43562

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

i seem to have a previously reported issue where the obfuscator is ignoring any stop or resume commands and doing all function names and labels regardless. Any ideas?
by mmelon
23 Feb 2024, 03:30
Forum: Scripts and Functions (v1)
Topic: SetClipboardHTML() for V1.1 & V2
Replies: 29
Views: 8399

Re: SetClipboardHTML() for V1.1 & V2

Hi Skan,

Thanks for this. Very useful. Can I ask, what are the limitations in terms of styling? Am I right the trident engine was used up to ie 11? So it will have CSS support similar to that browser?

thx
Mike
by mmelon
13 Apr 2023, 12:47
Forum: Scripts and Functions (v1)
Topic: Webapp.ahk - Make web-based apps with AutoHotkey
Replies: 51
Views: 24460

Re: Webapp.ahk - Make web-based apps with AutoHotkey

thx i've nearly got it. The problem (again) was where i was trying to do it. I think I am inside a function. It works if I gosub out and back. strange.
by mmelon
13 Apr 2023, 01:44
Forum: Scripts and Functions (v1)
Topic: Webapp.ahk - Make web-based apps with AutoHotkey
Replies: 51
Views: 24460

Re: Webapp.ahk - Make web-based apps with AutoHotkey

hi. would it be possible to spawn a conventional ahk gui outside of my webapp? i am trying this if(InStr(output,"clipboard")) { MsgBox rendered HTML is in clipboard gui,margin,0,0 gui, Add, ActiveX, x0 y0 w499 h1080 vWB, about:<!DOCTYPE html><meta http-equiv="X-UA-Compatible" content="IE=edge"> wb.d...
by mmelon
29 Mar 2023, 03:56
Forum: Scripts and Functions (v1)
Topic: Webapp.ahk - Make web-based apps with AutoHotkey
Replies: 51
Views: 24460

Re: Webapp.ahk - Make web-based apps with AutoHotkey

@joedf
thanks that works fine. My problem was I was trying to include it in

Code: Select all

; Our custom protocol's url event handler
app_call(args) {}
where it doesn't work.

I have moved it out of that function and now it works fine. You are brilliant.

Mike
by mmelon
27 Mar 2023, 01:36
Forum: Scripts and Functions (v1)
Topic: Webapp.ahk - Make web-based apps with AutoHotkey
Replies: 51
Views: 24460

Re: Webapp.ahk - Make web-based apps with AutoHotkey

Hi,

So I think it is being invoked with the standard webapp.ahk code

Code: Select all

__Webapp_AppStart:
;<< Header End >>

;Get our HTML DOM object
iWebCtrl := getDOM()
Mike
by mmelon
25 Mar 2023, 01:24
Forum: Scripts and Functions (v1)
Topic: Webapp.ahk - Make web-based apps with AutoHotkey
Replies: 51
Views: 24460

Re: Webapp.ahk - Make web-based apps with AutoHotkey

hi. I can't for the life of me make winactivate work on a webapp gui window. can anyone make it popup? would be much appreciated thx
by mmelon
08 Aug 2021, 07:49
Forum: Scripts and Functions (v1)
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 345
Views: 206341

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

does anyone know if AHI.SendKeyEvent(keyboardId, GetKeySC(key), state) can respect Sendlevel? I think my other hotkeys aren't being triggered by SendKeyEvent because the sendlevel isn't high enough. It works when I use send with sendlevel 2. Another question: When I send a key event does it set isAc...
by mmelon
05 Aug 2021, 15:40
Forum: Ask for Help (v1)
Topic: Control sending a key down and having it latch
Replies: 2
Views: 194

Control sending a key down and having it latch

Hi I have a script that replays a stored memory of pressed and released keys. It works great with send. I now need it to target different windows depending on a flag. Changing send to control send means all of my X down keys are being released straight away. It worked fine with send. I’m sure there ...
by mmelon
05 Aug 2021, 03:55
Forum: Scripts and Functions (v1)
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 345
Views: 206341

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

Hi, I am creating hotkeys using the hotkey command that call a label. Inside the label I want to record the device that pressed the key. if(cm2.IsActive) { device := "keyboard2" } doesn't work well. Presumably because when the label is reached, the isactive status of cm2 has expired. Does anyone kno...
by mmelon
09 Jul 2020, 02:51
Forum: Scripts and Functions (v1)
Topic: Webapp.ahk - Make web-based apps with AutoHotkey
Replies: 51
Views: 24460

Re: Webapp.ahk - Make web-based apps with AutoHotkey

Hey. For whatever reason I didn't understand your example using mywindow at the time. Looking at it now it looks great. Just wanted to say thanks for making this. So useful
by mmelon
24 Jul 2019, 12:02
Forum: Scripts and Functions (v1)
Topic: Webapp.ahk - Make web-based apps with AutoHotkey
Replies: 51
Views: 24460

Re: Webapp.ahk - Make web-based apps with AutoHotkey

Hi, I wanted to execute JQuery in the UI from AHK events. I thought there would be a way to do execute js in the page from autohotkey. I am currently doing it like this, but i'm sure there is a neater way: if(buttonsActive == 0) { wb.Document.getElementById("scriptHolder").setAttribute("onClick","$(...
by mmelon
22 Jul 2019, 12:57
Forum: Scripts and Functions (v1)
Topic: Webapp.ahk - Make web-based apps with AutoHotkey
Replies: 51
Views: 24460

Re: Webapp.ahk - Make web-based apps with AutoHotkey

am i missing a way to eval() some code in the context of the gui/webpage? e.g wb.eval("alert('test');")

Go to advanced search