Quote:
Originally Posted by roie1998
Everytime after i reboot my vm's my shared folder get messed up and too access shortcuts from it i need to enter it until i enter it it has this sign
|
I wrote a little AutoIt script for that:
Code:
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.12.0
Author: myName
Script Function:
Template AutoIt script.
#ce ----------------------------------------------------------------------------
; Script Start - Add your code below here
Sleep(3000)
MouseClick("left", 42,34, 2)
Sleep(1000)
Send("{DOWN}")
Send("{DOWN}")
Send("{DOWN}")
Send("{DOWN}")
Send("{RIGHT}")
Send("{ENTER}")
Sleep(300)
Send("!{F4}")
Sleep(1500)
Run("cmd.exe")
Sleep(500)
Send("cd {ASC 34}C:\Program Files\ExKode\Dxtory2.0{ASC 34}")
Send("{ENTER}")
Send("start /min Dxtory.exe")
Send("{ENTER}")
;;Dxtory ist gestartet - starte Bot!
Send("exit")
Send("{ENTER}")
;;HOST
;;MouseClick("left", 117, 350, 2)
;;Client
MouseClick("left", 120, 244, 2)
If you wanna start the HOST you have to remove the ;; bevor MouseClick(..) and put the comment marks on the MouseClick for the Client
All it does is simply open the expler and manually click on the network drive - then it should be connected.
After that it closes explorer.exe and opens cmd to start dxtory.
Greetings