Jump to content

Recommended Posts

Posted

Hi,

what works in VBscript with

set object = nothing

seems not to work in AutoIt.

A simple $object = "" does not cut the reference.

I would need this to disconnect from an COM object, otherwise the application will not terminate because it knows that there is a reference to it. My script is a single sign on script which normally never terminates.

Thanks for any ideas!

  • Moderators
Posted

Hi,

what works in VBscript with

set object = nothing

seems not to work in AutoIt.

A simple $object = "" does not cut the reference.

I would need this to disconnect from an COM object, otherwise the application will not terminate because it knows that there is a reference to it. My script is a single sign on script which normally never terminates.

Thanks for any ideas!

http://www.autoitscript.com/forum/index.ph...lite=%2Bnothing

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

Neither $Nothing nor 0 :D

It is a bit weird, because if there is any reference to the application it will not close until the script terminates. But the script normally never terminates because it is a listener for events.

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
×
×
  • Create New...