

Why do some lines in my script never execute?Īny lines you want to execute immediately when the script starts should appear at the top of the script, prior to the first hotkey, hotstring, or Return. Gui, blend_custom_layer:Show, x%XposA% y%YposA% h500 w500, menus Gui blend_custom_layer:+LastFound +AlwaysOnTop +ToolWindow Gui, blend_custom_layer:Add, Button, x21 y0 w200 h20 BackgroundTrans gnormal_blend_layer_command, Normal Gui, blend_custom_layer:Add, Button, x0 y0 w20 h20 BackgroundTrans gclosewanrmenu, ✘ Gui, blend_custom_layer: Font, s9,Segoe UI

but when it comes to gui menu and apply same code above it just doesnt work.here's the code for gui i posted 2 code for comparison ( GUI menu & context menu ).is there a workaround to make the below code to make it work? currently double tapping V doesnt do anything but single tapping works - Hotkey If (A_PriorHotKey = A_ThisHotKey and A_TimeSincePriorHotkey < 400) Menu, ps_context, Add, Cancel, close_context Menu, ps_context, Add, Normal, blending_normal_command when i double tap V => it will show up context menu commands.I have this code for context menu ( its working perfectly )
