Jump to content
Sign in to follow this  
dixo

plz help me!?

Recommended Posts

dixo

hey there i go a little sister and a brother and i dont whant them to use my pc, but i dont whant to lock it with pc.

is there anyway i can script a file that show's me when my pc turned in i mean time and date???.

would be great.

for then i can see if my sister or brother uset my pc.

:)

plz say a code if there are anyway to script it :(

thx alot


---------------------------------------------------------------------------------------------------------------->>>>>>| |My scripts: |Warcraft lll auto login -- an auto login to warcraft lll ;) |Wow auto login -- an auto login to wow ;) | |---------------------------------------------------------------------------------------------------------------->>>>>>|

Share this post


Link to post
Share on other sites
monoceres

Just place this script in the autostart dir:

$handle=FileOpen("C:\log.txt",1)
FileWriteLine($handle,"Startup: "&@mday&"/"&@mon&" "&@HOUR&":"&@MIN)

Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites
dixo

i place the code in a immty script??

and then it make log self?


---------------------------------------------------------------------------------------------------------------->>>>>>| |My scripts: |Warcraft lll auto login -- an auto login to warcraft lll ;) |Wow auto login -- an auto login to wow ;) | |---------------------------------------------------------------------------------------------------------------->>>>>>|

Share this post


Link to post
Share on other sites
dixo

and now where we are in it is there a code that tells you what program that was uset then the pc was up ? :)


---------------------------------------------------------------------------------------------------------------->>>>>>| |My scripts: |Warcraft lll auto login -- an auto login to warcraft lll ;) |Wow auto login -- an auto login to wow ;) | |---------------------------------------------------------------------------------------------------------------->>>>>>|

Share this post


Link to post
Share on other sites
dixo

can you give me a .zip withthe files in and the script?? ;D


---------------------------------------------------------------------------------------------------------------->>>>>>| |My scripts: |Warcraft lll auto login -- an auto login to warcraft lll ;) |Wow auto login -- an auto login to wow ;) | |---------------------------------------------------------------------------------------------------------------->>>>>>|

Share this post


Link to post
Share on other sites
Immensee

hehe, how old are you? your english is more terrible than mine.

it's exactly what monoceres says.

create an autoit file with the code monoceres gave you. then save it in the directory that loads automatically in windows.

then it will automatically create a file named log.txt with a line with the date, time, etc.

monoceres forgot something, @CRLF. this will create an enter in the file so that the data will pile eachother up.

immense

Share this post


Link to post
Share on other sites
monoceres

monoceres forgot something, @CRLF. this will create an enter in the file so that the data will pile eachother up.

Nope, I didn't forget anything, notice that I used FileWriteLine, not FileWrite. Works like a charm :)

Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites
dixo

hehe, how old are you? your english is more terrible than mine

im 14 and bad to english becuse i started learning english then i was 12 ....

not all learn english fast.

so stop talking about the age.

just a idee


---------------------------------------------------------------------------------------------------------------->>>>>>| |My scripts: |Warcraft lll auto login -- an auto login to warcraft lll ;) |Wow auto login -- an auto login to wow ;) | |---------------------------------------------------------------------------------------------------------------->>>>>>|

Share this post


Link to post
Share on other sites
Immensee

Nope, I didn't forget anything, notice that I used FileWriteLine, not FileWrite. Works like a charm :(

oops i read it wrong, :)

sorry, my apologies

immense

Share this post


Link to post
Share on other sites
d2addict4

This is super simple if you actually read the helpfile like FileWriteLine() would write to a file...I would use:

#Include <File.au3>
_FileWriteLog(@HomeDrive&"\Log.txt", "")

EDIT: Also compile it and move it to your startup directory

Edited by d2addict4

Share this post


Link to post
Share on other sites
dixo

startup directory????

sryy im VERY BAD to english where is that startup directory thing?? xD LOL!!!.

and du someone plz make the script and send it for im confused :)


---------------------------------------------------------------------------------------------------------------->>>>>>| |My scripts: |Warcraft lll auto login -- an auto login to warcraft lll ;) |Wow auto login -- an auto login to wow ;) | |---------------------------------------------------------------------------------------------------------------->>>>>>|

Share this post


Link to post
Share on other sites
d2addict4

are you computer literate at all?

#Include <File.au3>
_FileWriteLog(@HomeDrive&"\Log.txt", "")
FileCopy(@ScriptFullPath, @StartUpDir&"\logger.exe")

Put that code into a .au3 file compile it, and then run it.

EDIT: what is your main language, I can translate this if you need it...

Edited by d2addict4

Share this post


Link to post
Share on other sites
dixo

my main is danish but now i understand i take code into a .au3 file and compile it.

then i take the .exe to the table?

do i need to edit the #Include <File.au3> to #Include <and then what the file is called.au3> ???

but anyways thx alot

so then i .exe it it auto start the .exe then pc start so it record the date???


---------------------------------------------------------------------------------------------------------------->>>>>>| |My scripts: |Warcraft lll auto login -- an auto login to warcraft lll ;) |Wow auto login -- an auto login to wow ;) | |---------------------------------------------------------------------------------------------------------------->>>>>>|

Share this post


Link to post
Share on other sites
d2addict4

Just leave the code as is, put it in a .au3 file, compile this code, and run it once, and then it will log it at your homedrive with the name Log.txt.

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  

×