While I have the script file opened in the Script Editor, I can "Save" changes, then "Create Exe" to compile and all is well.
However, if instead of using the Script Editor's "Create Exe" function, I run a command prompt to compile the script with the command:
Code: Select all
%PATH_TO_MS%\msrt.exe -COMPILE %SOURCE_FILE% %TARGET_FILE% -QUIET
Code: Select all
Problem signature:
Problem Event Name: APPCRASH
Application Name: msrt.exe
Application Version: 0.0.0.0
Application Timestamp: 4c0cc57f
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7600.16385
Fault Module Timestamp: 4a5bdbdf
Exception Code: 0eedfade
Exception Offset: 0000b727
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 8909
Additional Information 2: 8909162889776d0b4c0f7dc6c3d5fe32
Additional Information 3: 0988
Additional Information 4: 098873aaffe0ed2895e81993b7527378
Code: Select all
Exception EFOpenError in module msrt.exe at 0002FDC7.
Cannot open the file "(my path)test.scp".
The process cannot access the file because it is being used by another process.
Code: Select all
>type test.scp
The process cannot access the file because it is being used by another process.
This doesn't seem to happen with Macro Scheduler 11 that I can remember.
As to the reason behind my wish to compile externally, I just wanted to do the compile quietly. The Script Editor's "Create Exe" button required many mouse clicks for each of many many compiles. I would be thankful if there is away to make Script Editor's "Create Exe" happen with one click.