Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: Multiple copy and paste thing

HTVi
TV Discussion Newsgroups

Multiple copy and paste thing
TefJlives <gmarkowsky[ at ]gmail.com> 5/8/2007 4:47:06 AM
Hi all,

For my job, I often have a group of about 10 commands that I need to
type very often. I am thinking that it would be nice to rig up a
program(unless there already is one) where I could enter a bunch of
strings, and then when I press RightShift-r it would enter one
string, then RightShift-q for another, etc, up to 26 possible
strings. Just like copy and paste, but with many different
possibilities. I thought, if possible, I could make it use the right
shift because I never use that key. So, does anyone know if
something like that is doable in windows? I don't know how to isolate
the
right control, I also don't know how to make it paste it where the
cursor is. I have no idea whether this is possible, but if anyone has
any suggestions that would be great.

Greg

Re: Multiple copy and paste thing
Panda <paul.dambra[ at ]gmail.com> 5/8/2007 12:01:06 PM
If the commands change e.g. pasting to different locations each time
you run the job. I'd be tempted to make a script that reads the
locations in from a text file and repeats the same behaviour on
each...

You'd need to give more details but you can use the wshsell object to
run commands that you would run at the command prompt in vbscript...
googling that should get you going.



Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen