ozbodd Posted May 31, 2007 Share Posted May 31, 2007 Thanks to the help on this forum I can get all the processes of applications running and their file paths. However I cannot seem to get the same information (In particular the path to the file) for a file opened by an application, for example a word document viewing a doc file or Adobe viewing a jpg file. Do PID's exist for these items? Is it possible to get the path to these open files? Thanks Link to comment Share on other sites More sharing options...
ozbodd Posted June 1, 2007 Author Share Posted June 1, 2007 Bump A way enumerate child windows, find their path ... If it cannot be done someone put me out of my misery and I'll stop searching Cheers Link to comment Share on other sites More sharing options...
Gif Posted June 1, 2007 Share Posted June 1, 2007 BumpA way enumerate child windows, find their path ...If it cannot be done someone put me out of my misery and I'll stop searching Cheers_PathFull()and_ProcessGetName()sorry for the late reply , hope you see my reply;;; Link to comment Share on other sites More sharing options...
ozbodd Posted June 1, 2007 Author Share Posted June 1, 2007 _PathFull()and_ProcessGetName()sorry for the late reply , hope you see my reply;;;Thanks I will search the forums for their usage. Do you have any examples of how to use? Link to comment Share on other sites More sharing options...
Gif Posted June 1, 2007 Share Posted June 1, 2007 Thanks I will search the forums for their usage. Do you have any examples of how to use? ehh you probably dont know of the most important help you can get for autoit, the HELP FILE in scite... check it;;; 1. _PathFull(): #include <File.au3> _PathFull ( $szRelPath ) #include <file.au3> $TestPath = _PathFull(@ScriptDir & "..\..\test") MsgBox(0,"demo _PathFull",@ScriptDir & @lf & $TestPath)oÝ÷ Ûú®¢×¶>ºzËzÓZꮢעÉnuém>ºzË»x->ºzËzÓZí7ê#È «¢+Ø¥¹±Õ±ÐíAɽÍ̹ÔÌÐì()IÕ¸ ÅÕ½Ðí¹½ÑÁ¹áÅÕ½Ðì¤)]¥¹]¥ÑÑ¥Ù ÅÕ½ÐíU¹Ñ¥Ñ±´9½ÑÁÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì¤(ÀÌØíÁ¥ô]¥¹ÑAɽÍÌ ÅÕ½ÐíU¹Ñ¥Ñ±´9½ÑÁÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì¤(ÀÌØí¹µô}AɽÍÍÑ9µ ÀÌØíÁ¥¤()5Í ½à À°ÅÕ½Ðí9½ÑÁ´ÅÕ½ÐìµÀìÀÌØíÁ¥°ÀÌØí¹µ¤ Also you can find help in here... but help file is the most complete place with commands for autoit(exampls etc..) Link to comment Share on other sites More sharing options...
ozbodd Posted June 2, 2007 Author Share Posted June 2, 2007 Not sure how those will do what I want. I don't want the parent window path I can do that and close it, I am after the child window path, that is the path to the file window opened within an application window. 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