Jump to content

flitcraft33

Members
  • Posts

    5
  • Joined

  • Last visited

flitcraft33's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Happy days! I re-downloaded the SDK and reinstalled, started communicator, and it worked like a charm. Oddly, oleview still doesn't see the objects, but I am on my way. Thanks very much for the help. Dan S.
  2. Example: $oCommunicator = ObjCreate("Communicator.UIAutomation") $MyName = $oCommunicator.MyFriendlyName $MyLogin = $oCommunicator.MySigninName MsgBox(0, 'Example', 'Hi!' & @CR & 'My name is "' & $MyName & '" (e-mail: ' & $MyLogin & ')') Thank you very much for replying. I had seen something similar at MSDN and I tried this, but got an error that said, Variable must be of type "Object".:$MyName = $oCommunicator.MyFriendlyName Your reply was very helpful, I now know this SHOULD work. I was thinking I was doing it totally wrong with this method. I still get the error, but now I am wondering if I have not installed the API correctly or whether I need to register some DLL or something. When I use OLEVIEW I cannot find a Communicator.UIAutomation object or anything even close. I tried to read about installing the API and SDK for Communicator but I couldn't find much besides download and install the API which I did. Most Microsoft discussion seems focused (surprise) on Visual Studio users. So I am still scratching my head and trying to get this to work. Any further suggestions about what is missing in my environment would be appreciated. I have Communicator 2007 installed and working on my Windows 7 machine, and I did run the API installion, but still no objects and no worky. Thanks again for the assistance on this. Dan Sichel.
  3. Ok, total n00b needs help here. I am trying to write a com script for Communicator 2007 to send a message with a single mouse click. I don't want to hunt down an active window and do it that way, I want to create an instance of it and use the com interface to blast out a message. I CANNOT for the life of me find the name for the class name for the Com object for Communicator to use in an ObjCreate() function call. Can some kind soul point me in the right direction? I have been sifting through the Microsoft API stuff and google and OLEVIEW all day with no luck. I need some help, please Thanks very much, Dan Sichel flitcraft33
  4. That seems to have done the trick. Thank you VERY much. How is it that it is getting the actual user, not the user that owns the autoit process? And is it the user's domain log in or local machine? I do not know much of anything about the WIMIservice query that you use and how that gets me where I need to be, I just know that cutting and pasting it into a script seems to have worked! If you have a moment and wouldn't mind, either pointing me to somplace that describes this a bit or explaining it directly would also be much appreciated. Thanks again for the quick and accurate help. Dan Sichel
  5. I am trying to use an AutoIT script to resolve a log in issue with an access control system. The problem that I have is that the scipt is launced by the access control system using the SYSTEM user credentials. I want to get at the name of the user who is actually logging in. If I use the @Username variable, I get "SYSTEM" returned. So what I need is some way to get at the user who is actually presenting the credentials, not the user user that invokes the script. Any help would be appreciated. Thanks, Dan Sichel daniels@ponderosatel.com
×
×
  • Create New...