Skip to content

Commit

Permalink
More changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nmadhok committed Sep 30, 2014
1 parent 589c5ec commit 4a6d563
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions OpenInTerminal.app/Contents/document.wflow
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<key>ActionRuntimeParameters</key>
<dict>
<key>temporary items path</key>
<string>/var/folders/pq/2j2r0znj3m79p7n2yhcx3lpm0000gn/T/BDF89857-4DEE-4191-8F33-C7ADFC040517/1/com.apple.Automator.Set_Value_of_Variable</string>
<string>/var/folders/pq/2j2r0znj3m79p7n2yhcx3lpm0000gn/T/4CE35900-F387-4D32-820D-833D7ABC69BB/1/com.apple.Automator.Set_Value_of_Variable</string>
<key>variableUUID</key>
<string>1FF640B2-8751-4A00-9509-AF697F95A8DE</string>
</dict>
Expand Down Expand Up @@ -120,7 +120,7 @@
<key>isViewVisible</key>
<true/>
<key>location</key>
<string>529.500000:1115.000000</string>
<string>529.500000:1420.000000</string>
<key>nibPath</key>
<string>/System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib</string>
</dict>
Expand Down Expand Up @@ -175,7 +175,7 @@
<key>source</key>
<string>on run {input, parameters} tell application "System Events" set plistFile to property list file "/Applications/OpenInTerminal.app/Contents/Info.plist" tell plistFile tell contents try set OpenInTerminalDefault to "Terminal" set OpenInTerminalDestinationPath to "/Applications/Utilities/Terminal.app" if value of property list item "OpenInTerminalDefault" is "" or value of property list item "OpenInTerminalDestinationPath" is "" then set choice to the button returned of (display dialog "Which application you want to use OpenInTerminal with?" buttons {"iTerm2", "Terminal"} default button 2) if choice is "iTerm2" then set OpenInTerminalDefault to "iTerm2" set OpenInTerminalDestinationPath to "/Applications/iTerm.app" end if set value of property list item "OpenInTerminalDefault" to OpenInTerminalDefault set value of property list item "OpenInTerminalDestinationPath" to OpenInTerminalDestinationPath end if on error make new property list item at end with properties {kind:string, name:"OpenInTerminalDestinationPath", value:""} make new property list item at end with properties {kind:string, name:"OpenInTerminalDefault", value:""} set choice to the button returned of (display dialog "Which application you want to use OpenInTerminal with?" buttons {"iTerm2", "Terminal"} default button 2) if choice is "iTerm2" then set OpenInTerminalDefault to "iTerm" set OpenInTerminalDestinationPath to "/Applications/iTerm.app" end if set value of property list item "OpenInTerminalDefault" to OpenInTerminalDefault set value of property list item "OpenInTerminalDestinationPath" to OpenInTerminalDestinationPath end try set OpenInTerminalDestinationPath to value of property list item "OpenInTerminalDestinationPath" end tell end tell end tell return OpenInTerminalDestinationPathend run</string>
<key>temporary items path</key>
<string>/var/folders/pq/2j2r0znj3m79p7n2yhcx3lpm0000gn/T/BDF89857-4DEE-4191-8F33-C7ADFC040517/1/com.apple.Automator.RunScript</string>
<string>/var/folders/pq/2j2r0znj3m79p7n2yhcx3lpm0000gn/T/4CE35900-F387-4D32-820D-833D7ABC69BB/1/com.apple.Automator.RunScript</string>
</dict>
<key>BundleIdentifier</key>
<string>com.apple.Automator.RunScript</string>
Expand Down Expand Up @@ -233,7 +233,7 @@ end run</string>
<key>isViewVisible</key>
<true/>
<key>location</key>
<string>529.500000:955.000000</string>
<string>529.500000:1136.000000</string>
<key>nibPath</key>
<string>/System/Library/Automator/Run AppleScript.action/Contents/Resources/English.lproj/main.nib</string>
</dict>
Expand Down Expand Up @@ -295,7 +295,7 @@ end run</string>
<key>ActionRuntimeParameters</key>
<dict>
<key>temporary items path</key>
<string>/var/folders/pq/2j2r0znj3m79p7n2yhcx3lpm0000gn/T/BDF89857-4DEE-4191-8F33-C7ADFC040517/1/com.apple.Automator.Set_Value_of_Variable</string>
<string>/var/folders/pq/2j2r0znj3m79p7n2yhcx3lpm0000gn/T/4CE35900-F387-4D32-820D-833D7ABC69BB/1/com.apple.Automator.Set_Value_of_Variable</string>
<key>variableUUID</key>
<string>32F59789-8F2B-435B-81CC-7D59DFC22650</string>
</dict>
Expand Down Expand Up @@ -352,7 +352,7 @@ end run</string>
<key>isViewVisible</key>
<true/>
<key>location</key>
<string>529.500000:697.000000</string>
<string>529.500000:643.000000</string>
<key>nibPath</key>
<string>/System/Library/Automator/Set Value of Variable.action/Contents/Resources/Base.lproj/main.nib</string>
</dict>
Expand Down Expand Up @@ -416,7 +416,7 @@ end run</string>
<key>ActionRuntimeParameters</key>
<dict>
<key>temporary items path</key>
<string>/var/folders/pq/2j2r0znj3m79p7n2yhcx3lpm0000gn/T/BDF89857-4DEE-4191-8F33-C7ADFC040517/1/com.apple.Automator.Get_Value_of_Variable</string>
<string>/var/folders/pq/2j2r0znj3m79p7n2yhcx3lpm0000gn/T/4CE35900-F387-4D32-820D-833D7ABC69BB/1/com.apple.Automator.Get_Value_of_Variable</string>
<key>variableUUID</key>
<string></string>
</dict>
Expand Down Expand Up @@ -471,7 +471,7 @@ end run</string>
<key>isViewVisible</key>
<true/>
<key>location</key>
<string>529.500000:537.000000</string>
<string>529.500000:539.000000</string>
<key>nibPath</key>
<string>/System/Library/Automator/Get Value of Variable.action/Contents/Resources/Base.lproj/main.nib</string>
</dict>
Expand Down Expand Up @@ -526,7 +526,7 @@ end run</string>
<key>source</key>
<string>on run {input, parameters} tell application "Finder" set sel to (get selection) set PathList to {} if not sel = {} then -- selection is a file/folder or multiple files/folders set FileList to selection as alias list repeat with FileName in FileList if kind of FileName is "folder" or kind of FileName is "alias" or kind of FileName is "application" then set PathName to POSIX path of FileName as string else set PathName to POSIX path of (parent of (FileName) as string) end if set end of the PathList to PathName end repeat return PathList else -- selection is not a file or folder and is a finder sidebar item set FileList to ((folder of the front window) as text) if FileList is equal to "" or POSIX path of FileList is equal to "/" then set HFSpathHome to home as string return POSIX path of HFSpathHome else return POSIX path of FileList end if end if end tell tell application OpenInTerminalDefault activate end tellend run</string>
<key>temporary items path</key>
<string>/var/folders/pq/2j2r0znj3m79p7n2yhcx3lpm0000gn/T/BDF89857-4DEE-4191-8F33-C7ADFC040517/1/com.apple.Automator.RunScript</string>
<string>/var/folders/pq/2j2r0znj3m79p7n2yhcx3lpm0000gn/T/4CE35900-F387-4D32-820D-833D7ABC69BB/1/com.apple.Automator.RunScript</string>
</dict>
<key>BundleIdentifier</key>
<string>com.apple.Automator.RunScript</string>
Expand Down Expand Up @@ -582,7 +582,7 @@ end run</string>
<key>isViewVisible</key>
<true/>
<key>location</key>
<string>529.500000:434.000000</string>
<string>529.500000:436.000000</string>
<key>nibPath</key>
<string>/System/Library/Automator/Run AppleScript.action/Contents/Resources/English.lproj/main.nib</string>
</dict>
Expand Down Expand Up @@ -644,9 +644,9 @@ end run</string>
<key>ActionRuntimeParameters</key>
<dict>
<key>appPath</key>
<string>/Applications/iTerm.app</string>
<string>/Applications/Utilities/Terminal.app</string>
<key>temporary items path</key>
<string>/var/folders/pq/2j2r0znj3m79p7n2yhcx3lpm0000gn/T/BDF89857-4DEE-4191-8F33-C7ADFC040517/1/com.apple.Automator.OpenFinderItems</string>
<string>/var/folders/pq/2j2r0znj3m79p7n2yhcx3lpm0000gn/T/4CE35900-F387-4D32-820D-833D7ABC69BB/1/com.apple.Automator.OpenFinderItems</string>
</dict>
<key>BundleIdentifier</key>
<string>com.apple.Automator.OpenFinderItems</string>
Expand Down Expand Up @@ -699,7 +699,7 @@ end run</string>
<key>isViewVisible</key>
<true/>
<key>location</key>
<string>529.500000:121.000000</string>
<string>529.500000:123.000000</string>
<key>nibPath</key>
<string>/System/Library/Automator/Open Finder Items.action/Contents/Resources/Base.lproj/main.nib</string>
</dict>
Expand All @@ -709,40 +709,40 @@ end run</string>
</array>
<key>connectors</key>
<dict>
<key>3265559F-C162-4952-B60A-25F2E75681C7</key>
<key>0EF2720F-1B40-48FE-8AE6-9B14277C99C9</key>
<dict>
<key>from</key>
<string>45945DEB-08A6-498E-9075-BE03E082D708 - 45945DEB-08A6-498E-9075-BE03E082D708</string>
<string>6AF06D17-BE62-4529-A299-D4BA7E166FDB - 6AF06D17-BE62-4529-A299-D4BA7E166FDB</string>
<key>to</key>
<string>6B301918-D019-473F-BC1B-72ECF8274D9F - 6B301918-D019-473F-BC1B-72ECF8274D9F</string>
<string>A7E13288-B213-490A-BC16-2922828A10ED - A7E13288-B213-490A-BC16-2922828A10ED</string>
</dict>
<key>56CF7166-FA71-4D04-A675-79AED7BB8164</key>
<key>3BB9767B-7189-4583-8526-A33732517C47</key>
<dict>
<key>from</key>
<string>43A0EE20-E2E9-448F-ADD4-4909A9318EBD - 43A0EE20-E2E9-448F-ADD4-4909A9318EBD</string>
<key>to</key>
<string>45945DEB-08A6-498E-9075-BE03E082D708 - 45945DEB-08A6-498E-9075-BE03E082D708</string>
</dict>
<key>6E75E89C-31DF-4B40-ABD8-EABD69170613</key>
<key>4525AD55-CDDD-4B19-BA24-C905AD75BE8B</key>
<dict>
<key>from</key>
<string>A7E13288-B213-490A-BC16-2922828A10ED - A7E13288-B213-490A-BC16-2922828A10ED</string>
<string>DCD5A233-913C-4D7E-A082-4B3DFFF7F2FD - DCD5A233-913C-4D7E-A082-4B3DFFF7F2FD</string>
<key>to</key>
<string>43A0EE20-E2E9-448F-ADD4-4909A9318EBD - 43A0EE20-E2E9-448F-ADD4-4909A9318EBD</string>
<string>6AF06D17-BE62-4529-A299-D4BA7E166FDB - 6AF06D17-BE62-4529-A299-D4BA7E166FDB</string>
</dict>
<key>81274C23-3C22-4FA7-8D73-E4DAEE1C9DAD</key>
<key>B20B08F4-2D07-4F3A-8C0B-D8EB8CAFC524</key>
<dict>
<key>from</key>
<string>6AF06D17-BE62-4529-A299-D4BA7E166FDB - 6AF06D17-BE62-4529-A299-D4BA7E166FDB</string>
<key>to</key>
<string>A7E13288-B213-490A-BC16-2922828A10ED - A7E13288-B213-490A-BC16-2922828A10ED</string>
<key>to</key>
<string>43A0EE20-E2E9-448F-ADD4-4909A9318EBD - 43A0EE20-E2E9-448F-ADD4-4909A9318EBD</string>
</dict>
<key>C64DE141-E337-42D5-85AD-F906E42D35FA</key>
<key>D5BECA56-9330-4117-9716-F8A4962AFDC8</key>
<dict>
<key>from</key>
<string>DCD5A233-913C-4D7E-A082-4B3DFFF7F2FD - DCD5A233-913C-4D7E-A082-4B3DFFF7F2FD</string>
<string>45945DEB-08A6-498E-9075-BE03E082D708 - 45945DEB-08A6-498E-9075-BE03E082D708</string>
<key>to</key>
<string>6AF06D17-BE62-4529-A299-D4BA7E166FDB - 6AF06D17-BE62-4529-A299-D4BA7E166FDB</string>
<string>6B301918-D019-473F-BC1B-72ECF8274D9F - 6B301918-D019-473F-BC1B-72ECF8274D9F</string>
</dict>
</dict>
<key>variables</key>
Expand All @@ -755,7 +755,7 @@ end run</string>
<key>name</key>
<string>OpenInTerminalDestinationPath</string>
<key>value</key>
<string>/Applications/iTerm.app</string>
<string>/Applications/Utilities/Terminal.app</string>
</dict>
<dict>
<key>UUID</key>
Expand Down

0 comments on commit 4a6d563

Please # to comment.