Jump to content

adamsj13

Active Members
  • Posts

    26
  • Joined

  • Last visited

adamsj13's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi ALL, I'm looking to make a script to run every 8 minutes. Basically I want it to stop the screen saver from coming on. I have several machines that run a several media player files and want it to keep looping without screen locking. Its on Windows xp pro. How would one create a script to have the mouse do a movement every 8 minutes or so. Is it even possible?
  2. Hi all, I'm by no means a programmer or expert on auto it. I'm very novice and I think what I'm trying to do is very simple for most of you. Here is what I'm trying to do. I have a program that we use and we need to add notes to it often. In this program there are several tabs, each tab shows the same Window title. What I would like to do is have the mouse or find out how to have the a certian tab in the window become active and then add text in it. Is this possible? It seems the the control id changes each time but the ClassNameNN stays the same. Any helpp will be greatly appreciated. If you need more information please let me know.
  3. Hi all, Is there a way to search the entire hard drive for a specific file ext.? Not everyone saves data to the same location and when running this script im missing some data at times. Thanks all Here is the script I have running now msgbox(1, "Backup", "Once Complete another Message will appear") DirCreate("h:\backup\lotus\notes\data") DirCreate("h:\backup\desktop") DirCreate("h:\backup\favorites") DirCreate("h:\backup\passport") DirCreate("h:\backup\My Documents") DirCreate("h:\backup\printers") DirCreate("h:\backup\network-drives") sleep(10000) DirCopy(@MyDocumentsDir, "h:\backup\My Documents", 1) DirCopy(@DesktopDir, "h:\backup\desktop", 1) DirCopy(@FavoritesDir, "h:\backup\favorites", 1) FileCopy("C:\program files\lotus\notes\notes.ini", "h:\backup\lotus\notes") FileCopy("C:\program files\lotus\notes\data\*.nsf", "h:\backup\lotus\notes\data") FileCopy("C:\program files\lotus\notes\data\*.id", "h:\backup\lotus\notes\data") FileCopy("C:\program files\lotus\notes\data\*.dsk", "h:\backup\lotus\notes\data") FileCopy("C:\program files\lotus\notes\data\*.ndk", "h:\backup\lotus\notes\data") FileCopy("C:\program files\passport\*.kpd", "h:\backup\passport") FileCopy("C:\program files\passport\*.mac", "h:\backup\passport") FileCopy("C:\program files\passport\*.zcc", "h:\backup\passport") FileCopy("C:\program files\passport\*.zws", "h:\backup\passport") FileCopy("C:\program files\passport\*.*", "h:\backup\passport") runwait(@comspec & " /c " & 'REGEDIT /E ' & 'h:\backup\network-drives\MappedDrives.reg "HKEY_CURRENT_USER\Network\"', "" ,@SW_HIDE) runwait(@comspec & " /c " & 'REGEDIT /E ' & 'h:\backup\printers\Printers.reg "HKEY_CURRENT_USER\Printers\Connections\"', "" ,@SW_HIDE) SoundSetWaveVolume(99) SoundPlay("C:\winxp\media\tada.wav", 1) msgbox(1, "Backup", "Backup Complete")
  4. I really appreciate your help. Now when this runs, runwait(@comspec & " /c " & 'REGEDIT /E ' & '$backupfolder & "\network-drives\MappedDrives.reg "HKEY_CURRENT_USER\Network\"', "" ,@SW_HIDE) runwait(@comspec & " /c " & 'REGEDIT /E ' & '$backupfolder & "\printers\Printers.reg "HKEY_CURRENT_USER\Printers\Connections\"', "" ,@SW_HIDE) It creates a file on the Desktop. Any Ideas why? Thanks
  5. Thanks all for your help. Is there a way to reverse it? Meaning to copy back over to the machine?
  6. Great!! Thanks Here is what I was using and worked GREAT, but I want the user to be able to have unique backup names for each person. msgbox(1, "Backup", "Once Complete another Message will appear") DirCreate("h:\backup\lotus\notes\data") DirCreate("h:\backup\desktop") DirCreate("h:\backup\favorites") DirCreate("h:\backup\passport") DirCreate("h:\backup\My Documents") DirCreate("h:\backup\printers") DirCreate("h:\backup\network-drives") sleep(10000) DirCopy(@MyDocumentsDir, "h:\backup\My Documents", 1) DirCopy(@DesktopDir, "h:\backup\desktop", 1) DirCopy(@FavoritesDir, "h:\backup\favorites", 1) FileCopy("C:\program files\lotus\notes\notes.ini", "h:\backup\lotus\notes") FileCopy("C:\program files\lotus\notes\data\*.nsf", "h:\backup\lotus\notes\data") FileCopy("C:\program files\lotus\notes\data\archive\*.nsf", "h:\backup\lotus\notes\data\archive") FileCopy("C:\program files\lotus\notes\data\mail\*.nsf", "h:\backup\lotus\notes\data\mail") FileCopy("C:\program files\lotus\notes\data\*.id", "h:\backup\lotus\notes\data") FileCopy("C:\program files\lotus\notes\data\*.dsk", "h:\backup\lotus\notes\data") FileCopy("C:\program files\lotus\notes\data\*.ndk", "h:\backup\lotus\notes\data") FileCopy("C:\program files\passport\*.kpd", "h:\backup\passport") FileCopy("C:\program files\passport\*.mac", "h:\backup\passport") FileCopy("C:\program files\passport\*.zcc", "h:\backup\passport") FileCopy("C:\program files\passport\*.zws", "h:\backup\passport") FileCopy("C:\program files\passport\*.*", "h:\backup\passport") runwait(@comspec & " /c " & 'REGEDIT /E ' & 'h:\backup\network-drives\MappedDrives.reg "HKEY_CURRENT_USER\Network\"', "" ,@SW_HIDE) runwait(@comspec & " /c " & 'REGEDIT /E ' & 'h:\backup\printers\Printers.reg "HKEY_CURRENT_USER\Printers\Connections\"', "" ,@SW_HIDE) SoundSetWaveVolume(99) SoundPlay("C:\winxp\media\tada.wav", 1) msgbox(1, "Backup", "Backup Complete") What would be the best way to change all the h:\backup\ to $answer ?
  7. Hi all, How can I have a inputbox save the data the user puts in to create a folder on a server? For instance InputBox ( "Backup Name", "Please type in name of backup Directory. For Example Jared's Backup 08/17/06", "Default" , "") I want to be able to save what the users types in and create a folder with that name. Thanks
  8. Sorry I didn't realize the window scrolls down. Press CTRL-ALT-F to pause the display. >>>>>>>>>>>> Window Details <<<<<<<<<<<<< Title: Mitchell eClaim Manager 3.2.2 Class: #32770 Size: X: 403 Y: 31 W: 522 H: 394 >>>>>>>>>>> Mouse Details <<<<<<<<<<< Screen: X: 584 Y: 43 Cursor ID: 2 >>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<< RGB: Hex: 0x0055E5 Dec: 21989 >>>>>>>>>>> Control Under Mouse <<<<<<<<<<< Size: Control ID: ClassNameNN: Text: >>>>>>>>>>> Status Bar Text <<<<<<<<<<< >>>>>>>>>>> Visible Window Text <<<<<<<<<<< &Continue Click Continue to begin the installation. Please contact the Information Technical Support Desk if you experience any problems. The runtime for this installation will be approximately 20 minutes. To save any work in progress before this installation begins, switch focus to the open applications by pressing the ALT + TAB key combination. Save all work and exit the applications. You may experience periods of apparent inactivity. Please be patient and DO NOT reboot the workstation or touch the mouse or keyboard unless prompted. A notification screen will display the results of the installation procedure when the installer has completed. Welcome to the Installer for: Mitchell eClaim Manager 3.2.2 >>>>>>>>>>> Hidden Window Text <<<<<<<<<<<
  9. Hi, When I try to use the window info tool this is what it shows Press CTRL-ALT-F to pause the display. >>>>>>>>>>>> Window Details <<<<<<<<<<<<< Title: Mitchell eClaim Manager 3.2.2 Class: #32770 Size: X: 403 Y: 31 W: 522 H: 394 >>>>>>>>>>> Mouse Details <<<<<<<<<<< Screen: X: 584 Y: 43 Cursor ID: 2 >>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<< RGB: Hex: 0x0055E5 Dec: 21989 >>>>>>>>>>> Control Under Mouse <<<<<<<<<<< Size: Control ID: ClassNameNN: Text: Can I still use controlclick since there is not Control ID or Text?
  10. That worked, however, it didnt activate the window. I had to click on it to activate it. Here is what the script looks like now. Winwaitactive("Mitchell eClaim Manager 3.2.2") send("{enter}") winactivate("Mitchell eClaim Manager 3.2.2") Winwaitactive("Mitchell eClaim Manager 3.2.2") send("{enter}") Winwaitactive("Installation Complete") send("{enter}")
  11. I have with same results
  12. Hi all, I'm trying to make a few scripts that use winwaitactive, winactivate. Here is the code Winwaitactive ("Mitchell eClaim Manager 3.2.2") send ("ENTER") winactivate ("Mitchell eClaim Manager 3.2.2") <------ This window is active sometimes but not always send ("ENTER") Winwaitactive ("Installation Complete") send ("ENTER") The problem I have is noneof it works. I see the autoit is running in the taskbar, but doesn't respond to the windows. I'm using SMS Installer to start the install of the application and it will also call the autoit script. Is there anything I am missing or doing wrong? Thanks all for your help and suggestions
  13. Hi All, I'm wanted to wright a script that will add a userID as a administrator on a WINXP box. Is there a easy way to create a script? When I enter in the user id I want, I also have to enter in my ID and Password. I would like to have this coded in the script. Can anyone help me? Thanks
  14. Is there a quick way to code this? It is a batch file I made, but would rather have it in a script reg import HKEY_Current_User\Network "h:\mapped drives.reg" reg import HKEY_Current_User\Printers\Connections "h:\PRINTERS.reg"
  15. What is the easiest way to copy these 2 keys that will do it behind the scenes? Thanks all for your help
×
×
  • Create New...