I have been trying to implement a simple help button on my screen that opens a pdf file.
I have tried both wx.wxExecute() and os.execute().
I can open a file explorer, or notepad with this in a screen script: wx.wxExecute("notepad.exe")
But when I just try to open a pdf file this way:
wx.wxExecute("C:\\Mach4Hobby\\Modules\\JNWDWKS\\Docs\\ProbeCenter_User_Manual.pdf")
It just gives me the attached pop saying it executed successfully, but nothing actually opens.
I've tried adding a start command, and I've also tried the lua os.execute() command and it does basically the same thing.
I get the same results from the screenload script, the button script, and a module.
I saw a thread on here from 2019 where a guy was having the same exact problem, but there wasn't any resolution.
Does anyone have a hint for me that I could try?
thanks,
jim