OmYcroN Posted May 1, 2010 Posted May 1, 2010 This is my code for auto installing photoshop :#Region ;**** Directives created by AutoIt3Wrapper_GUI ****#AutoIt3Wrapper_icon=Icon.ico#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****; Script for AdobePhotoshop CS5 ExtendedAutoItSetOption("MouseCoordMode", 2)AutoItSetOption("PixelCoordMode", 2)AutoItSetOption("SendKeyDelay", 250)Run("Set-up.exe.exe")WinWait("Adobe Photoshop CS5")WinActivate("Adobe Photoshop CS5"); WELCOMEWhile True $PixelGetColor = Hex(PixelGetColor(150, 175), 6) If $PixelGetColor == "243E59" Then ExitLoopWEndMouseClick("left", 735, 525); SERIAL NUMBERWhile True $PixelGetColor = Hex(PixelGetColor(150, 200), 6) If $PixelGetColor == "243E58" Then ExitLoopWEndSend("{TAB 7}")Send("{DOWN}")Send("{TAB}")Send("{DOWN}")MouseClick("left", 735, 525); OPTIONSWhile True $PixelGetColor = Hex(PixelGetColor(150, 250), 6) If $PixelGetColor == "243C55" Then ExitLoopWEndMouseClick("left", 735, 525); FINISHWhile True $PixelGetColor = Hex(PixelGetColor(150, 300), 6) If $PixelGetColor == "243B52" Then ExitLoop Sleep(10000)WEndMouseClick("left", 735, 525)FileCreateShortcut(@ProgramFilesDir & "\Adobe\Adobe Photoshop CS5\Photoshop.exe", @DesktopCommonDir & "\Adobe Photoshop CS5", @ProgramFilesDir & "\Adobe\Adobe Photoshop CS5")ExitHope it's good for someone.
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