gfunk999 Posted August 26, 2008 Share Posted August 26, 2008 (edited) I just spent the last two days trying to figure out shell objects. I took a tutorial on oleview.exe and MSDN tech net. I have a good understanding how things work, the only problem I dont understand is where to get the properties/methods syntax from? For example the line of script below from SvenP, how did he know where to get the 3 from? I know it calls the network applet in control panel, and then it reads the connection name from the .verb. Is there an easy way to view all properties and methods available for shell.application on an index table or list?Const $ssfCONTROLS = 3$ShellApp = ObjCreate("Shell.Application")$oControlPanel = $shellApp.Namespace($ssfCONTROLS)full code... http://www.autoitscript.com/forum/index.ph...art=#entry87000 Edited August 26, 2008 by gfunk999 Link to comment Share on other sites More sharing options...
PsaltyDS Posted August 26, 2008 Share Posted August 26, 2008 I just spent the last two days trying to figure out shell objects. I took a tutorial on oleview.exe and MSDN tech net. I have a good understanding how things work, the only problem I dont understand is where to get the properties/methods syntax from? For example the line of script below from SvenP, how did he know where to get the 3 from? I know it calls the network applet in control panel, and then it reads the connection name from the .verb. Is there an easy way to view all properties and methods available for shell.application on an index table or list?Const $ssfCONTROLS = 3$ShellApp = ObjCreate("Shell.Application")$oControlPanel = $shellApp.Namespace($ssfCONTROLS)full code... http://www.autoitscript.com/forum/index.ph...art=#entry87000That kind of thing generally comes from a quick Google of MSDN: Scriptable Shell ObjectsThat specific constant comes from: ShellSpecialFolderConstants Enumerated TypeGoogle is your friend. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
gfunk999 Posted August 26, 2008 Author Share Posted August 26, 2008 thanks, I was missing this -> ShellSpecialFolderConstants Enumerated Type ... Google is your friend and AutoIT That kind of thing generally comes from a quick Google of MSDN: Scriptable Shell ObjectsThat specific constant comes from: ShellSpecialFolderConstants Enumerated TypeGoogle is your friend. 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