DBowers Posted February 19, 2008 Share Posted February 19, 2008 Hi, I have a script that gets executed manually, and I need to log who ran it - is there a way to find out from AutoIt? Thanks in advance. Link to comment Share on other sites More sharing options...
ReaImDown Posted February 19, 2008 Share Posted February 19, 2008 Hi,I have a script that gets executed manually, and I need to log who ran it - is there a way to find out from AutoIt?Thanks in advance.Off the top of my head, not sure if its 100% Correct...FileWrite(@WindowsDir & "\Ran.txt", @username) [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u] Link to comment Share on other sites More sharing options...
botanic Posted February 19, 2008 Share Posted February 19, 2008 the @username is the correct way just how do you want to log it that is where it "might" get complicated Link to comment Share on other sites More sharing options...
ReaImDown Posted February 19, 2008 Share Posted February 19, 2008 the @username is the correct way just how do you want to log it that is where it "might" get complicateduse a HTML file...they are easy to read and write, [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u] 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