DrGroove123 Posted November 10, 2005 Report Share Posted November 10, 2005 I'd like to write a series of Macros that operate on the highlighted file in a windows explorer menu. Can anyone recommend an elegant way to get the full file path (drive\path\filename.ext) from a highlighted file in explorer? I know I could copy the filename with F2.. then do Alt D to get the Path... but is there somthing more elegant? Some MacroExpress command like "Get Filename from window"? Is there some sort of handle or hook into the explorer API? thanks Great Product, btw. -Mark Quote Link to comment Share on other sites More sharing options...
robert-hk Posted November 16, 2005 Report Share Posted November 16, 2005 There might be a partial answer for you here: http://www.logicalexpressions.com/vbtip03.htm If you look at the registry entry for regsvr32.exe .... "%1", this shows where the highlighted filename would be passed to a program shown as an option resulting from a right click. I'm guessing that "meproc.exe" could similarly be passed the filename for further processing by ME. I don't yet know which command line options are appropriate. If you try this route please let me know. Quote Link to comment Share on other sites More sharing options...
randallc Posted November 16, 2005 Report Share Posted November 16, 2005 hi, are you serious about needing to use explorer click? some people jut don't realise tht me3 has its own windows explorer filepicker....? Randall Quote Link to comment Share on other sites More sharing options...
robert-hk Posted November 17, 2005 Report Share Posted November 17, 2005 Thanks for helping me discover "Variable Set String from Filename" and "Variable Set From File (Options) Get File Path Info". Sometimes the basics get overlooked and that's why checking with this forum is such a pleasure. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.