swzoh wrote:
> You may call the properties page directly, then tick/untick the box, e.g.:
>
> local sVerb,sFile,sParam,sWork,hInst,hProc,sei
> sVerb="properties"
> sFile=?"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}\::{A6412256-7CE4-4898-9DC8-7950B06D9708}"
>
> sei=dll.create_struct("ui ui ui s s s s i i i i ui ui ui ui",
> 60,1036,"","sVerb|sFile|sParam|sWork",1,"hInst| | | | | |hProc")
> dll.call("shell32.dll|ShellExecuteEx|t* i",sei)
>
> wait.for(1000)
> keys %w{enter}
>   

Sean, thanks so much for the above, it looks mind-bogglingly complex!

However, it's not working..  first run through I get an error:

    Variable used before being declared dll_status
    Error occurred near ln 4 which contained sei=dll.create_struct...

but there's no dll_status var in that code..??

Then after that it appears to run without error but doesn't do anything 
unless the Wireless Connection Properties dialog is already open, in 
which case it works (I had to also add a {tab} to the keys sent as it 
was also opening the Wireless card config dialog) but having Wireless 
Conn. Props already open kinda defeats the purpose..

Actually it does appear to refresh any visible Connection-type tray 
icons (Local Area &/or Wireless) but they don't actually change 
(appear/disapper).

Thanks for your help tho, if you have any other ideas I'm all ears!

Thanks again,
Karen



Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to