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
function taxFromSemiMonthlyPaycheque(paychequeAmt) { | |
var annualized = paychequeAmt * 24; | |
var annualTax = ontarioTax(annualized) + federalTax(annualized); | |
return annualTax / 24; | |
}; | |
/* |
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
-- Action 1 - Get Contents of TextEdit Document | |
-- | | |
-- V | |
-- Action 2 - Custom Apple Script (Below) | |
on run {input, parameters} | |
log "--------------------" | |
set MyColor to choose color | |
set FindText to the text returned of (display dialog "What string should we search for to highlight?" default answer "") |