mattyman Posted September 3, 2007 Report Share Posted September 3, 2007 Hi there This is probably easy but I wonder if anyone can help. In Macro express I need to be able to place my cursor in front of a word and then have a macro that deletes all of the text of that word leaving only the first letter intact. So, for example I place my cursor in front of Patrick, activate macro and only P is left. I move onto another word Michael activate macro and only M is left and so on. I do not need a macro to navigate from word to word, I do that manually. Thanks for any help Matt Quote Link to comment Share on other sites More sharing options...
Cory Posted September 4, 2007 Report Share Posted September 4, 2007 Ah, simple. Do atext type to Shift+Ctrl+Right_Arrow to highlight the entire word. Then cut it to your clipboard and copy only the first letter to the variable. Then just paste it back. These are fun ones. Text Type: <SHIFT><CONTROL><ARROW RIGHT><SHIFT><ARROW LEFT> Clipboard Cut Variable Set String %T1% from Clipboard Variable Modify String: Copy Part of %T1% to %T1% Variable Modify String: Save %T1% to Clipboard Clipboard Paste <TEXTTYPE:<SHIFT><CONTROL><ARROW RIGHT><SHIFT><ARROW LEFT>><CLIPT><TVAR2:01:03:><TMVAR2:10:01:01:001:001:><TMVAR2:16:01:00:000:000:><CLIPP> Quote Link to comment Share on other sites More sharing options...
mattyman Posted September 4, 2007 Author Report Share Posted September 4, 2007 Thanks for your help Cory. Works like a charm. Matt 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.