Hello!
I open a text file with the following command.Until this text file is closed, JSL is in a waiting state and cannot perform operations later in JSL.
Store the RunProgram object in a variable.
rp = Run Program( executable( "notepad.exe" ) );
If you don't keep the RunProgram object somewhere, JMP deletes the object. When the RunProgram object is deleted, it can't always force the remote program to terminate. It has to wait for the remote program to gracefully end.
Thank Craige!
Yes, I found other ways
Launch the text file with AHK
AHK
Run C:\1\ABC.txt
Just run the AHK through JSL and it will work.
run program(executable("I:\00\AHK\AutoHotkey.exe"),options({"D:\`AHK\TXT.ahk"}));
How does this change the code?
win 7 64BIT
jmp 14
Thanks!
Run Program( executable( "I:\00\Em64\EmEditor.exe" ), options( {"C:\1\ABC.txt"} ) );