How to do this basic task

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
webber123456
Newbie
Posts: 11
Joined: Thu Aug 04, 2005 10:06 pm

How to do this basic task

Post by webber123456 » Thu Aug 04, 2005 10:10 pm

Just beginnning,

I would like to have a macro that when run from the quick launch adds some text to currnet open document, say in notepad.

Can this be done ?
________
Dragstar
Last edited by webber123456 on Thu Feb 10, 2011 9:37 pm, edited 1 time in total.

User avatar
CyberCitizen
Automation Wizard
Posts: 721
Joined: Sun Jun 20, 2004 7:06 am
Location: Adelaide, South Australia

Post by CyberCitizen » Fri Aug 05, 2005 2:13 am

You Could Either Create A Standalone EXE Or Even Have Just The Link To The Script File In The Quick Launch.

C:\Program Files\MJT Net Ltd\Macro Scheduler\msched.exe C:\Scripts\My Script.scp
SetFocus>notepad*
Send Character/Text>This Would Be The Text That Would Be Sent To Notepad.
FIREFIGHTER

User avatar
webber123456
Newbie
Posts: 11
Joined: Thu Aug 04, 2005 10:06 pm

Post by webber123456 » Fri Aug 05, 2005 4:58 am

that worked great.

another question if I may:

how to assign contents of clipboard to a variable so macro can act on the string ?
________
Colorado dispensaries
Last edited by webber123456 on Thu Feb 10, 2011 9:37 pm, edited 1 time in total.

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Fri Aug 05, 2005 5:53 am

GetClipBoard

May I suggest that you keep separate questions under their own subject. Makes it easier to locate topics of interest.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts