myztalk112 Posted February 17, 2016 Report Share Posted February 17, 2016 Hi, Can anyone give me a pointer as to whether it's possible to create a macro that will convert all text in a regular Windows filename to lowercase (via Win Explorer > F2 rename). Thx in anticipation. Gary Quote Link to comment Share on other sites More sharing options...
rberq Posted February 17, 2016 Report Share Posted February 17, 2016 In Windows Explorer, manually place mouse over file name, click once to select the name. You could use other techniques, manual or macro-driven to do the selection. Macro can then do this: Type <ALTD>f<ALTU>m which highlights the name to be changed. Clipboard Copy the highlighted name. Set String T1 from clipboard. Variable Modify String: Lowercase %T1% Text Type T1 which overtypes the highlighted name. Text Type <ENTER> 1 Quote Link to comment Share on other sites More sharing options...
myztalk112 Posted February 18, 2016 Author Report Share Posted February 18, 2016 Thx . . . I'll give it a try! Quote Link to comment Share on other sites More sharing options...
acantor Posted February 20, 2016 Report Share Posted February 20, 2016 <F2> does the same thing as <ALTD>f<ALTU>m ...and is less likely to misfire. Do you also want to lowercase the file extension? Because if you do, you may need to do something like this... Text Type <F2> ' select the name TextType <SHIFT><END> ' extend selection to include the extension Clipboard Copy ' the selected name Set String %T1% from clipboard Variable Modify String: Lowercase %T1% Text Type %T1% ' type over the selected name Text Type <ENTER> If you want the macro to be ready to do the same thing to the next file, add this line: Text Type <DOWN> Quote Link to comment Share on other sites More sharing options...
myztalk112 Posted February 20, 2016 Author Report Share Posted February 20, 2016 Thanks for your help! Quote Link to comment Share on other sites More sharing options...
rberq Posted February 20, 2016 Report Share Posted February 20, 2016 <F2> does the same thing as <ALTD>f<ALTU>m ...and is less likely to misfire. True. If I didn't have F2 tied to another macro. 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.