Jump to content

Recommended Posts

Posted

Trying to use the command line Tortoise SVN to commit a file but the GUI pops up and the script pauses. I've tried dozens of combinations but can't get this simple script to run. TIA for any help - this is my first script in AutoIt.

;run tortoiseproc

Run('tortoiseproc.exe /command:commit /path:"C:\!Temp\XML\rjbdata.xml" /logmsg:"Nightly Update" /notempfile /closeonend:1')

;wait for it to start

WinWaitActive("Commit")

;send ALT-O to close the GUI

Send("!o")

;wait for the finished window

WinWaitActive("RJBData")

;send ALT-O to close the GUI

Send("!o")

Posted

I thought that AutoIt would be able to deal with the popup by recognizing the window and sending the proper keystrokes.

Anyway thanks for the quick response.

Posted (edited)

If you do not like any popups, you can use the svn-tools directly. You can download the binaries here

Edited by ProgAndy

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...