gcue Posted June 14, 2010 Share Posted June 14, 2010 (edited) we have the messenger service disabled in our company image. don't really want to enable it bc we might get random things we dont want. is it possible to send a message via WMI or something of that sort? thanks Edited June 29, 2010 by gcue Link to comment Share on other sites More sharing options...
gcue Posted June 29, 2010 Author Share Posted June 29, 2010 anyone know if this is possible? Link to comment Share on other sites More sharing options...
LurchMan Posted June 29, 2010 Share Posted June 29, 2010 Are you wanting to launch an application on a remote machine, gets stats for it...little more info would help Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end. Link to comment Share on other sites More sharing options...
gcue Posted June 29, 2010 Author Share Posted June 29, 2010 yep thats exactly it. im pushing a file to a remote pc, if its in use the user gets prompted so i want a msgbox telling me when they are getting prompted, when they accept or if they hit cancel Link to comment Share on other sites More sharing options...
LurchMan Posted June 29, 2010 Share Posted June 29, 2010 yep thats exactly it. im pushing a file to a remote pc, if its in use the user gets promptedso i want a msgbox telling me when they are getting prompted, when they accept or if they hit cancelYou could use PSTools (From sysinternals) to push the file and start a script. The first thing I can think of would be have the script create log files somewhere on the network named PC_User.log and put the results if they accepted or denied. Sending a MsgBox back to you would seem a little over complicating and annoying to me. Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end. Link to comment Share on other sites More sharing options...
gcue Posted June 29, 2010 Author Share Posted June 29, 2010 yea thats what im currently doing. but i have to keep hitting refresh to see results =) its ok for now - just wanted to see if it was doable or not Link to comment Share on other sites More sharing options...
LurchMan Posted June 29, 2010 Share Posted June 29, 2010 yea thats what im currently doing. but i have to keep hitting refresh to see results =)its ok for now - just wanted to see if it was doable or notYou could have it send you an email with the results...ive done that with a few of my scripts that the users interact with. Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end. Link to comment Share on other sites More sharing options...
GEOSoft Posted June 29, 2010 Share Posted June 29, 2010 How about just checking the size of your log file in a loop? If the file changes size then pop up a messagebox with the last entry. Just put a sleep in there and check it every few seconds or minutes, whatever suits. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
gcue Posted June 29, 2010 Author Share Posted June 29, 2010 good idea geo - i think i might use that... 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