Jump to content

Remote PC Controller 2.5.1 [New link 2014-03-11]


colafrysen
 Share

Recommended Posts

G'day colafrysen

Great script lots of great facilities.

In the shutdown tab could you add "hybinate", my daughter leaves her computer on all the time and I'd like to shut it down without loosing anything she is working on.

THANKS!

Link to comment
Share on other sites

G'day colafrysen

Great script lots of great facilities.

In the shutdown tab could you add "hybinate", my daughter leaves her computer on all the time and I'd like to shut it down without loosing anything she is working on.

THANKS!

And here it goes!

ALIBI Controller 2.3 released!

New features:

  • Standby
  • Hibernate
  • Remote explorer! (Homedrive only)
  • The ability to capture pictures with the webcamera
  • Faster filetransfer (thanks to Monoceres)
Edited by colafrysen
[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]
Link to comment
Share on other sites

When I go to your site, there is an .exe file. Please publish the AutoIt files if you want people to review your work.

well, ok, youare allowed to share .exe files by the rules and no body can force you to release the program but... couldnt they make a section for PROGRAMS? i mean, its called example SCRIPTS because you sohuld be able to learn from others work... also, i dont really trust exe files ^^

btw nice prog

Read here:

http://www.autoitscript.com/forum/index.php?showtopic=65889

@colafrysen

You are not obligated to post your source.

If your having permission issues with Vista, try adding "#RequireAdmin" to the beginning of your script, and it will take care of a few issues

