Created
December 31, 2013 03:08
-
-
Save jolros/8191929 to your computer and use it in GitHub Desktop.
AppleScript that can be used to launch SigmaPlot 12 using my spw script by itself or with a specified file(s) through the Finder. See: http://blog.jolros.com/post/71709752383/running-sigmaplot-as-a-mac-os-x-application-using-wine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on open theFiles | |
set arguments to "" | |
repeat with anItem in theFiles | |
set arguments to arguments & space & (quoted form of POSIX path of anItem) | |
end repeat | |
do shell script "/usr/local/bin/spw" & arguments | |
end open | |
on run | |
do shell script "/usr/local/bin/spw" | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment