Convert Shell Explorer Synthax to Xyplorer Open With CFA

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Ampere
Posts: 29
Joined: 21 Aug 2022 06:04

Convert Shell Explorer Synthax to Xyplorer Open With CFA

Post 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 1347 times
no similar examples..
can someone help?

highend
Posts: 14566
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Convert Shell Explorer Synthax to Xyplorer Open With CFA

Post 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?
One of my scripts helped you out? Please donate via Paypal

Ampere
Posts: 29
Joined: 21 Aug 2022 06:04

Re: Convert Shell Explorer Synthax to Xyplorer Open With CFA

Post 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 1333 times
Some quoting missing, so the space problem?

Ampere
Posts: 29
Joined: 21 Aug 2022 06:04

Re: Convert Shell Explorer Synthax to Xyplorer Open With CFA

Post 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 1328 times

highend
Posts: 14566
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Convert Shell Explorer Synthax to Xyplorer Open With CFA

Post 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>");
One of my scripts helped you out? Please donate via Paypal

Ampere
Posts: 29
Joined: 21 Aug 2022 06:04

Re: Convert Shell Explorer Synthax to Xyplorer Open With CFA

Post by Ampere »

Thanks Highend, exactly this kind of generalization I was looking for.

Post Reply