MSFN Forum: AutoIT Script Collection - Contributions Only - MSFN Forum

Jump to content


Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 13 Pages +
  • « First
  • 10
  • 11
  • 12
  • 13
  • You cannot start a new topic
  • You cannot reply to this topic

AutoIT Script Collection - Contributions Only Anything without switches, might be here Rate Topic: ***** 2 Votes

#221 User is offline   InfinitiProject 

  • Group: Members
  • Posts: 1
  • Joined: 04-June 08

Posted 01 July 2008 - 02:39 AM

Here's my first script ever created, and still learning to use AutoIt. Tested plenty of times to ensure it works flawlessly. Any improvement suggestions welcome.

This is for Axialis IconWorkshop 6.20 Professional. Instructions for using this script is in the au3 file. This script will install Axialis IconWorkshop followed by launching it and inserting your name, company, and serial number. It will disable dialogs should file association breaks, along with disabling online registration, and Tip of the Day pop up box. Finally, this script will close the app automatically once it's done.

Enjoy :)

 
#cs ----------------------------------------------------------------------------
AutoIt: 3.2.12.0
Author: InfinitiProject
Script Created For: Axialis IconWorkshop 6.20 Professional

Instructions: 
- Run this script in the same directory with Axialis IconWorkshop 6.20 Professional executable. Name it "iconworkshop.exe" if it's named otherwise.
- Enter your name, company, and serial number in the fields below.

#ce ----------------------------------------------------------------------------

; Enter Name, Company, and Serial Number Information Here
$YourName = "John Doe"
$Company = "Company/Location"
$SerialNumber = "12345678-12345-12345-12345-12345"

; Axialis IconWorkshop Installation Folder
$INSTALLLOCATION = @ProgramFilesDir & "\Axialis IconWorkshop"

If FileExists($INSTALLLOCATION & "\IconWorkshop.exe") Then
MsgBox(0x40010, @ScriptName, "Please uninstall the previous version of Axialis IconWorkshop before this install can proceed.", 10)
Exit
EndIf

; Axialis Install Executable
$Executable = "iconworkshop.exe"

; Start Axialis IconWorkshop 6.20 Professional Install
Run($Executable)

WinWaitActive("Axialis IconWorkshop 6.20 Installation" , "Welcome to Axialis IconWorkshop 6.20 Installation!")
Sleep(1000)
Send("{ENTER}")
WinWaitActive("Axialis Installation - Product Information" , "Product Information")
Sleep(1000)
Send("{ENTER}")

WinWaitActive("Axialis Installation - User License Agreement", "License Agreement: Terms and Conditions of Use")
Sleep(1000)
Send("{TAB}{TAB}{TAB}{SPACE}")
Sleep(1000)
Send("{ENTER}")

WinWaitActive("Axialis Installation - Destination Folder", "Destination Folder")
Sleep(1000)
Send(@ProgramFilesDir)
Sleep(1000)
Send("\Axialis IconWorkshop")
Sleep(1000)
Send("{ENTER}")

WinWaitActive("Axialis Installation - Installation Successfully Completed", "Installation Successfully Completed!")
Send("{TAB}{TAB}{TAB}{SPACE}")
Sleep(1000)
Send("{ENTER}")

; Launch Axialis IconWorkshop 6.20 Professional
Run($INSTALLLOCATION & "\IconWorkshop.exe")

; Waiting For Application to Launch and Load to Configure App Preferences
Sleep(9000)

; File Association and Prompt Box If Unassociated
WinWaitActive("Warning: File Associations")
Send("{TAB}{TAB}{TAB}{SPACE}{TAB}{SPACE}{TAB}")
Sleep(1000)
Send("{ENTER}")

; Name, Company, Registration Key Information
WinWaitActive("Product Activation")
Send($YourName)
Sleep(1000)
Send("{TAB}")
Send($Company)
Sleep(1000)
Send("{TAB}")
Send($SerialNumber)
Sleep(1000)
Send("{ENTER}")
Sleep(1000)

; Configure Online Registration (Denying Registration)
WinWaitActive("Online Registration Using Internet")
Send("{TAB}")
Sleep(1000)
Send("{TAB}")
Sleep(1000)
Send("{ENTER}")
Sleep(1000)

; Cancel Registration Confirmation
WinWaitActive("Axialis IconWorkshop")
Send("{ENTER}")
Sleep(1000)

; Never Remind About Registration
WinWaitActive("Axialis IconWorkshop")
Send("{ENTER}")
Sleep(1000)

