appleScript execute an apple script

part of wslib


String.appleScript


Execute an apple script using the osascript unix command.


(

"tell application \"Finder\"

activate

reveal POSIX file %

 end tell".format( String.scDir.quote ).appleScript;

)