Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.

If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Is AutoActPath available for use in Python scripting?

Solved!
Go to solution

I'm looking into converting our scripts from VBS to Python.  All our scripts all use the AutoActPath to get the current script path but I can't get it to work in Python.  Any Ideas?

 

VBS:

msgbox AutoActPath    'this works

 

PY:

print (dd.AutoActPath)   'this doesn't work
print (AutoActPath)        'this doesn't work
0 Kudos
Message 1 of 2
(583 Views)
Solution
Accepted by Siriusly?
dd.CurrentScriptPath
0 Kudos
Message 2 of 2
(518 Views)