; Welcome to Axialis IconWorkshop! Did you know...
WinWaitActive("Welcome to IconWorkshop")
Send("{TAB}")
Sleep(1000)
Send("{TAB}")
Sleep(1000)
Send("{TAB}")
Sleep(1000)
Send("{TAB}")
Sleep(1000)
Send("{TAB}")
Sleep(1000)
Send("{SPACE}")
Sleep(1000)
Send("{ENTER}")
Sleep(1000)

; Exit Axialis IconWorkshop 6.20 Professional
Send("{ALT}")
Sleep(1000)
Send("{UP}")
Sleep(1000)
Send("{UP}")
Sleep(1000)
Send("{ENTER}")

; Force Close Axialis IconWorkshop 6.20 Professional If It's Still Opened
$PID = ProcessExists("IconWorkshop.exe")
If $PID Then
ProcessClose($PID)
EndIf 

Attached File(s)


This post has been edited by InfinitiProject: 01 July 2008 - 02:43 AM



#222 User is offline   av2606 

  • Group: Members
  • Posts: 7
  • Joined: 05-November 08

Posted 07 November 2008 - 10:42 AM

My first AutoIt script. This one is really simple, no nonsense. For Firefox Setup 3.0.3.exe though it should work on most older/future setups.

Link to Firefox Setup 3.0.3.exe: http://mozilla.stu.edu.tw//firefox/release...tup%203.0.3.exe

Important Rename Firefox Setup 3.0.3.exe to Firefox_Setup_3_0_3.exe as AutoIt doesn't like this file name. :wacko:

#cs ----------------------------------------------------------------------------
Firefox_Setup_3_0_3.exe by av2606
#ce ----------------------------------------------------------------------------

; Define $FireFox
$FireFox = "Firefox_Setup_3_0_3.exe"	

; Disable mouse and keyboard
BlockInput (1)

; Run installer
Run($FireFox)

; Control window 1 - Close programs warning window
WinWaitActive("Mozilla Firefox Setup", "It is recommended that you close all")
ControlClick ("Mozilla Firefox Setup", "It is recommended that you close all", "&Next >")

; Control window 2 - Licence agreement
WinWaitActive("Mozilla Firefox Setup", "Press Page Down to see the rest of the agreement")
ControlClick ("Mozilla Firefox Setup", "Press Page Down to see the rest of the agreement", "I &accept the terms in the Licence Agreement")
ControlClick ("Mozilla Firefox Setup", "Press Page Down to see the rest of the agreement", "&Next >")

; Control window 3 - Default or custom install
WinWaitActive("Mozilla Firefox Setup", "You may choose individual options to be installed")
ControlClick ("Mozilla Firefox Setup", "You may choose individual options to be installed", "&Next >")

; Control window 4 - Install location
WinWaitActive("Mozilla Firefox Setup", "Firefox will be installed to the following location")
ControlClick ("Mozilla Firefox Setup", "Firefox will be installed to the following location", "&Install")

; Control window 5 - Finish and exit
WinWaitActive("Mozilla Firefox Setup", "Click Finish to close this wizard")
ControlClick ("Mozilla Firefox Setup", "Click Finish to close this wizard", "&Launch Firefox now")
ControlClick ("Mozilla Firefox Setup", "Click Finish to close this wizard", "&Finish")

; Enable mouse and keyboard
BlockInput (0)

Attached File(s)


This post has been edited by av2606: 07 November 2008 - 12:43 PM


#223 User is offline   Ken Nichols 

  • Group: Members
  • Posts: 6
  • Joined: 24-November 08

Posted 24 November 2008 - 11:24 PM

Adobe Shockwave Player 11.0.3.470 Silent Installer

I have been looking for a way to do a silent install of Shockwave Player for about a week now. I gave up looking and decided to try to make my own with AutoIt. See Attached.

This will disable the Google toolbar installation and allow for a Unattended install of Adobe Shockwave Player 11.0.3.470

Attached File  Shock.au3 (972bytes)
Number of downloads: 329

#224 User is offline   IcemanSR 

  • Group: Members
  • Posts: 4
  • Joined: 22-November 08

  Posted 01 December 2008 - 09:55 AM

here is my 2 cents :P just learned how all this is working so...code could be cleaner but its fine for first time :P
scripts for
1. acdsee 31961 :) good old one doing its job :P (asking for serial)
2.D-AMN nfo viewer
3.gom player

Attached File(s)


This post has been edited by IcemanSR: 01 December 2008 - 10:14 AM


#225 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 732
  • Joined: 08-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 December 2008 - 06:57 AM

TechSmith Camtasia Studio 7.0.0.1426

Attached File(s)


