Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


List commands

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,64100
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> List commands
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 List commands - 9/7/2008 7:55:01 PM   
  ninjamaster

 

Posts: 107
Score: 0
Joined: 1/23/2007
Status: offline
Is there an easy way to list all possible commands associated with a particular call?

For example

Set objComputer = GetObject("LDAP://cn=context,ou=computers,ou=sites,dc=Company,dc=net")

objComputer.?


where ? would be the list of all commands.

Or is it just all from experience?
 
 
Post #: 1
 
 RE: List commands - 9/7/2008 7:56:10 PM   
  ginolard


Posts: 1061
Score: 21
Joined: 8/10/2005
Status: offline
MSDN will have all the methods and properties.  Script editors like Primalscript have Intellisense which will list them for you

_____________________________

Author of ManagePC - http://managepc.net
AD Query Template - http://www.visualbasicscript.com/m_40609/tm.htm
Consolidated Scripting Framework - http://www.visualbasicscript.com/m_59109/tm.htm

(in reply to ninjamaster)
 
 
Post #: 2
 
 RE: List commands - 9/7/2008 7:58:10 PM   
  ninjamaster

 

Posts: 107
Score: 0
Joined: 1/23/2007
Status: offline
I have PrimalScript and that's not working for me :(

I'm assuming you don't have to switch it on?

(in reply to ginolard)
 
 
Post #: 3
 
 RE: List commands - 9/7/2008 8:19:09 PM   
  ninjamaster

 

Posts: 107
Score: 0
Joined: 1/23/2007
Status: offline
Actually

Set objShell = CreateObject("WScript.Shell")

objShell.???

That works fine for me. As soon as I enter the . I get a drop down list for everything associated to objShell

Do I need to load an additional library or something for other auto help?


(in reply to ginolard)
 
 
Post #: 4
 
 RE: List commands - 9/8/2008 1:11:39 AM   
  dm_4ever


Posts: 2669
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
It doesn't work for everything....i.e. ADSI related stuff...to many possible properties to display depending on the type of object...use ADSI edit, AD Explorer, or documentation to look up the possible values to display/retrieve.

_____________________________

dm_4ever

My philosophy: K.I.S.S - Keep It Simple Stupid
Read Me: http://www.visualbasicscript.com/m_24727/tm.htm
Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to ninjamaster)
 
 
Post #: 5
 
 RE: List commands - 9/8/2008 1:18:29 AM   
  ninjamaster

 

Posts: 107
Score: 0
Joined: 1/23/2007
Status: offline
Nice one cheers!

(in reply to dm_4ever)
 
 
Post #: 6
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> List commands Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts