I tried to use Run command for starting program with many parameters with opening currently selected file.
It never opens selected file.
Here's command in AHK:
Code: Select all
Run, "D:\Emulation\Commodore\Kernal64\k128.bat" --vdc-80-startup --vdc-enabled --mmupanel-enabled --cpm64-enabled --int-rom "D:\Emulation\Commodore\_ROMs\ALL\C128\Internal\Megabit internal function ROM-Adapter.BIN"`,MEGABIT --drive10-local-path "D:\Commodore Harddisk"--drive8-type %argument% "%this_path%"
Variables are:
%argument% = model of disk
%this_path% = path to currently selected file - quotes are for possible spaces in path, in other parts of script always works
Comma is in arguments escaped.
Problem is that it opens not selected file.
I don't know why is variable "%this_path% ignored 'cause %argument% works - I know it by emulator behavior.
Can anybody help me with this not easy problem?
Thank you for all, each help, reply, comments or words.
Miro