MattX Posted October 12, 2004 Share Posted October 12, 2004 Just a quickie - someone pointed out this excellent site the other day:http://www.dx21.com/SCRIPTING/RUNDLL32/REF...E.ASP?ISF=0&P=AWhich I have been using in various batch progs. My question is can you call RunDLL32's from within Autoit ? I have only done one and my way to get around it was to call the DLL from a CMD file I already made with relevant DLL line in. I would rather call it from Autoit - if this can be done - can someone explain how + [ me being rather sad I still use Autoit Ver 2 for some of my stuff ] can you use it there also ? Link to comment Share on other sites More sharing options...
Developers Jos Posted October 12, 2004 Developers Share Posted October 12, 2004 Just a quickie - someone pointed out this excellent site the other day:http://www.dx21.com/SCRIPTING/RUNDLL32/REF...E.ASP?ISF=0&P=AWhich I have been using in various batch progs. My question is can you call RunDLL32's from within Autoit ? I have only done one and my way to get around it was to call the DLL from a CMD file I already made with relevant DLL line in. I would rather call it from Autoit - if this can be done - can someone explain how + [ me being rather sad I still use Autoit Ver 2 for some of my stuff ] can you use it there also ?<{POST_SNAPBACK}>Why not just do a RunWait() for RUNDLL32 ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
MattX Posted October 12, 2004 Author Share Posted October 12, 2004 Why not just do a RunWait() for RUNDLL32 ?<{POST_SNAPBACK}>runwait(), RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4 ? Link to comment Share on other sites More sharing options...
ezzetabi Posted October 12, 2004 Share Posted October 12, 2004 Run('RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4') ? Link to comment Share on other sites More sharing options...
Developers Jos Posted October 12, 2004 Developers Share Posted October 12, 2004 runwait(), RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4 ?<{POST_SNAPBACK}>Ver3:Runwait("RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4")Ver2:SetEnv,temp,RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4 Runwait,%temp% SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Lazycat Posted October 12, 2004 Share Posted October 12, 2004 (edited) Or why not to use DllCall? DllCall("inetcpl.cpl", "int", "LaunchConnectionDialog") Edited October 12, 2004 by Lazycat Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Link to comment Share on other sites More sharing options...
MattX Posted October 12, 2004 Author Share Posted October 12, 2004 Ver3:Runwait("RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4")Ver2:SetEnv,temp,RunDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,4 Runwait,%temp%<{POST_SNAPBACK}>Thankyou and thankyou again - I have no idea what I would do without this forum. Link to comment Share on other sites More sharing options...
Developers Jos Posted October 12, 2004 Developers Share Posted October 12, 2004 Thankyou and thankyou again - I have no idea what I would do without this forum.<{POST_SNAPBACK}>no problem...by the way... it's better use a different env. variable name for temp.Temp is ofcourse already used and you don't want to change that... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now