Skip to content
Browse files

First working version

My very first Applescript, and my first attempt at a Finder toolbar button.
Shamelessly "borrows" the icons from GitX

This script opens GitX with the directory of the front Finder window. It doesn't check that the directory is actually a git clone.
  • Loading branch information...
1 parent 47ce37a commit 755bf268de1ea0637688689f14b2f6345f33cdad @bfoz committed Aug 23, 2010
View
44 GitXButton.app/Contents/Info.plist
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleAllowMixedLocalizations</key>
+ <true/>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>applet</string>
+ <key>CFBundleIconFile</key>
+ <string>applet</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>GitXButton</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>aplt</string>
+ <key>LSMinimumSystemVersionByArchitecture</key>
+ <dict>
+ <key>x86_64</key>
+ <string>10.6</string>
+ </dict>
+ <key>LSRequiresCarbon</key>
+ <true/>
+ <key>WindowState</key>
+ <dict>
+ <key>dividerCollapsed</key>
+ <false/>
+ <key>eventLogLevel</key>
+ <integer>2</integer>
+ <key>name</key>
+ <string>ScriptWindowState</string>
+ <key>positionOfDivider</key>
+ <real>330</real>
+ <key>savedFrame</key>
+ <string>148 205 671 578 0 0 1440 878 </string>
+ <key>selectedTabView</key>
+ <string>event log</string>
+ </dict>
+</dict>
+</plist>
View
BIN GitXButton.app/Contents/MacOS/applet
Binary file not shown.
View
1 GitXButton.app/Contents/PkgInfo
@@ -0,0 +1 @@
+APPLaplt
View
BIN GitXButton.app/Contents/Resources/Scripts/main.scpt
Binary file not shown.
View
BIN GitXButton.app/Contents/Resources/applet.icns
Binary file not shown.
View
BIN GitXButton.app/Contents/Resources/applet.rsrc
Binary file not shown.
View
4 GitXButton.app/Contents/Resources/description.rtfd/TXT.rtf
@@ -0,0 +1,4 @@
+{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf320
+{\fonttbl}
+{\colortbl;\red255\green255\blue255;}
+}

0 comments on commit 755bf26

Please sign in to comment.
Something went wrong with that request. Please try again.