Evgenych Posted December 26, 2004 Share Posted December 26, 2004 How can I get full path to exe of the window? Link to comment Share on other sites More sharing options...
friends Posted December 26, 2004 Share Posted December 26, 2004 How can I get full path to exe of the window?<{POST_SNAPBACK}>u can use @WorkingDir .... check out the HELPFILE Link to comment Share on other sites More sharing options...
Evgenych Posted December 26, 2004 Author Share Posted December 26, 2004 I meant path to exe (application) which have created particular window. Link to comment Share on other sites More sharing options...
this-is-me Posted December 26, 2004 Share Posted December 26, 2004 In the beta version, there is a function called WinGetProcess or something similar. Who else would I be? Link to comment Share on other sites More sharing options...
Evgenych Posted December 27, 2004 Author Share Posted December 27, 2004 Retrieves the Process ID (PID) associated with a window.WinGetProcess ( "title" [, "text"])Parameterstitle The title of the window to read. text [optional] The text of the window to read. Return ValueSuccess: Returns a numeric Process ID (PID). Failure: Returns -1.If I know PID is it possible to determine exe full path? Link to comment Share on other sites More sharing options...
Insolence Posted December 27, 2004 Share Posted December 27, 2004 Well you can search for it, but that's very crude and may come up with multiples "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
Evgenych Posted December 27, 2004 Author Share Posted December 27, 2004 PowerPro plugin win.dll has exported function: exepath(cl) returns full path to exe of first visible window matching cl (How) Can I use it in AutoIt script? Link to comment Share on other sites More sharing options...
ezzetabi Posted December 27, 2004 Share Posted December 27, 2004 If you know the exact sintax and it is compatible with Autoit's DllCall command you should have no problems. Link to comment Share on other sites More sharing options...
Coffee Posted December 27, 2004 Share Posted December 27, 2004 Yes it should be added somewhere just for the sake of not having to muck with it anymore. Although little use for it I hate messing with it when it comes up.Without a third party .dll or external program you have to use GetWindowThreadProcessID or an autoit alternative then DLLcall with PSAPI for win2k, xp, or 2003some toying around has also been done here.for win 9x/nt however you need GetWindowTHreadProcessID and use DLLcall with toolhelp more than likely. Probably better off with third party or chanting for this to be coded up. It is really more headache than it is worth although I do see some small uses for it.If your wanting legit process info then get a third party, or grab an external .dll , maybe even the one Larry has going might takle this, at least for the time being. If its for a game trainer (blah) your better off looking offsit. Who knows, should it be done? 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