New answers tagged

0

Not an answer, but a work around. Context: I have an older Macbook which I use as a headless Plex sever. I would like to keep it connected to VPN pretty much always. I would also like notifications when it connects and disconnects. I ended up creating a event handling app. Then I used Apple Remote Events to call it and pass in arguments. After the ...


0

Given your question I'm betting that you may want, in your bash script, to run osascript more than once - hoping to save the terminal's ID and reuse it ?!? I had trouble making this work without fail initially. Window #s change - tab #s change - with the creation/deletion of these. Associated ID's (created by Terminal.app) can come and go as well - ...


1

I added this function to my ~/.profile file: function color { case $1 in green) echo -e "\033]6;1;bg;red;brightness;57\a" echo -e "\033]6;1;bg;green;brightness;197\a" echo -e "\033]6;1;bg;blue;brightness;77\a" ;; red) echo -e "\033]6;1;bg;red;brightness;270\a" echo -e "\033]6;1;bg;green;brightness;60\a" echo -e ...



Top 50 recent answers are included