Jump to content
Sign in to follow this  
xwinterx

my.computer object?

Recommended Posts

xwinterx

I know I am quite dense... but I was looking at some stuff like my.computer and my.computer.network on msdn. Some of it is quite interesting... I just have no clue how to create the initial object with autoit so I can use the methods.

Share this post


Link to post
Share on other sites
xwinterx

I know how to create the object... sorry... I just dont know what object to create... I know that if you use the namespace.(whatever) methods you create your object like:

$obj = ObjCreate("shell.application")

I just dunno what to put between the quotes for the my.computer object. "my.computer"?? didnt know if anyone had done that one before or not, successfully.

Share this post


Link to post
Share on other sites
PsaltyDS

I know how to create the object... sorry... I just dont know what object to create... I know that if you use the namespace.(whatever) methods you create your object like:

$obj = ObjCreate("shell.application")

I just dunno what to put between the quotes for the my.computer object. "my.computer"?? didnt know if anyone had done that one before or not, successfully.

Depends on which methods and properties you want access to. What are you ultimately wanting to get? Name an example to work towards. There's also a good chance it will be ObjGet() vice ObjCreate() if you want to connect to a provider that is already running. So again, it depends on what you want to access.

:)


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

Share this post


Link to post
Share on other sites
xwinterx

Depends on which methods and properties you want access to. What are you ultimately wanting to get? Name an example to work towards. There's also a good chance it will be ObjGet() vice ObjCreate() if you want to connect to a provider that is already running. So again, it depends on what you want to access.

:)

gotcha... I want to utilize the items in my.computer.network. I want to try utilizing the tcp/ip stuff.

Share this post


Link to post
Share on other sites
PsaltyDS

gotcha... I want to utilize the items in my.computer.network. I want to try utilizing the tcp/ip stuff.

Hmm... looks like it would be very cool to access the my.computer or my.computer.network objects directly, but I don't think that method is available to AutoIt or any other scripting languages like VBS.

This needs a VisualBasic/VisualStudio person (which is NOT me), but I think those are built-in calls specific to those coding environments and not exposed to scripting languages like VBS or AutoIt. What is behind those my.computer objects is likely a proprietary library of DLL calls and C++ code that actually gets compiled when you use them in VisualStudio.

Disclaimer: That theory needs vetting by someone who knows more about that environment than I do.

:)


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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.