Loop %0%
{
GivenPath := %A_Index%
Loop %GivenPath%, 1
LongPath = %A_LoopFileLongPath%
SetTitleMatchMode, 3
Run, Editor.exe
WinWaitActive, Open Image
[color=#FF0000]Send, %LongPath%[/color]
Send, {Enter}
}
ExitAppThis script is converted to exe and called from the Open With context menu




