AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

logonto wireless

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
montiaro



Joined: 20 Feb 2008
Posts: 76

PostPosted: Wed Aug 27, 2008 5:03 am    Post subject: logonto wireless Reply with quote

i have a some code that is based on coordinates for reimputting the wireless key in, is there a way to make it so that it can do it on all computers that have the same setup but not same coordinates?

start>control panel>right click network connections>wireless connections
there is a lil more to it but tell me if anyone can help please
Back to top
View user's profile Send private message
montiaro



Joined: 20 Feb 2008
Posts: 76

PostPosted: Wed Aug 27, 2008 5:24 am    Post subject: Reply with quote

is there anyway to make it press start button and go to control panel? but not by coordinates
Back to top
View user's profile Send private message
poo_noo



Joined: 08 Dec 2006
Posts: 137
Location: Sydney Australia

PostPosted: Wed Aug 27, 2008 10:17 am    Post subject: Reply with quote

look up CLSID List (Windows Class Identifiers) in the help

Code:
run  ::{7007acc7-3202-11d1-aad2-00805fc1270e} ; Network Connections


It might get you started
_________________
Paul O
Back to top
View user's profile Send private message Visit poster's website
montiaro



Joined: 20 Feb 2008
Posts: 76

PostPosted: Wed Aug 27, 2008 8:26 pm    Post subject: Reply with quote

ok well that works very well right now but i need it to right click the wireless connection and go to view wireless access points and then press the wireless access point and then click connect and input the key
and by the way how did u get 7007acc7-3202-11d1-aad2-00805fc1270e (just curious so i know how to do it another time)
Back to top
View user's profile Send private message
poo_noo



Joined: 08 Dec 2006
Posts: 137
Location: Sydney Australia

PostPosted: Wed Aug 27, 2008 10:20 pm    Post subject: Reply with quote

http://www.autohotkey.com/docs/misc/CLSID-List.htm
_________________
Paul O
Back to top
View user's profile Send private message Visit poster's website
montiaro



Joined: 20 Feb 2008
Posts: 76

PostPosted: Thu Aug 28, 2008 5:26 am    Post subject: Reply with quote

after it opens control panel and network connections is there anyway to make it right click on one of the icons i want and go down to one of the options on the right click?
Back to top
View user's profile Send private message
montiaro



Joined: 20 Feb 2008
Posts: 76

PostPosted: Thu Aug 28, 2008 8:32 pm    Post subject: Reply with quote

bump?
Back to top
View user's profile Send private message
poo_noo



Joined: 08 Dec 2006
Posts: 137
Location: Sydney Australia

PostPosted: Thu Aug 28, 2008 11:03 pm    Post subject: Reply with quote

tested but crude.
Code:
run ::{7007acc7-3202-11d1-aad2-00805fc1270e}
sleep 5000
Send,w         ; select Wireless Network Connection (starts with the letter W)
Send,{APPSKEY}r ; send a rightclick and select the Properties option (send the letter R)
Return


Maybe someone might have a tricky clever DLL solution.
_________________
Paul O
Back to top
View user's profile Send private message Visit poster's website
montiaro



Joined: 20 Feb 2008
Posts: 76

PostPosted: Fri Aug 29, 2008 4:50 am    Post subject: Reply with quote

Code:
run ::{7007acc7-3202-11d1-aad2-00805fc1270e}
sleep 5000
Send,w         ; select Wireless Network Connection (starts with the letter W)
Send,{APPSKEY}r ; send a rightclick and select the Properties option (send the letter R)
Return

well i wanted it to right click and go down to view wireless connections not properties what letter would that be?
Back to top
View user's profile Send private message
poo_noo



Joined: 08 Dec 2006
Posts: 137
Location: Sydney Australia

PostPosted: Fri Aug 29, 2008 5:34 am    Post subject: Reply with quote

Code:
; assumes that the Wireless Network is enabled
run ::{7007acc7-3202-11d1-aad2-00805fc1270e}
sleep 5000
Send,w         ; select Wireless Network Connection (starts with the letter W)
; Send,{ENTER}   ; send ENTER
Send,{APPSKEY}v ; send a rightclick and select the View Available Wireless networks option (starts with the letter v)
Return


Play around the the letter on the Send,{APPSKEY} line to suit your purposes
Code:
If wireless ENABLED then
Send,{APPSKEY}b ; Disable
Send,{APPSKEY}v ; View
Send,{APPSKEY}u ; Status
Send,{APPSKEY}g ; Bridge
Send,{APPSKEY}p ; Repair
Send,{APPSKEY}s ; Create Shortcut
Send,{APPSKEY}m ; Rename
Send,{APPSKEY}r ; Properties

Code:
If wireless DISABLED then
Send,{APPSKEY}a ; Enable
Send,{APPSKEY}s ; Create Shortcut
Send,{APPSKEY}m ; Rename
Send,{APPSKEY}r ; Properties

_________________
Paul O
Back to top
View user's profile Send private message Visit poster's website
montiaro



Joined: 20 Feb 2008
Posts: 76

PostPosted: Sat Aug 30, 2008 6:39 am    Post subject: Reply with quote

wow poo_noo u are awesome this really helps me but i cant test this out till monday so ill have to wait but i tried it on my computer it works very well just have to change a few things but really thanks ^^
Back to top
View user's profile Send private message
poo_noo



Joined: 08 Dec 2006
Posts: 137
Location: Sydney Australia

PostPosted: Sun Aug 31, 2008 6:39 am    Post subject: Reply with quote

you might want to look at REGWRITE & http://www.autohotkey.com/forum/viewtopic.php?t=33726&highlight=wireless to see if you can set the wireless key programatically.

However all beyond me.
_________________
Paul O
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group