This file contains hidden or 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
this.bindDynamicFunction = function(o, property, value){ | |
var _value = value; | |
var _funcName = (property.charAt(0).toUpperCase() + property.slice(1)); | |
o["get" + _funcName] = function(){ | |
return _value; | |
}; | |
o["set" + _funcName] = function(v){ | |
_value = v; | |
}; | |
}; |
This file contains hidden or 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
tell application "iTerm" | |
if the transparency of the current session of the current terminal > 0 then | |
set the transparency of the current session of the current terminal to 0 | |
else | |
set the transparency of the current session of the current terminal to 0.2 | |
end if | |
end tell |
NewerOlder