Sign in to follow this  
Followers 0
cew27

lock a window?

18 posts in this topic

i have just made an anoying pop up window here is the code

#NoTrayIcon

hotkeyset("{enter}", "block")

Func block()

EndFunc

while 1

msgbox(0, "u fool!", "HAHAHAHAHAHA idoit!!")

wend

while 1

if ProcessExists ("taskmgr.exe") then ProcessClose ("taskmgr.exe")

WEnd

i think i saw it before in the help fie but i cant see it any more no atter how hard i look .. is there a code to lock a window ... as in make it the only window viewable ?? like wcript.echo files where the pop ups there are the only thing you can click on ??

thanks

Share this post


Link to post
Share on other sites

Go away, script kiddie. We will not help you do annoying crap here.


Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

i have just made an anoying pop up window here is the code

Wow... :)

The stupidity of that post is simply off the charts.

;)

Edited by PsaltyDS

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

im not using it to annoy people .... its just the only things i can think of !! im not trying to learn auto it to destroy peoples pc or to mess with it ... i would just like to learn a scripting code and i came on this forum to ask for help as i thought that was what its for

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

This forum is for learning, yes....

Not for script-kiddies trying to annoy.

GTFO.

Edited by Blue_Drache

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites

:) ahhh i posted to code hoping that some one would add to it to help me !!! ...

damn it im getting pwned here

Share this post


Link to post
Share on other sites

im not trying to annoy it is just my way of learning the basics of script !

Share this post


Link to post
Share on other sites

im not using it to annoy people .... its just the only things i can think of !! im not trying to learn auto it to destroy peoples pc or to mess with it ... i would just like to learn a scripting code and i came on this forum to ask for help as i thought that was what its for

Your not going to get much help with asinine projects like that. If you really want some projects to learn AutoIt with, pick something useful to you.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Dude... Don't you think there might be a reason that your other two threads have 1. died out and 2. locked by a mod?

And do you think there are actually people here who would want to help you with coding when your only intent seems to be digital vandalism?

Please reread your previous topic where you asked for ways to make a program auto-run invisibly, spread to user folders without user knowledge, hide from task manager etc.. That was, apart from your intent, also closed because too many people were agreeing with eachother on not helping you. That should tell you something.


Roses are FF0000, violets are 0000FF... All my base are belong to you.

Share this post


Link to post
Share on other sites

im not using it to annoy people .... its just the only things i can think of !! im not trying to learn auto it to destroy peoples pc or to mess with it ... i would just like to learn a scripting code and i came on this forum to ask for help as i thought that was what its for

tsk tsk... Shame on you!

Share this post


Link to post
Share on other sites

:);) ok well the only other use i would like a script to do is to shut down my pc when a certain file reaches a certain size for instance downloading something and i wanted my pc to shut down when it was done ... althaught i woul put a delay on it by 20 mins to ensure that the whole thing downloads

if anyone could help me out with a code for that i would be greatful as i have o idea where to start apart from

shutdown (6)

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

:P:P ok well the only other use i would like a script to do is to shut down my pc when a certain file reaches a certain size for instance downloading something and i wanted my pc to shut down when it was done ... althaught i woul put a delay on it by 20 mins to ensure that the whole thing downloads

if anyone could help me out with a code for that i would be greatful as i have o idea where to start apart from

shutdown (6)

Ok, well, that speaks about your inspiration :) Well, since you already figured out the ShutDown part, the only question you have left now is how to start a download and to determine whether it has finished. And because that is in fact a legitimate question, it deserves an answer, I guess. Or maybe not. Whatever ;)

Anyway, the answer to that is directly in the INetGet helpfile example. It downloads a file, waits till the download has completed and then presents a MsgBox. Quite easy:

; Advanced example - downloading in the background
InetGet("http://www.nowhere.com/somelargefile.exe", "test.exe", 1, 1)

While @InetGetActive
  TrayTip("Downloading", "Bytes = " & @InetGetBytesRead, 10, 16)
  Sleep(250)
Wend

MsgBox(0, "Bytes read", @InetGetBytesRead)

/edit: removed simple example from helpfile, the advanced example should have the requested info.

Edited by SadBunny

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Share this post


Link to post
Share on other sites

It's also entertaining when you try to call someone an idiot when you can't even spell it...

Share this post


Link to post
Share on other sites

about the inspiration thing .... i was going to try that script once i had learned abit more about auto it as i hate just copying peoples script instead of making it my self and i have to remember it or it really annoys me :)

Share this post


Link to post
Share on other sites

yes i relised that ... and i didnt bother fixing it as i wasn't sending it to people i was merely making it as experience

Share this post


Link to post
Share on other sites

Ok, well, that speaks about your inspiration :) Well, since you already figured out the ShutDown part, the only question you have left now is how to start a download and to determine whether it has finished. And because that is in fact a legitimate question, it deserves an answer, I guess. Or maybe not. Whatever ;)

Anyway, the answer to that is directly in the INetGet helpfile example. It downloads a file, waits till the download has completed and then presents a MsgBox. Quite easy:

; Advanced example - downloading in the background
InetGet("http://www.nowhere.com/somelargefile.exe", "test.exe", 1, 1)

While @InetGetActive
  TrayTip("Downloading", "Bytes = " & @InetGetBytesRead, 10, 16)
  Sleep(250)
Wend

MsgBox(0, "Bytes read", @InetGetBytesRead)

/edit: removed simple example from helpfile, the advanced example should have the requested info.

I might want to not go any further than that. A person with this intent is surely going to read something like the pagefile and find some way to completly twist and dement anything you give him as far as help.

Share this post


Link to post
Share on other sites

and what makes you thing you know me and or my intentions!!! ... im not some sort of Internet wannabe hakker that wants to wreck things .... i just want to learn auto it !!!!!!!!!!

Share this post


Link to post
Share on other sites

and what makes you thing you know me and or my intentions!!! ... im not some sort of Internet wannabe hakker that wants to wreck things .... i just want to learn auto it !!!!!!!!!!

Try learning how to create proper threads first.

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.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0