This post has been edited by radix: 02 April 2010 - 12:06 PM


#226 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 732
  • Joined: 08-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 December 2008 - 06:58 AM

TechSmith SnagIt 10.0.0.788

Attached File(s)


This post has been edited by radix: 17 May 2010 - 06:18 AM


#227 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 732
  • Joined: 08-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 23 December 2008 - 02:34 PM

DAEMON Tools Lite 4.41.3.0173

Attached File(s)


This post has been edited by radix: 28 October 2011 - 04:20 PM


#228 User is offline   Mann 

  • Junior
  • Pip
  • Group: Members
  • Posts: 95
  • Joined: 02-October 03

Posted 24 April 2009 - 05:30 AM

thanks for the update :)

#229 User is offline   Pelekan 

  • Newbie
  • Group: Members
  • Posts: 22
  • Joined: 05-September 07

Posted 03 May 2009 - 10:05 PM

Unattended Installation Avira Antivirus. Checked on Windows 7.

Demo at ITSTUFF.CA

Attached File(s)



#230 User is offline   Drenelly 

  • Group: Members
  • Posts: 4
  • Joined: 20-October 07

Posted 06 June 2009 - 10:26 PM

Irfanview 4.23

Enjoy it!

Attached File(s)

  • Attached File  IR2.au3 (204bytes)
    Number of downloads: 97


#231 User is offline   kmaheshkumar 

  • Junior
  • Pip
  • Group: Members
  • Posts: 68
  • Joined: 25-June 07

Posted 10 June 2009 - 11:22 PM

View Postav2606, on Nov 7 2008, 10:12 PM, said:

My first AutoIt script. This one is really simple, no nonsense. For Firefox Setup 3.0.3.exe though it should work on most older/future setups.

Link to Firefox Setup 3.0.3.exe: http://mozilla.stu.edu.tw//firefox/release...tup%203.0.3.exe

Important Rename Firefox Setup 3.0.3.exe to Firefox_Setup_3_0_3.exe as AutoIt doesn't like this file name. :wacko:

#cs ----------------------------------------------------------------------------
Firefox_Setup_3_0_3.exe by av2606
#ce ----------------------------------------------------------------------------

; Define $FireFox
$FireFox = "Firefox_Setup_3_0_3.exe"	

; Disable mouse and keyboard
BlockInput (1)

; Run installer
Run($FireFox)

; Control window 1 - Close programs warning window
WinWaitActive("Mozilla Firefox Setup", "It is recommended that you close all")
ControlClick ("Mozilla Firefox Setup", "It is recommended that you close all", "&Next >")

; Control window 2 - Licence agreement
WinWaitActive("Mozilla Firefox Setup", "Press Page Down to see the rest of the agreement")
ControlClick ("Mozilla Firefox Setup", "Press Page Down to see the rest of the agreement", "I &accept the terms in the Licence Agreement")
ControlClick ("Mozilla Firefox Setup", "Press Page Down to see the rest of the agreement", "&Next >")

; Control window 3 - Default or custom install
WinWaitActive("Mozilla Firefox Setup", "You may choose individual options to be installed")
ControlClick ("Mozilla Firefox Setup", "You may choose individual options to be installed", "&Next >")

; Control window 4 - Install location
WinWaitActive("Mozilla Firefox Setup", "Firefox will be installed to the following location")
ControlClick ("Mozilla Firefox Setup", "Firefox will be installed to the following location", "&Install")

; Control window 5 - Finish and exit
WinWaitActive("Mozilla Firefox Setup", "Click Finish to close this wizard")
ControlClick ("Mozilla Firefox Setup", "Click Finish to close this wizard", "&Launch Firefox now")
ControlClick ("Mozilla Firefox Setup", "Click Finish to close this wizard", "&Finish")

; Enable mouse and keyboard
BlockInput (0)


i think this much code is not need fro firefox because silent switch of firefox is -ms why dont make a script with that

#232 User is offline   minutka15 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 16-May 08

Posted 15 June 2009 - 05:47 PM

View PostDrenelly, on Jun 6 2009, 10:26 PM, said:

Irfanview 4.23

Enjoy it!


Quote

iview423.exe /silent /folder="%ProgramFiles%\irfanview" /desktop=1 /thumbs=0 /group=1 /allusers=0 /assoc=1


This program also can be installed silently without Autoit.

#233 User is offline   pcjames 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 04-August 07

Posted 21 June 2009 - 04:12 PM

Hi All!

Comodo Internet Security 32-Bit & Comodo Firewall Only 32-Bit for XP & Vista can be found Here
64-Bit - Coming as soon as I get my hands on some 64-Bit machines.

