Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Scripting additions used by TotalFinder (SIMBL replacement)
Objective-C

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
English.lproj TotalFinder.osax - initial commit as of TotalFinder 0.8.3
OSAX.xcconfigs El Capitan WIP
OSAX.xcodeproj LastUpgradeCheck = 0700
.gitignore build products into local bin directory, also do not copy it automati…
TFStandardVersionComparator.h beautified with max line length set to 160
TFStandardVersionComparator.m beautify with new clang-format
TFVersionComparisonProtocol.h remove FINDER_UNSUPPORTED_VERSION notification + more tweaks
TotalFinder-Info.plist LastUpgradeCheck = 0700
TotalFinder-Prefix.pch
TotalFinderInjector.m Minor cleanup
TotalFinderInjector.sdef add BATFcrsh - to crash TotalFinder on demand
license.txt refresh license.txt
readme.md Update readme.md

readme.md

TotalFinder.osax

This source code implements scripting additions used by TotalFinder.

TotalFinder is a plugin for Apples's Finder.app which brings tabs, dual panels and more!

Is this a replacement for SIMBL?

Yes, this is SIMBL-lite tailored specifically for TotalFinder.

You might want to read this article about my motivations: http://blog.binaryage.com/totalfinder-without-simbl

BATFinit event

Installs TotalFinder.bundle into running Finder.app (/Applications/TotalFinder.app is just a wrapper app for this script)

tell application "Finder"
    -- give Finder some time to launch if it wasn't running (rare case)
    delay 1 -- this delay is important to prevent random "Connection is Invalid -609" AppleScript errors 
    try
        «event BATFinit»
    on error msg number num
        display dialog "Unable to launch TotalFinder." & msg & " (" & (num as text) & ")"
    end try
end tell

BATFchck event

Check if TotalFinder is present in running Finder image.

tell application "Finder"
    -- give Finder some time to launch if it wasn't running (rare case)
    delay 1 -- this delay is important to prevent random "Connection is Invalid -609" AppleScript errors 
    try
        «event BATFchck»
        set res to "present"
    on error msg number num
        set res to "not present"
    end try
    res
end tell
Something went wrong with that request. Please try again.