Jump to content

Preventing script termination by user


Recommended Posts

Hi all, another noobish question here...

I've written a silly little script which acts like a fake virus to annoy/troll one of my workmates.

It's very simple. It displays a message box with the words "Virus alert! - Click cancel to remove", of course there is no cancel button, and the script is set to loop 10,000 times, every time the OK button or close button is clicked.

What I need now though is to write-protect the script and prevent the user from ending the process via task manager, because as it is, he can just stop the script running.

How do I go about fixing this?

Also, is there a way of hiding the autoit icon in the system tray? It seems a little too obvious at the moment.

Any help will be much appreciated

Thanks in advance.

Link to comment
Share on other sites

1. No.

2. Read the rules.

3. ????

4. Go directly to ban, do not pass GO, do not collect $200

My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.

My Projects

WhyNotWin11
Cisco FinesseGithubIRC UDFWindowEx UDF

 

Link to comment
Share on other sites

Do not discuss any of the following:

  • Keyloggers and other forms of malware.

That includes fake viruses too.

My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.

My Projects

WhyNotWin11
Cisco FinesseGithubIRC UDFWindowEx UDF

 

Link to comment
Share on other sites

  • Moderators

lokalhero,

This comes under the "other forms of malware" prohibition. We all detest joke scripts like this - do you think the AV companies bother to check it is just "fun" before adding AutoIt to their blacklist? Answer - No. :bye:

Do not ever post anything like this again or sanctions will follow. :oops:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...