storme Posted August 19, 2009 Share Posted August 19, 2009 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! Some of my small contributions to AutoIt Browse for Folder Dialog - Automation SysTreeView32 | FileHippo Download and/or retrieve program information | Get installedpath from uninstall key in registry | RoboCopy function John Morrison aka Storm-E Link to comment Share on other sites More sharing options...
colafrysen Posted August 19, 2009 Author Share Posted August 19, 2009 (edited) G'day colafrysenGreat 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:StandbyHibernateRemote explorer! (Homedrive only)The ability to capture pictures with the webcameraFaster filetransfer (thanks to Monoceres) Edited June 20, 2010 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 More sharing options...
BinaryBrother Posted August 19, 2009 Share Posted August 19, 2009 (edited) 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 progRead here:http://www.autoitscript.com/forum/index.php?showtopic=65889@colafrysenYou 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 August 19, 2009 by BinaryBrother SIGNATURE_0X800007D NOT FOUND Link to comment Share on other sites More sharing options...
colafrysen Posted August 20, 2009 Author Share Posted August 20, 2009 Read here:http://www.autoitscript.com/forum/index.php?showtopic=65889@colafrysenYou 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 More sharing options...
BinaryBrother Posted August 20, 2009 Share Posted August 20, 2009 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 More sharing options...
CrazyThom Posted September 1, 2009 Share Posted September 1, 2009 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 More sharing options...
colafrysen Posted September 1, 2009 Author Share Posted September 1, 2009 (edited) 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 September 1, 2009 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 More sharing options...
CrazyThom Posted September 1, 2009 Share Posted September 1, 2009 Hi, yes, thats it.. thank you very much... I'll try it out in my next version. Which port must i use to reach your server component? Link to comment Share on other sites More sharing options...
colafrysen Posted September 1, 2009 Author Share Posted September 1, 2009 (edited) Hi,yes, thats it.. thank you very much... 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 September 1, 2009 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 More sharing options...
CrazyThom Posted September 1, 2009 Share Posted September 1, 2009 (edited) 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 I have got a button for each PC he it gives the $ButtonID. The IP Addresses are in an array called $IPAdressAP[..] Edited September 1, 2009 by CrazyThom Link to comment Share on other sites More sharing options...
GEOSoft Posted September 1, 2009 Share Posted September 1, 2009 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 progAnd the description for the Example Scripts forum isA 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 More sharing options...
CrazyThom Posted September 1, 2009 Share Posted September 1, 2009 (edited) @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. Edited September 1, 2009 by CrazyThom Link to comment Share on other sites More sharing options...
colafrysen Posted September 1, 2009 Author Share Posted September 1, 2009 (edited) the parameter delimiter in version 2.3 is "¤*¤" so the correct string would be: Shdwn¤*¤ -S ¤*¤ -T 30¤*¤ This works for me 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 September 1, 2009 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 More sharing options...
CrazyThom Posted September 1, 2009 Share Posted September 1, 2009 Ah, okay, thx.... now i simply took your code, and send it directly, without combining a string and "voila" it works... Wow.. very good work... so simple and effective... you are the Link to comment Share on other sites More sharing options...
tobi2006 Posted September 16, 2009 Share Posted September 16, 2009 (edited) hi colafrysen i would like to control windows media player... is that possible...? please add it... Edited September 16, 2009 by tobi2006 Link to comment Share on other sites More sharing options...
wraithdu Posted September 16, 2009 Share Posted September 16, 2009 Nice work on this. Am I to understand there's no type of client/server authentication? If not, is it planned? Link to comment Share on other sites More sharing options...
colafrysen Posted September 18, 2009 Author Share Posted September 18, 2009 (edited) Hi tobi2006 and wraithdu. About the Media Player controll, I'll work on that, it will (hopefully) be in version 2.4 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 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 September 18, 2009 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 More sharing options...
colafrysen Posted October 3, 2009 Author Share Posted October 3, 2009 (edited) ALIBI Controller 2.4 released!After a long wait and a total of 667 downloads(!) I now release version 2.4 ChangesMade 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 columnAdded a setting to change the screenshot qualityAdded a parameter to let the webcam optimize exposure before taking the pictureChanged "Connection failed" to "Ping failed" when a Ping failsThe 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 restartRewrote the filetransfer functions so that I understand what I am doing Fixed a visual bug with the iTunes songinfo listviewAdded listview to terminate process so that you can doubble click an entry in the list to select itAdded Another listview in the tab to doubble click window and terminate its processFixed a issue where the format of the basic info was messed upRemoved the iTunes button "Unload" untill this function does actually workChanged a spelling mistake in the FAQChanged "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:\ dirKnown 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 June 20, 2010 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 More sharing options...
monoceres Posted October 4, 2009 Share Posted October 4, 2009 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 More sharing options...
colafrysen Posted November 8, 2009 Author Share Posted November 8, 2009 (edited) 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 appearsMade the preferences field for webcamera exposure only accept digitsAdded 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 10msNow using the latest TCP UDF again, but the error still persistsRegistering 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 listeningChanged 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 June 20, 2010 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now