Enjoy All!

This post has been edited by pcjames: 21 June 2009 - 04:14 PM


#234 User is offline   gorara 

  • Group: Members
  • Posts: 2
  • Joined: 14-July 09

Posted 14 July 2009 - 02:52 AM

utorrent 1.8.5 (build 17091)


Couldn't find another autoit for utorrent, so decided to post my own here.
This script is customized for my personal settings, anyone can take it and modify it to their purposes...

I made it specifically to use with WPI (so not many configuration options are set) It's commented to help with modification should anyone need to..

enjoy!

Attached File(s)


This post has been edited by gorara: 07 November 2009 - 07:16 AM


#235 User is offline   deep 

  • Group: Members
  • Posts: 2
  • Joined: 09-August 09

Posted 10 August 2009 - 12:47 PM

Winamp 5112_pro with settings

 
#NoTrayIcon

$DELAY = 400

Run ( "winamp5112_pro.exe" )
WinWaitActive("Winamp Setup", "License Agreement")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)
WinWaitActive ( "Winamp Setup" , "Choose Components" )
Send("{TAB}")
Sleep($DELAY)
Send("{DOWN}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{DOWN}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{DOWN 4}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{TAB 2}")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)
WinWaitActive ( "Winamp Setup" , "Choose Install Location" )
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)
WinWaitActive ( "Winamp Setup" , "Choose Install Options" )
Sleep($DELAY)
Send("{DOWN 3}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{DOWN 2}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{TAB 2}")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)
WinWaitActive ( "Winamp Setup" , "Internet Connection and Language Settings" )
Sleep($DELAY)
Send("{DOWN 2}")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)

WinWaitActive ( "Winamp Setup" , "Interface and Skin Selection" )
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)

