Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with AcdSee3.1 need help
2005-10-31, 06:35 PM,
#5
 
Here is the script:
Code:
; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.1.0
; Author:         Vitali Graf <v.graf@gmx.net>
;
; Script Function:
;    Silent ACDSee 3.1 (English) instalation.
;
; ----------------------------------------------------------------------------

; Start installation
Run("ACDS3.EXE")
WinWaitActive("ACDSee Installation", "&Next >")
ControlClick ( "ACDSee Installation", "&Next >", 4 )

WinWaitActive("ACDSee Installation", "I agree to the terms of this agreement")
ControlClick ( "ACDSee Installation", "I agree to the terms of this agreement", 3 )

WinWaitActive("ACDSee Installation", "*&Product number")

; Seriennumber
ControlFocus ( "ACDSee Installation", "", 10 )
Send("xxxxxxxxxxxxxxxxxx")

; Name
ControlFocus ( "ACDSee Installation", "", 13 )
Send("Your Name")

; E-Mail
ControlFocus ( "ACDSee Installation", "", 17 )
Send("name@domain.com")

ControlClick ( "ACDSee Installation", "&Next >", 3 )

WinWaitActive("ACDSee Installation", "&Next >")
ControlClick ( "ACDSee Installation", "&Next >", 3 )

WinWaitActive("ACDSee Installation", "&Next >")
ControlClick ( "ACDSee Installation", "&Next >", 3 )

; Use "Check"/"UnCheck" for activate/deactivate shortcuts "Destop" ( only if you wont)
WinWaitActive("ACDSee Installation", "Desktop")
ControlCommand  ( "ACDSee Installation", "Desktop", 9, "UnCheck", "")

; Use "Check"/"UnCheck" for activate/deactivate shortcuts "Start Menu Programs - current user" ( only if you wont)
WinWaitActive("ACDSee Installation", "Start Menu Programs - current user")
ControlCommand ( "ACDSee Installation", "Start Menu Programs - current user", 10, "UnCheck", "" )

; Use "Check"/"UnCheck" for activate/deactivate shortcuts "Start Menu Programs - all users (Windows NT only)" ( only if you wont)
WinWaitActive("ACDSee Installation", "Start Menu Programs - all users (Windows NT only)")
ControlCommand ( "ACDSee Installation", "Start Menu Programs - all users (Windows NT only)", 11, "Check", "" )

WinWaitActive("ACDSee Installation", "&Next >")
ControlClick ( "ACDSee Installation", "&Next >", 3 )

WinWaitActive("Start Installation", "&Next >")
ControlClick ( "Start Installation", "&Next >", 3 )

; !!! ACDSee Shell Integration !!!
WinWaitActive("ACDSee Shell Integration")

; Select all image file types  ( only if you wont)
ControlClick ( "ACDSee Shell Integration", "Select &all", 306 )

; Select next tab !!
ControlCommand ( "ACDSee Shell Integration", "", 12320, "TabRight", "" )

; Select all archive file types  ( only if you wont)
ControlClick ( "ACDSee Shell Integration", "Select &all", 306 )

; Select next tab !!
ControlCommand ( "ACDSee Shell Integration", "", 12320, "TabRight", "" )

; Use "Check"/"UnCheck" for activate/deactivate "image files - View with ACDSee" ( only if you wont)
WinWaitActive("ACDSee Shell Integration", "&View with ACDSee")
ControlCommand ( "ACDSee Shell Integration", "&View with ACDSee", 346, "Check", "" )

; Use "Check"/"UnCheck" for activate/deactivate "image files - Print with ACDSee" ( only if you wont)
WinWaitActive("ACDSee Shell Integration", "&Print with ACDSee")
ControlCommand ( "ACDSee Shell Integration", "&Print with ACDSee", 340, "Check", "" )

; Use "Check"/"UnCheck" for activate/deactivate "image files - ACD Photo Enhance" ( only if you wont)
WinWaitActive("ACDSee Shell Integration", "ACD Photo &Enhance")
ControlCommand ( "ACDSee Shell Integration", "ACD Photo &Enhance", 341, "Check", "" )

; Use "Check"/"UnCheck" for activate/deactivate "Folders and archive files - Browse with ACDSee" ( only if you wont)
WinWaitActive("ACDSee Shell Integration", "&Browse with ACDSee")
ControlCommand ( "ACDSee Shell Integration", "&Browse with ACDSee", 349, "Check", "" )

; Close "ACDSee Shell Integration" window
ControlClick ( "ACDSee Shell Integration", "OK", 1 )

; Finish installation
WinWaitActive("ACDSee Installation", "&Finish")
ControlClick ( "ACDSee Installation", "&Finish", 3 )

; wait of ACDSee start to close again
WinWaitActive("splash.jpg - ACDSee v3.0")
WinClose ( "splash.jpg - ACDSee v3.0" )

; Try to close "ACD Systems" explorer window without 'WinWaitActive' funktion
WinClose ( "ACD Systems" )

With my win xp home works it !!!
Vitali

[Image: wucdcreator.png]
[Image: winfuture.png]
[Image: mysoft.gif]
Reply


Messages In This Thread
Problem with AcdSee3.1 need help - by - 2005-10-26, 12:21 AM
[No subject] - by - 2005-10-26, 10:17 AM
[No subject] - by - 2005-10-30, 11:41 PM
[No subject] - by - 2005-10-31, 12:13 AM
[No subject] - by - 2005-10-31, 06:35 PM
[No subject] - by - 2005-10-31, 09:44 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)