acantor Posted September 30, 2020 Report Share Posted September 30, 2020 This isn’t a hard challenge. But I’m finding the macro I built to be indispensable. I use it almost every day, and sometimes many times in an hour. When saving a document, email message, image, web page, etc., "Save as" dialog boxes in most applications includes basic file management functions. For example, you can navigate from folder to folder, choose different file types, delete files, rename files, change the view, sort and filter, etc. These tasks can be done by pointing and clicking, and with a bit of effort, by pressing keys on the keyboard. I often need to create new folders after I have opened the "Save as" dialog box. Modern "Save as" windows sport a conspicuous "New folder" button. But I don’t know any "Save as" windows that include a built-in hotkey for creating new folders. The challenge: make a Macro Express script, triggered by the hotkey of your choice, that creates a new folder within the current folder in the "Save as" dialog boxes of the applications you use most. My script works in Word, Outlook, PowerPoint, Excel, and Firefox. A few rules: 1. Your macro should work (1) for any display setting, and (2) in windows of any size: So if you maximize the "Save As" dialog box, or change a display setting in the Control Panel (e.g., screen resolution, dots per square inch, etc.) your script should still function. So you probably cannot meet this requirements if your macro clicks on the x-y coordinate of the "New Folder" button! That would be too easy! 2. Design your macro to be easily extendable. For example, it you start using a new application, make it easy to revise the macro so the hotkey also works in its "Save As" dialog box. As I mentioned, this challenge isn't that hard. It would have been more difficult had you tried it in the past. Modern "Save As" dialog boxes are nearly identical. When I first scripted this macro, years ago, each program’s "Save As" dialog had a slightly different layout and organization, so each program needed to be handled separately. And sometimes, this is still true. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.