Set WshShell = CreateObject("WScript.Shell")
Set oFSO = CreateObject("Scripting.FileSystemObject")
' Example: path to the script, in the MM Scripts folder... but could be anywhere
path = SDB.ScriptsPath & "PyScript.pyw"
' Launch the script...
paths = oFSO.GetFile(path).ShortPath
Thanasis wrote:Yes but I think mcow's solution will invoke the Windows UAC message !!!
mcow wrote:Thanasis wrote:Yes but I think mcow's solution will invoke the Windows UAC message !!!
I can't specifically say no because I'm not using Windows 7, but on XP I run as an ordinary user and run my scripts all the time with no permissions failure.
Users browsing this forum: No registered users and 3 guests