Jump to content
Macro Express Forums

Simple Macros For Novices


mebrown1110

Recommended Posts

I'm not a Macro Express power user, but thought I'd share two very simple macros I use often. I don't do much error correction, but please sing out if you can see ways to bulletproof them.

 

1) I saw a piece of shareware that corrects a simple defect in the Windows Explorer -- namely, no "Create New Folder" button on the toolbar and no easy key combination to create a new folder. I thought, "I can create a macro that does that." This is the command I use in Win 2000 and XP; I don't know if the File>New>Folder sequence is different in other systems.

 

So when the Explorer window is open and I've clicked in the right pane, I press F12 to get a new folder.

 

Scope: Explorer.exe

Hotkey: F12

 

Text Type: <ALTD>f<ALTU>wf

 

 

2) I'm a tech writer and often have to hyphenate compound adjectives, or hyphenate a string of words in an email (like "hard-to-please"). So I wrote the following macro. Select the text to be hyphenated and press the hotkey.

 

Scope: Global

Hotkey: Ctrl+Alt+Shift+

 

Clear Text Variables: All

Clipboard Cut

Variable Set String %T1% from Clipboard

Replace " " with "-" in %T1%

Variable Modify String: Save %T1% to Clipboard

Clipboard Paste

 

Thanks -- Mike

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...