Page 1 of 1

Convert Shell Explorer Synthax to Xyplorer Open With CFA

Posted: 08 Oct 2025 00:19
by Ampere
Extracted some AHK shell menu commans with Shell Menu app ... trying to use them inside xyplorer in the CFA POW menu, but the syntax not working properly

Code: Select all

Compile script  
.ahk
Compile
C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe
"C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe" /in "%l" %*

Compile script (GUI)...
.ahk
Compile-Gui
C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe
"C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe" /gui /in "%l" %*

Edit script
.ahk
"C:\Program Files\AutoHotkey\UX\AutoHotkeyUX.exe" "C:\Program Files\AutoHotkey\UX\ui-editor.ahk" "%1"

Launch
C:\Program Files\AutoHotkey\UX\AutoHotkeyUX.exe
"C:\Program Files\AutoHotkey\UX\AutoHotkeyUX.exe" "C:\Program Files\AutoHotkey\UX\launcher.ahk" /Launch "%1" %*
Tried

Code: Select all

|"Launch" ahk> "C:\Program Files\AutoHotkey\UX\AutoHotkeyUX.exe" "C:\Program Files\AutoHotkey\UX\launcher.ahk" /Launch "%1" %*
|"Edit with Visual Code" ahk;php;xml;js;ini;css;ahk;xml;js;txt> "C:\USERS\Leand\AppData\Local\Programs\Microsoft VS Code\Code.exe"
|"Compile script" ahk>"C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe" /in "%l" %*
|"Compile script (GUI)..." ahk>C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe "C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe" /gui /in "%l" %*
"Edit script" ahk>C:\Program Files\AutoHotkey\UX\AutoHotkeyUX.exe "C:\Program Files\AutoHotkey\UX\AutoHotkeyUX.exe" "C:\Program Files\AutoHotkey\UX\ui-editor.ahk" "%1"
"RunAs" ahk>"C:\Program Files\AutoHotkey\UX\AutoHotkeyUX.exe" "C:\Program Files\AutoHotkey\UX\launcher.ahk" "%1" %*
"Run with UI access" ahk> "C:\Program Files\AutoHotkey\UX\AutoHotkeyUX.exe" "C:\Program Files\AutoHotkey\UX\launcher.ahk" /runwith UIA "%1" %*
and

Code: Select all

+|"Launch" ahk> "C:\Program Files\AutoHotkey\UX\AutoHotkeyUX.exe" "C:\Program Files\AutoHotkey\UX\launcher.ahk" /Launch "<curitem>" 
+|"Edit script" ahk>"C:\Program Files\AutoHotkey\UX\AutoHotkeyUX.exe" C:\Program Files\AutoHotkey\UX\ui-editor.ahk <curitem>
+|"RunAs" ahk>""C:\Program Files\AutoHotkey\UX\AutoHotkeyUX.exe" "C:\Program Files\AutoHotkey\UX\launcher.ahk" <curitem> 
searched the Help File but it only says:
XYplorer Help 07_10_2025 , 19_16_16 SS.png
XYplorer Help 07_10_2025 , 19_16_16 SS.png (59.46 KiB) Viewed 1353 times
no similar examples..
can someone help?

Re: Convert Shell Explorer Synthax to Xyplorer Open With CFA

Posted: 08 Oct 2025 00:30
by highend

Code: Select all

|"Launch" ahk>"C:\Program Files\AutoHotkey\UX\AutoHotkeyUX.exe" "C:\Program Files\AutoHotkey\UX\launcher.ahk" /Launch "<curitem>" 
Works fine, where is the problem?

Re: Convert Shell Explorer Synthax to Xyplorer Open With CFA

Posted: 08 Oct 2025 00:45
by Ampere
True!! Sorry, that one is ok...Thanks Highend
the Edit one

Code: Select all

|"Edit script" ahk>"C:\Program Files\AutoHotkey\UX\AutoHotkeyUX.exe" C:\Program Files\AutoHotkey\UX\ui-editor.ahk "<curitem>"
I'm getting
Program 07_10_2025 , 19_43_11 SS.png
Program 07_10_2025 , 19_43_11 SS.png (13.76 KiB) Viewed 1339 times
Some quoting missing, so the space problem?

Re: Convert Shell Explorer Synthax to Xyplorer Open With CFA

Posted: 08 Oct 2025 00:49
by Ampere
and When i Quote the second parameter get:
ui-editor.ahk 07_10_2025 , 19_48_49 SS.png
ui-editor.ahk 07_10_2025 , 19_48_49 SS.png (20.61 KiB) Viewed 1334 times

Re: Convert Shell Explorer Synthax to Xyplorer Open With CFA

Posted: 08 Oct 2025 01:37
by highend
No time to look at their stuff, just use e.g.:

Code: Select all

|"Edit script" ahk>::run lax("C:\Program Files\AutoHotkey\UX\AutoHotkeyUX.exe" "C:\Program Files\AutoHotkey\UX\ui-editor.ahk" "<curitem>");

Re: Convert Shell Explorer Synthax to Xyplorer Open With CFA

Posted: 08 Oct 2025 02:43
by Ampere
Thanks Highend, exactly this kind of generalization I was looking for.