bairacdn2005 Posted August 14, 2010 Share Posted August 14, 2010 (edited) I need to set the workingdir to the currently active folder in Explorer in Win7 and it's required full path I tried to find a way to get the full path but didn't success. So I went up here and found this topic (It's been closed) http://www.autoitscript.com/forum/index.php?showtopic=28189 Gary has posted this func Func _WinGetPath($Title = "",$Text="", $strComputer = 'localhost') However its required those three parameters which I don't know how to get them, mostly the computer name. Is there anyway to use script to retrieve those parameters? I think I can only do with the title thou // and it's already been like four years so I wonder is this Win Get Path function has been developed and included in autoIT the current version? edit: I also notice that we can set display full path on title bar and retrieve it from there but not all the users have this configed so it wouldn't be a good solution (I don't have it config that way either) Edited August 14, 2010 by bairacdn2005 Link to comment Share on other sites More sharing options...
FlyinRiz Posted August 14, 2010 Share Posted August 14, 2010 // and it's already been like four years so I wonder is this Win Get Path function has been developed and included in autoIT the current version? I know a super easy way to find out The Help File Func _WinGetPath($Title = "",$Text="", $strComputer = 'localhost') However its required those three parameters which I don't know how to get them, mostly the computer name. Is there anyway to use script to retrieve those parameters? I think I can only do with the title thou Only the first value is required. The other two can be omitted and it should still work. The call is in the same script segment $a_path = _WinGetPath('Untitled - Notepad','', 'localhost') Or this would also work $a_path = _WinGetPath('Untitled - Notepad') -Aaron Link to comment Share on other sites More sharing options...
bairacdn2005 Posted August 15, 2010 Author Share Posted August 15, 2010 thank you for replying I had checked it but they didn't seem to have it here. I was wondering cuz it's been years seem like I have to use FileSelectFolder eventually Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now