Jump to content

Unlocking windows


Recommended Posts

Background:

Say I have this server which runs a game, but automatically locks itself up after 5 minutes ( for security reasons ). I have finished writing a script that allows for auto restart with some custom settings like restart interval, etc. However, I'm facing a problem as I cannot reaccess the server once it is locked. The game will not work with controletc commands as it is a minecraft server ( screw java = ), hence my script depends on send() and mouseclick(), which will not work when the server is locked.

My problem:

Is there a way to automatically unlock windows? Even if it involves a 3rd party program, I really dont mind.

Or is there a work around? I've thought of a solution that is, shutting down windows when the script needs to be restarted, and using sysinternal from microsoft to log back in, but I dont really think that would work out that well. Besides, I'm not sure how to shutdown windows from the script ( maybe shell.run some external shutdown program ).

Thanks for reading and I really hope to receive some advice. =)

Link to comment
Share on other sites

Hello percentd,

Welcome to the AutoIt Forums!

Unfortunately, I cannot help you. Please read the 'Forum Rules' before posting. Especially Part #1 where discussion of game automation is forbidden.

Sorry... and hope to see you again later under a more legitimate reason :)

Realm

My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. 

Link to comment
Share on other sites

Its not cheating! Its just a script which restarts the minecraft server after some time due to excessive memory leaks! Don't be mistaken... =

Edit:---

I know its still against the rules well, but I'd really like some help for unlocking windows in general. It dosent have to be used with games, right?

Edited by percentd
Link to comment
Share on other sites

  • Moderators

percentd,

 

I know its still against the rules

So why even ask? :huh:

Please read the Forum rules (there is also a link at bottom right of each page) before you post again. Thread locked. :naughty:

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...