Jump to content

TryingtoLearn

Members
  • Posts

    5
  • Joined

  • Last visited

TryingtoLearn's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I am not a developer or a gamer and I'm going to ask a question at the risk being blasted by those of you who are. Yes, I have searched the help file and the forums and can't find what I'm looking for. I have used AutoIt to automate numerous software installations so I'm not a complete idiot. I am simply trying to automate the exteremely tedious process of mapping a particular drive letter to a UNC path based on a 3 letters input from the keyboard, run a program, wait until some things have been input into the program (I think I can do this with a WAIT command of some sort). Then map a drive, run a program, etc. and continue until I run out of schools (I work for a school system). We have 90 sites so using hot keys really isn't an option. Thanks in advance for any help you can give and belittle away if you must.
  2. That didn't work either, but thanks for the tip on combining send commands.
  3. I started using this program this week. Downloaded V3 first, went thru the tutorial and wrote a script to simply install a program. I can't figure out why it stops after the security warning window. The welcome screens comes up and just sits there. I downloaded V2, wrote the same script and it works great. I will be using this program quite a bit and would like to use the newer version. Below is my script. Can someone please kick me or point me in the right direction? Thanks in advance... Run("camtasiaf.exe") WinWaitActive("Open File - Security Warning", "&Save") Send("!r") WinWaitActive("Camtasia Studio Installation [EVALUATION]", "Welcome") Send("!n") WinWaitActive("Camtasia Studio Installation [EVALUATION]", "Software License Agreement") Send("!a") WinWaitActive("Camtasia Studio Installation [EVALUATION]", "The settings for this application") Send("!n") WinWaitActive("Camtasia Studio Installation [EVALUATION]", "Enable Camtasia Studio Add-in") Send("!n") WinWaitActive("Camtasia Studio Installation [EVALUATION]", "Start Installation") Send("{TAB}") Send("{TAB}") Send("{TAB}") Send("{TAB}") Send("{SPACE}") Send("{TAB}") Send("{SPACE}") Send("!n") WinWaitActive("Camtasia Studio Installation [EVALUATION]", "Press the Finish") Send("{ENTER}")
  4. That worked. Thank you very much!
  5. Like many others, I am new to this and while it appears to be a very powerful tool, I need some help. I am trying to install a prgram and delete the install file afterwards. Everything works great except the file deletion. What am I missing???? It's not a complicated command. Here's my script: _________________________________________________________________________________________ Run, c:\\camtasiaf.exe WinWaitActive, Camtasia Studio Installation [EVALUATION], Welcome Send, !n WinWaitActive, Camtasia Studio Installation [EVALUATION], Software License Agreement Send, !a WinWaitActive, Camtasia Studio Installation [EVALUATION], Destination Folder Send, !n WinWaitActive, Camtasia Studio Installation [EVALUATION], Enable Camtasia Studio Add-in Send, !n WinWaitActive, Camtasia Studio Installation [EVALUATION], Start Installation Send, {TAB} Send, {TAB} Send, {TAB} Send, {TAB} Send, {SPACE} Send, {TAB} Send, {SPACE} Send, !n WinWaitActive, Camtasia Studio Installation [EVALUATION], Camtasia Studio has been successfully installed Send, !f RegWrite,REG_SZ,HKEY_LOCAL_MACHINE,SOFTWARE\\TechSmith\\Camtasia Studio\\3.0, RegisteredTo, Virginia Beach Public Schools RegWrite,REG_SZ,HKEY_LOCAL_MACHINE,SOFTWARE\\TechSmith\\Camtasia Studio\\3.0, RegistrationKey, RZPHMJVCZKHA8ZCFCBQJKM7FB FileDelete, c:\\camtasiaf.exe _________________________________________________________________________________________ I am using V2 because I couldn't get V3 to go farther than the security warning screen, which doesn't come up with V2 for some reason. I think I'll be using this program a lot and would like to use the newer version. The script is below if someone could point me in the right direction. Thanks in advance for any help... Run("camtasiaf.exe") WinWaitActive("Open File - Security Warning", "&Save") Send("!r") WinWaitActive("Camtasia Studio Installation [EVALUATION]", "Welcome to the Camtasia Studio Setup") Send("!n") WinWaitActive("Camtasia Studio Installation [EVALUATION]", "Software License Agreement") Send("!a") WinWaitActive("Camtasia Studio Installation [EVALUATION]", "The settings for this application") Send("!n") WinWaitActive("Camtasia Studio Installation [EVALUATION]", "Enable Camtasia Studio Add-in") Send("!n") WinWaitActive("Camtasia Studio Installation [EVALUATION]", "Start Installation") Send("{TAB}") Send("{TAB}") Send("{TAB}") Send("{TAB}") Send("{SPACE}") Send("{TAB}") Send("{SPACE}") Send("!n") WinWaitActive("Camtasia Studio Installation [EVALUATION]", "Press the Finish") Send("{ENTER}")
×
×
  • Create New...