Jump to content
Sign in to follow this  
DBowers

Logging who ran the AutoIt script

Recommended Posts

DBowers

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.

Share this post


Link to post
Share on other sites
ReaImDown

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]

Share this post


Link to post
Share on other sites
botanic

the @username is the correct way just how do you want to log it that is where it "might" get complicated

Share this post


Link to post
Share on other sites
ReaImDown

the @username is the correct way just how do you want to log it that is where it "might" get complicated

use a HTML file...they are easy to read and write,


[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

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  

×