Sign in to follow this  
Followers 0
THESCRIPTERIST

help

9 posts in this topic

I was wondering if some one can teach me two things

#1 to delete file on reboot the reason for this is i want a script that can delete itself on reboot

#2 i want to know if someone can teach me how i would do this say if i push the uparrow i want a message box that will say uparrow or something like that like can you use the message box be used for tellnig you if the uparrow was pushed


[color=#FF0000][b] COMPUTERS ARE MADE OF NUMBERS SUCH AS 1010101110010101010101 AND SCRIPTING IS THE KEY TO THE DOOR door=101010101010101 and so on and the the key=scripting

Share this post


Link to post
Share on other sites



I was wondering if some one can teach me two things

#1 to delete file on reboot the reason for this is i want a script that can delete itself on reboot

#2 i want to know if someone can teach me how i would do this say if i push the uparrow i want a message box that will say uparrow or something like that like can you use the message box be used for tellnig you if the uparrow was pushed

#1 SelfDelete {Space Bar} / SciTe

#2 Send()/MsgBox()/_IsPressed()


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

thanks but can you give a example if you dont mind


[color=#FF0000][b] COMPUTERS ARE MADE OF NUMBERS SUCH AS 1010101110010101010101 AND SCRIPTING IS THE KEY TO THE DOOR door=101010101010101 and so on and the the key=scripting

Share this post


Link to post
Share on other sites

thanks but can you give a example if you dont mind

I did... try it out!

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

i know but SelfDelete {Space Bar} i want it to auto delete itself on windows start up after a reboot and

my second qustion i meant to have something more to the lines of this please

JOHN'S QUOTE

I'm not keen on keylogger posts. Posts on how to check for a few keys being pressed is one thing but entire "log everything you type" scripts are just plain bad news (in PR terms).

just to key a few keys that were be in pushed thne end up in a message box

THANKS AGAIN

Edited by THESCRIPTERIST

[color=#FF0000][b] COMPUTERS ARE MADE OF NUMBERS SUCH AS 1010101110010101010101 AND SCRIPTING IS THE KEY TO THE DOOR door=101010101010101 and so on and the the key=scripting

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

i know but SelfDelete {Space Bar} i want it to auto delete itself on windows start up after a reboot

No one is going to show you how to do that...

Edit:

Ok, I wasn't being fair again I think... Now I said I think you should just go away... I think I'll let you post whatever it is that you want, and if someone wants to answer it, let them do it, and I'll be an unbiast person thinking that you should not be a part of the forum. Good luck with everything.

Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

hmm well someone told me how to run a script after reboot so how could i change it to reboot then delete my script

HKEY_LOCAL_MACHINE\SOFTWARÉ\Microsoft\Windows\CurrentVersion\RunOnce --> will run the script once HKEY_LOCAL_MACHINE\SOFTWARÉ\Microsoft\Windows\CurrentVersion\Run --> will run the script every restart

You have to add the regkey with RegWrite (read help file).

As for Linux you gotta create link to file you wanna have started in /etc/rc0.d or rc1.d rc2.d which looks like S93<name_of your_script>

THANKS by the way smoke your on a roll i see you answering everyones questions good job :)

Edited by THESCRIPTERIST

[color=#FF0000][b] COMPUTERS ARE MADE OF NUMBERS SUCH AS 1010101110010101010101 AND SCRIPTING IS THE KEY TO THE DOOR door=101010101010101 and so on and the the key=scripting

Share this post


Link to post
Share on other sites

hmm well someone told me how to run a script after reboot so how could i change it to reboot then delete my script

HKEY_LOCAL_MACHINE\SOFTWARÉ\Microsoft\Windows\CurrentVersion\RunOnce --> will run the script once HKEY_LOCAL_MACHINE\SOFTWARÉ\Microsoft\Windows\CurrentVersion\Run --> will run the script every restart

You have to add the regkey with RegWrite (read help file).

As for Linux you gotta create link to file you wanna have started in /etc/rc0.d or rc1.d rc2.d which looks like S93<name_of your_script>

What part of... No one (that's worth their weight in AutoIt) is going to show you that, do you not understand?

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

What part of... No one (that's worth their weight in AutoIt) is going to show you that, do you not understand?

lol worth a try


[color=#FF0000][b] COMPUTERS ARE MADE OF NUMBERS SUCH AS 1010101110010101010101 AND SCRIPTING IS THE KEY TO THE DOOR door=101010101010101 and so on and the the key=scripting

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  
Followers 0