Jump to content

ruelas05

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by ruelas05

  1. hello, it just came to my mind....do you guys know if AutoIt can "read" all the user accounts in windows (XP or 7), the type of user and the password of each of the users? any ideas on how to do this? Thx a lot.
  2. simple idea, create individual scripts (EXE´s) for each of the VM environments, and use the send command to launch the one you need in the specific VM... Other idea (just something to explor, I don´t really have details here), give a different IP address to each of the VM´s, create a TCP client script, which is running at all VMs at the same time, then a TCP Server on the host machine, which will send commands/instructions to the specific Client.... sorry I can´t provide details / code, I´m not really an expert, just trying to help giving you some options.
  3. I think the Client code is needed, please. To me, this may be just a syntax error on the TCPSend command (on the Client), looks like you´re sending the variable name, not the variable contents....
  4. if the folder is in the same directory, you can try something not very fancy, but it should work: ;script needs to be in the same directory as the directory/file you want to rename is send("ABC") ;this selects the folder sleep(2) ; you can change this depending of the number of folders/files in the current directory.same for the other Slepp commands . send("{F2}") ; enter the edit name mode sleep(2) send("DFG") ; change the name slepp(2) send("{ENTER}") ;accepts the new name. All this is basically following what you´d do manually. hope this helps
  5. I tried this: $sDataRecived=TCPRecv($socket, Number($iDL)) and it works most of the times, but not always, I still some times get the error code : -1 I´ll continue trying to get a stable communication channel... any ideas / help are welcome. Thx!!
  6. Thx for the option JS, I can certainly get the data length first, in a variable called $iDL, but, I got an error when trying to read the data using $sDataRecived=TCPRecv($socket, $iDL) however, if I use a MsgBox to display $iDL before the $sDataRecived... I can get the data with no issues other way, I continue to get an error (error code: -1) so,,, how do I use a variable to set the "max lenght" paremeter in the TCPRecv command? thx again.
  7. Hi, I´ve been following some of the examples posted, and from there, I created a Server and Client scripts, but I wonder if the Client can recieve data with variable lenght. For example, the server send the strings "Dog", "Elephant", 0345, etc how should I set up the $sDataRecived=TCPRecv($socket, $length) command so I don´t get something like "DogElep", or "034", etc ? Thx a lot for the help.
×
×
  • Create New...