How to create macro to perform series of O/S commands

R

Robert

I need software to make a macro that will do the following: (just perform a
series of mouse clicks...)
1. Start the Windows Zero Configuration service
2. Open "View Available Wireless Networks" -> select "Change advanced
settings" -> select "Wireless Networks" tab -> select "Use windows to
configure my wireless network settings"

I searched (Google) for macro creation software, and only could find
AutoHotKey. I followed the instructions of the page suggesting it - Record
-> do steps -> Stop -> convert marco to .exe -> run -- it all works until I
try to run it, it puts an "H" in the bottom corner of the screen by the
clock, and just sits there - right clicking give you the option to stop the
script, resume, or exit. I immediately uninstalled the software, as it
doesn't work. This should be really simple...

(I've tried to stop the wi-fi card software from taking over on start up - I
am not
interested in any help fixing that - I just want a macro to do the key steps
to fix it, that's on my desktop so I can double click it when I need it.)
 
R

Richard Urban

Robert said:
I need software to make a macro that will do the following: (just perform a
series of mouse clicks...)
1. Start the Windows Zero Configuration service
2. Open "View Available Wireless Networks" -> select "Change advanced
settings" -> select "Wireless Networks" tab -> select "Use windows
to
configure my wireless network settings"

I searched (Google) for macro creation software, and only could find
AutoHotKey. I followed the instructions of the page suggesting it -
Record
-> do steps -> Stop -> convert marco to .exe -> run -- it all works until
I
try to run it, it puts an "H" in the bottom corner of the screen by the
clock, and just sits there - right clicking give you the option to stop
the
script, resume, or exit. I immediately uninstalled the software, as it
doesn't work. This should be really simple...

(I've tried to stop the wi-fi card software from taking over on start up -
I
am not
interested in any help fixing that - I just want a macro to do the key
steps
to fix it, that's on my desktop so I can double click it when I need it.)



Will this do the job (Windows Screen Recorder)?
http://technet.microsoft.com/en-us/magazine/2009.03.utilityspotlight2.aspx?pr=blog
 
K

Klaus Jorgensen

Robert explained :
I need software to make a macro that will do the following: (just perform a
series of mouse clicks...)
1. Start the Windows Zero Configuration service
2. Open "View Available Wireless Networks" -> select "Change advanced
settings" -> select "Wireless Networks" tab -> select "Use windows to
configure my wireless network settings"
[...]
(I've tried to stop the wi-fi card software from taking over on start up - I
am not
interested in any help fixing that - I just want a macro to do the key steps
to fix it, that's on my desktop so I can double click it when I need it.)

I had the same problem as you at my work. The wireless connector
(Odyssey) disables the native Windows connector, so I could not connect
to other WLAN's.

I wrote a small scripts that disables the Odyssey service, and then
enables the WZC with the "Use Windows to configure..." option set.

Let me know if this is an option, and I'll post the script.
 
A

Anteaus

Been asked already I think, and I suggest you try AutoIt. This is probably
the most powerful click/keystroke controller you will find anywhere.
 
R

Robert Hall

Been asked already I think, and I suggest you try AutoIt. This is probably
the most powerful click/keystroke controller you will find anywhere.

Antivir reports AutoIt is a virus/trojan. (Setacl.exe)
I just downloaded AutoIt Script Editor addition to the main program -
from http://www.autoitscript.com/autoit3/downloads.shtml
(I downloaded the addition to the script editor to try to get the
program to like like an example I found of using it.)

This may be a false positive. I submitted it to Antivir for
analysis.

Anyway, this software is much more complicated than it needs to be. I
just want to record a couple mouse clicks in a macro. There should be
SIMPLE software to do that.
 
P

Paul Randall

Been asked already I think, and I suggest you try AutoIt. This is probably
the most powerful click/keystroke controller you will find anywhere.
Antivir reports AutoIt is a virus/trojan. (Setacl.exe)
I just downloaded AutoIt Script Editor addition to the main program -
from http://www.autoitscript.com/autoit3/downloads.shtml
(I downloaded the addition to the script editor to try to get the
program to like like an example I found of using it.)

This may be a false positive. I submitted it to Antivir for
analysis.

Anyway, this software is much more complicated than it needs to be. I
just want to record a couple mouse clicks in a macro. There should be
SIMPLE software to do that.

List all the ways that a window might be modified by the user before the
macro starts or while the macro is running, such as being repositioned,
stretched, minimized, hidden behind a popup window your virus checker pops
up, etc. Then think about how simple it would be for the macro to always
click the correct spots in the correct window. It is not so simple. I
think AutoIt does a fairly good job, especially considering its (free)
price.

-Paul Randall
 
B

Bill Sharpe

Robert said:
Antivir reports AutoIt is a virus/trojan. (Setacl.exe)
I just downloaded AutoIt Script Editor addition to the main program -
from http://www.autoitscript.com/autoit3/downloads.shtml
(I downloaded the addition to the script editor to try to get the
program to like like an example I found of using it.)

This may be a false positive. I submitted it to Antivir for
analysis.

Anyway, this software is much more complicated than it needs to be. I
just want to record a couple mouse clicks in a macro. There should be
SIMPLE software to do that.

Windows Scripting Host may do what you want, but you'll have to type in
your commands one time and then save them as a WSH file. It's a
Microsoft program -- Google for it.

Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top