(if you already haven't).

I'll run some tests on some Vista machines if you need that sort of testing done, and don't have access to a Vista machine. >_<

I actually started work on one of these, and the #1 complaint was image viewing and clicking, I finally got it somewhat figured out, but I used standard (high-rate/low quality) JPG transmitting... Which was an epic fail... lol.

Edited by BinaryBrother

SIGNATURE_0X800007D NOT FOUND

Link to comment
Share on other sites

Read here:

http://www.autoitscript.com/forum/index.php?showtopic=65889

@colafrysen

You are not obligated to post your source.

If your having permission issues with Vista, try adding "#RequireAdmin" to the beginning of your script, and it will take care of a few issues

(if you already haven't).

I'll run some tests on some Vista machines if you need that sort of testing done, and don't have access to a Vista machine. >_<

I actually started work on one of these, and the #1 complaint was image viewing and clicking, I finally got it somewhat figured out, but I used standard (high-rate/low quality) JPG transmitting... Which was an epic fail... lol.

@BinaryBrother:

I have been test running the server on a Vista home basic, but I am yet to try to use the client. So some testing would be great :(

I have put #requireadmin on the installer as it was unable to copy files otherwise (on Vista) but not on the server and client as I don't want people to confirm a UAC every time they start the program...

Anyways, some testing would be great. Thanks in advance :(

[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]
Link to comment
Share on other sites

There are a series of functions that Require the #RA line. If your experiencing any sort of issue, that would be my first test... >_<

I'll download and give it a run in about 12 hours... I've got some catching up to do on another script, and I need sleep... :(

SIGNATURE_0X800007D NOT FOUND

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

is it possible, to extract the part to shutdown PCs in my LAN remotely?

The Gui i programmed is for normal Users. Your PC Controller is great (for specialists) but i only need basic functions.

We have got 4 PCs and one server in our LAN and i managed to programm a little gui, that shows the state of the clients and server and you can switch them on via WOL, but i haven't found a thing to switch them off.

I think your "server" component is made because you got the same problems.

The PSTools only work when you've got very special configurations on the target PC, but this is nearly not possible to do it.

So, is it possible to get an extract of the command, that switches the target off via your server component? (only a question... )

I would like to add it in my script, so my users can switch off the other PCs when no one is working on them. (they are all Rack mounted, so not so easy to access the Power Switch)

thanks in advance

Thomas

Link to comment
Share on other sites

Hi,

is it possible, to extract the part to shutdown PCs in my LAN remotely?

The Gui i programmed is for normal Users. Your PC Controller is great (for specialists) but i only need basic functions.

We have got 4 PCs and one server in our LAN and i managed to programm a little gui, that shows the state of the clients and server and you can switch them on via WOL, but i haven't found a thing to switch them off.

I think your "server" component is made because you got the same problems.

The PSTools only work when you've got very special configurations on the target PC, but this is nearly not possible to do it.

So, is it possible to get an extract of the command, that switches the target off via your server component? (only a question... )

I would like to add it in my script, so my users can switch off the other PCs when no one is working on them. (they are all Rack mounted, so not so easy to access the Power Switch)

thanks in advance

Thomas

So you want to be able so execute commands on the server without having to use my GUI?

Well, Now, I am working on an update on the server that will supersede the current one. but I'll give you the commands that you can use.

Note that the shutdown function is one that will be rewritten in the next update as it is very messy, but here it is anyway.

"Shdwn" & ¤*¤ & $ShDwn_Type & ¤*¤ & $ShDwn_Delay & ¤*¤ & $ShDwn_Message

The fist variable $ShDwn_Type is one of the following (Note that you'll need the spaces)

" -A " ;Abort
" -R " ;Restart
" -S " ;Shutdown
" -L " ;Logout

The second parameter is ShDwn_Delay, this must be send like this: (need the spaces here to)

" -T ##"

The third variable, $ShDwn_Message, must be sent as this: (remember the spaces)

' -C "Yourmessage"'

If you just want to shutdown your computer, send the first variable and leave the others empety Ex: shutdown only

$SendString = "ShDwn¤*¤ -s ¤*¤¤*¤¤*¤"

To execute the command simply connect to the server using TCP and send this string to it (the server uses Kip's TCP UDF but it should work with the built in functions as well)

As you can see the switches are the exact same as for Shutdown.exe command in windows (I am actually calling it)

Edited by colafrysen
[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]
Link to comment
Share on other sites

Hi,

yes, thats it.. thank you very much... :D

I'll try it out in my next version.

Which port must i use to reach your server component?

Oh sorry I forgot that. it is 65335 Edited by colafrysen
[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]
Link to comment
Share on other sites

Oh sorry I forgot that. it is 65335

Okay, i'll try it like this... (my first draft, got no time to test it today)

Func RemoteShutdown($ButtonID)
$ShDwn_Type = " -S "
$ShDwn_Delay = " -T 10"
$ShDwn_Message = " -C Rechner wird remote heruntergefahren!"

$nPORT = 65335

; Start The TCP Services
;==============================================
    TCPStartup()
; Initialize a variable to represent a connection
;==============================================
    $ConnectedSocket = -1

;Connect to SERVER Component and send message
;=======================================================
    $ConnectedSocket = TCPConnect($IPAdressAP[$ButtonID], $nPORT)

    ; If there is an error... show it
    If @error Then
        MsgBox(4112, "Error", "TCPConnect failed with WSA error: " & @error)
    Else
        $szData = "Shdwn" & ¤*¤ & $ShDwn_Type & ¤*¤ & $ShDwn_Delay & ¤*¤ & $ShDwn_Message
        TCPSend($ConnectedSocket, $szData)
    EndIf
    TCPCloseSocket($ConnectedSocket)
    TCPShutdown()

EndFunc

Thanks for your help :D

I have got a button for each PC he it gives the $ButtonID.

The IP Addresses are in an array called $IPAdressAP[..]

Edited by CrazyThom
Link to comment
Share on other sites

well, ok, youare allowed to share .exe files by the rules and no body can force you to release the program but... couldnt they make a section for PROGRAMS? i mean, its called example SCRIPTS because you sohuld be able to learn from others work... also, i dont really trust exe files ^^

btw nice prog

And the description for the Example Scripts forum is

A forum to share your cool scripts, User Defined Functions and AutoIt-based applications with others.

So don't continue to ask for source or you will find yourself taking a forced vacation from the forums.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

@GEOSoft: I hope you don't mean me, if you do, please excuse my interest in the colafrysen and sorry for the disturbance.

@colafrysen : i now checked it, and it doesn't work.

I get the response from the Server component :

LOG:Command not recognised, please check that the server is up to date

When i send the command with the Albi tool, i get

Shdwn*Shutdown initiated

The command i send is

Shdwn* -S * -T 30*

and this is equal to the TCP command, that will be send by your tool, but your tool makes an Logon first. So i guess, that i have to logon to the server component first.

it's a pity, but never mind, maybe i will find another way to shutdown a remote computer... thanks for your help so far. :D

Edited by CrazyThom
Link to comment
Share on other sites

the parameter delimiter in version 2.3 is "¤*¤" so the correct string would be:

Shdwn¤*¤ -S ¤*¤ -T 30¤*¤

This works for me :D

Edit: the logon is actually not a logon, the server asks who you are so that it can be showed when pressing the Ctrl+Shift+Win+Alt+A hotkey

Edited by colafrysen
[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]
Link to comment
Share on other sites

  • 2 weeks later...

Hi tobi2006 and wraithdu.

About the Media Player controll, I'll work on that, it will (hopefully) be in version 2.4 :D

And about authentication, I am working on this, and it will be released on 2.4.

the authentication will be limited, with this I mean that you will have to authorize when you connect. But the data that is being sent over the network will not be encrypted (except the password) (this is because of potential loss of speed) (I might add an option for it)

Hope that this is what you are looking for :D Also, this is my first week since school that I've had free time for the project, so the development has been going slower than expected...

Edited by colafrysen
[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]
Link to comment
Share on other sites

  • 3 weeks later...

ALIBI Controller 2.4 released!

After a long wait and a total of 667 downloads(!) I now release version 2.4 :)

Changes

  • Made the tab control multi line.
  • Added basic authentication (thanks wraithdu for idea)
  • Added options to control media players via media keys. (I could not find a WMP UDF, and MS documentation did not encourage me to write my own) (thanks tobi2006 for idea, though I am sorry I could not make it better)
  • Added a function that enables you to update the current folder in remote explorer by clicking the top column
  • Added a setting to change the screenshot quality
  • Added a parameter to let the webcam optimize exposure before taking the picture
  • Changed "Connection failed" to "Ping failed" when a Ping fails
  • The program does no longer get the IP when enumerating computers. (beacause this made it slow if a computer did not respond)
  • If your filetransfer hangs up, disconnection now resets so that you can use the client without restart
  • Rewrote the filetransfer functions so that I understand what I am doing :)
  • Fixed a visual bug with the iTunes songinfo listview
  • Added listview to terminate process so that you can doubble click an entry in the list to select it
  • Added Another listview in the tab to doubble click window and terminate its process
  • Fixed a issue where the format of the basic info was messed up
  • Removed the iTunes button "Unload" untill this function does actually work
  • Changed a spelling mistake in the FAQ
  • Changed "this computer" to "my computer"
  • Added the ability to plant a file on the other computer (veeery buggy)
  • Added multi drive browsing in Explorer tab, this is availiable when pressing up at the for example C:\ dir

Known bugs:

  • TCP issues, sometimes the function connection established does not get called...

    • When you get the log message "CLIENT:Connection established (probably not)" You are probably not connected, try to reconnect untill the server says you are connected. (I am unsure if this is the case on all computers)
  • The CMD prompt gets started everytime you execute a command, this means that the cd commands and such does not work (commands that modify directory etcetera)
  • When using tabbed MSN windows with MSN plus, the windows-listview in terminate processes gets messed up.
Edited by colafrysen
[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]
Link to comment
Share on other sites

Here's some massive feedback!

First good stuff.

Very professionally done, especially the installer is nice. The GUI is also good and provides easy access to stuff.

Then other stuff.

- Starting the server definitely needs a visual confirmation, maybe something like "server started listening at port xxxx".

- You rely too much on ping, a failed ping does not mean that the system is offline (in my case, the firewall blocked).

- I couldn't get most of the features to run! Only MsgBox and Inputbox worked, all other just seems to not respond at all, (like clicking on buttons without any event action). (if there was an error, alert the user!)

- Trying to open the perference file before you have saved a preference at least once results in a windows error.

- The sarcasm in the log window made me confused (19:51:29|CLIENT:Connection established (probably not)).

Anyways, really good job. Hit me on msn to discuss the problems more :)

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

Link to comment
Share on other sites

  • 1 month later...

ALIBI Controller 2.5 released!

I am sorry for all the troubles that came with version 2.4 and i still haven't been able to get rid of them all, I've done my best to get the TCP to work better and some improvement has been made. But as mentioned, there are still some instability.

However, here are the fixes (not many new features this time :) )

  • Removed sarcasm in the log, instead now you click F2 for information when the issue appears
  • Made the preferences field for webcamera exposure only accept digits
  • Added a warning when trying to use iTunes if iTunes is not installed (this caused chrash)
  • Changed while sleep in both Server and Client from 20 to 10ms
  • Now using the latest TCP UDF again, but the error still persists
  • Registering the receive event before the connection event (seems to help a bit, but i don't know why ;))
  • Added a optional confirmation on the server to show that it is listening
  • Changed the tooltips on the installer to use the "bubble" ones.
  • Fixed a bug where the server hanged and had to be force-quited if a screenshot was captured that was under 1 byte in size (a failure often encountered when no webcamera is installed)
Known bugs:

  • TCP issues, sometimes the function connection established does not get called...
  • The CMD prompt gets started everytime you execute a command, this means that the cd commands and such does not work (commands that modify directory etcetera)
  • When using tabbed MSN windows with MSN plus, the windows-listview in terminate processes gets messed up.

Edit: Added bugs...

Edited by colafrysen
[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]
Link to comment
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
 Share

  • Recently Browsing   0 members

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