• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
An AppleScript to start an SVN Server on boot
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

An AppleScript to start an SVN Server on boot


  • Subject: An AppleScript to start an SVN Server on boot
  • From: Alex Zavatone <email@hidden>
  • Date: Tue, 13 Mar 2012 13:41:24 -0400

I got ticked off trying to set up a launchdemon to properly start SVN, so I popped open Cheeseman's UI Browser and quickly had a script that will start up SVN from the terminal on boot.

Note that my SVN repository is in my user's /Documents/svn folder.  If your repo has non standard chars in it, you might want to single quote or escape them.

I just save this script as an app and have it run from the User's account in the Accounts panel.

Thanks again Bill for this great tool.


-- Start SVN on Login
-- Alex Zavatone
-- 03132013

-- GUI Scripting must be enabled from the Universal Access System Pref
-- Click "Enable access for assistive devices"

tell application "Terminal"
activate
set myDocument to window 1
tell the text of myDocument
set myString to "svnserve -d -r ~/Documents/svn" & return
repeat with myChar in myString
tell application "System Events"
keystroke myChar
end tell
end repeat
end tell
end tell

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: An AppleScript to start an SVN Server on boot
      • From: Christopher Stone <email@hidden>
    • Display content on two monitors
      • From: Michael Ghilissen <email@hidden>
References: 
 >Triggering applescript on new mail creation in Mail app (From: Jashanjeet Singh <email@hidden>)
 >Re: Triggering applescript on new mail creation in Mail app (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Triggering applescript on new mail creation in Mail app
  • Next by Date: Display content on two monitors
  • Previous by thread: Re: Triggering applescript on new mail creation in Mail app
  • Next by thread: Display content on two monitors
  • Index(es):
    • Date
    • Thread