I have looked at both python and TCL but can't get anything to work without runtime errors.
Does anyone have any scripts I would use to simply open an xlsx in a shutdown script.
I have looked at both python and TCL but can't get anything to work without runtime errors.
Does anyone have any scripts I would use to simply open an xlsx in a shutdown script.
set filename {yourfilenameinclpath}
set shortname rfile attributes $filename -shortname]
exec cmd.exe /k start $shortname &
import os
os.system("Book1.xlsx") # Assuming your filename is Book1.xlsx
If this doesn't work, you can include the "start" word:
import os
os.system("start Book1.xlsx")
If your XLSX is in another directory than your FME script, give it an absolute path.
import os
os.system("Book1.xlsx")