WinWaitActive ("1. DJ Mike Llama - Llama Whippin' Intro - Winamp [Stopped]" , "")
Sleep($DELAY)
Send("!f")
Sleep($DELAY)
Send("#o")
Sleep($DELAY)
Send("#p")
Sleep($DELAY)
WinWaitActive ("Winamp Preferences" , "")
Sleep($DELAY)
Send("{UP}")
Sleep($DELAY)
Send("{TAB 5}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("USERNAME")
Sleep($DELAY)
Send("{TAB}")
Sleep($DELAY)
Send("SERIAL")
Sleep($DELAY)
Send("{TAB}")
Sleep($DELAY)
Send("{ENTER}")
Sleep($DELAY)
Send("{TAB 2}")
Sleep($DELAY)
Send("{DOWN}")
Sleep($DELAY)
Send("{TAB 9}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{TAB}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{TAB 8}")
Sleep($DELAY)
Send("{DOWN}")
Sleep($DELAY)
Send("{TAB 4}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
Send("{TAB 10}")
Sleep($DELAY)
Send("{SPACE}")
Sleep($DELAY)
WinWaitActive("[CLASS:Winamp v1.x]")
WinClose("[CLASS:Winamp v1.x]")


 


#236 User is offline   CrackMe 

  • Group: Members
  • Posts: 5
  • Joined: 03-January 07

Posted 28 September 2009 - 03:10 AM

TCP-Z, V2.6.1.72 (the in memory tcpip.sys patcher-driver (default value after appling patch is 252)
 
Run('TCPZ_Setup-x86.exe')
WinWaitActive('TCP/IP Half Open Limited Patcher  (TCP-Z)')
send("{ENTER}")

WinWaitActive('TCP/IP Half Open Limited Patcher  (TCP-Z)')
ControlClick('TCP/IP Half Open Limited Patcher  (TCP-Z)','Action','Button1')
send("{ENTER}")


WinWaitActive('TCP/IP Half Open Limited Patcher  (TCP-Z)')
send("{ENTER}")

WinWaitActive('OK')
send("{ENTER}")

If WinExists('TCP/IP Half Open Limited Patcher  (TCP-Z)') Then
WinClose('TCP/IP Half Open Limited Patcher  (TCP-Z)')
EndIf

sleep(1000)
WinWaitActive('Device Manager')
WinClose('Device Manager') 

This post has been edited by CrackMe: 28 September 2009 - 03:21 AM


#237 User is offline   CrackMe 

  • Group: Members
  • Posts: 5
  • Joined: 03-January 07

Posted 28 September 2009 - 03:17 AM

NOD32 2.70.39 EN - Standard (retail)

 
Run('setup.exe')
WinWaitActive('Setup Wizard')
ControlCommand('Setup Wizard','Installation','Expert (Fully customized installation)','Check','')
send("!n")

WinWaitActive('End-user Software License Agreement')
ControlCommand('End-user Software License Agreement','SOFTWARE LICENSE AGREEMENT','I agree','Check','')
send("!n")

WinWaitActive('Select destination folder')
send("!n")

WinWaitActive('Setup of Automatic Update')
ControlCommand('Setup of Automatic Update','Automatic Internet update of NOD32 system will only work if a valid Username and Password are entered in the fields below. Username and Password are assigned by the vendor or distributor, and must be entered exactly as printed on the license.','Set update parameters later','Check','')
send("!n")

WinWaitActive('General Setup')
send("!n")

WinWaitActive('Program graphics and splash screen options')
ControlCommand('Program graphics and splash screen options','To disable display of the NOD32 splash screen at system startup, select the appropriate checkbox.','Do not display NOD32 splash screen at startup','Check','')
send("!n")

WinWaitActive('Warning distribution')
send("!n")

WinWaitActive('ThreatSense.Net Early Warning System')
send("!e")
send("!n")

WinWaitActive('Detection of potentially unwanted applications')
send("!d")
send("!n")


WinWaitActive('File system monitor - AMON')
send("!n")

WinWaitActive('On-Demand Scanner integration')
send("!n")

WinWaitActive('Microsoft Office document protection (DMON)')
ControlCommand('Microsoft Office document protection (DMON)','DMON protects your computer against infiltrations in Microsoft Office documents.','Enable protection of Microsoft Office documents (DMON)','Check','')
send("!n")

WinWaitActive('Internet Monitor (IMON)')
;ControlCommand('Internet Monitor (IMON)','It is designed principally for workstations and should not be enabled on servers.','Register Internet monitor (IMON) to the system','Check','')
Send("{SPACE}")
send("!n")

WinWaitActive('Email monitor for Microsoft Outlook (EMON)')
send("!e")
send("!n")

WinWaitActive('Setup configuration complete')
send("!n")

WinWaitActive('Installation complete')
ControlCommand('Installation complete','','Restart later','Check','')
send("{ENTER}") 

This post has been edited by CrackMe: 28 September 2009 - 03:20 AM


#238 User is offline   laz3boy 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 21-September 08

Posted 29 October 2009 - 07:52 PM

Here is a script for DAP - Download Accelerator Plus Version 93, for offline install, pls don't use it when you're online.

This is for free version and it won't put any desktop icons and would also stop internet explorer or firefox to run at the end

Attached File(s)


This post has been edited by laz3boy: 29 October 2009 - 07:58 PM


#239 User is offline   gorara 

  • Group: Members
  • Posts: 2
  • Joined: 14-July 09

Posted 17 February 2010 - 11:04 AM

utorrent 2.0.0 (build 18097)

Updated from previous au3, 1.8.5 (build 17091)
Basic settings, made mostly for WPI installation...

enjoy!

Attached File(s)



#240 User is offline   coooly 

  • Group: Members
  • Posts: 1
  • Joined: 27-February 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 27 February 2010 - 04:16 PM

Here's my AutoIT Script to dtrace Symantec Enteprise Vault when it's doing some archiving tasks. (Of course you can modify what you want to monitor)

Done because i didn't want to wake at 4am to do this myself :)

WinActivate is used to be sure that autoit send the keys in the right place. (Note that the windows name is dtrace's path)


;   Open dtrace and run specifics commands to monitor enterprise vaultservices
Run("C:\PROGRA~1\ENTERP~1\DTrace.exe")


; Wait for the dtrace become active
WinWaitActive("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Sleep(3000)

;Focus to dtrace windows
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")

;List recordable events
Send("view")
Sleep(3000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(3000)

;Record event 84 - StorageDelete
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("set 84 v")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(5000)

;Record event 85 - StorageFileWatch
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("set 85 v")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(5000)

;Record event 86 - StorageManagement
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("set 86 v")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(5000)

;Record log to a specific directory with a current date
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("log C:\Scripts\dtrace\tracelog-"& @Year & "-" & @MON & "-" & @MDAY & "-" & @HOUR & "-" & @MIN & "-" & @SEC & ".log")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
 
;Record for an hour
Sleep(3600000)


;Stop logging
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("log")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(5000)

;Confirmation to stop logging
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("yes")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
Sleep(5000)

;Quit dtrace
WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("exit")
Sleep(5000)

WinActivate("C:\PROGRA~1\ENTERP~1\DTrace.exe")
Send("{enter}")
 
 
; Finished!



Share this topic:


  • 13 Pages +
  • « First
  • 10
  • 11
  • 12
  • 13
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy