[download_data id=”1492″ data=”post_content”]
I sometime want to open a file from the finder in another Application.
I do this often enough that I made this Automator Service to help me go straight to the Choose Other application Dialogue rather than use the Mouse and menu Navigation.
If there are times when you want to close or open in one fell swoop, all the on screen Alerts and banners that Notification centre has populated your screen with. But could not find a way.
One way you can is by creating an Automator service to run the below Applescripts and give them a keyboard shortcut in the System Preferences Keyboard shortcuts to do so.
Here is how.
Apples built in ‘Change picture – random order’ option for your desktop Pictures is great.
But what happens if you have more than one Screen/Monitor. Well each screen needs you to turn this on separately . And the pictures for each screen will be independently random from each other.
We can fix that using Applescript and LaunchAgents we can turn off the above and make each desktop picture change to a random image at a set interval and be the same image on each desktop.
Each desktop changes to the same image. If I switch to a new space on a desktop it’s image will change when the time comes.
Ever wanted to be notified when a certain wifi network becomes available?.
Maybe you are at University and the wifi goes up and down randomly. Just like the person I originally wrote this code for who is charged for mobile data when using their iPhone as personal hotspot during the Uni. wifi outage.
Here is a simple way of doing just that.
Many of you may have started to use the new Programming language Swift which Apple introduced in the WWDC 2014 Keynote.
It took many of us by surprise and for me a “oh here we go again, I now have to try and get my heard around another language”.
Apple explains that it should be easier to use and easy to pick up for new comers.
I suspect that it will be as Apple says for many people, me included.
One thing so far that I like and there are many..
There have been many reports of the latest OS X update from Apple 10.9.3 (Build 13D65) intentionally hiding the /Users/ folder. I am not convinced this is intentional but it has Happened to me. People have suggested running the Terminal command
sudo chflags nohidden /Users
But After a logout or restart you would have to run it again. Annoying!. Some one mentioned that it maybe the latest iTunes update that started it in conjunction with Find My Mac being switched on. YES My where. So as an experiment I turned off Find My Mac. and ran the command. My Users folder obediently became un hidden. And on reboot stayed unhidden. But wait what about Find My Mac. Well I do want it on right. The only problem is turning Find My Mac back on makes the /Users/ folder go bye, bye : watch the video.
I will experiment some more. Because I think when I first did this It stuck around with Find My Mac switched back on, but I cannot remember just now what order I did things in to get it. i.e when I had Find My Mac back on.
Update – fixed ..
Geoff Coope asked about the close: behaviour of the NSPopover when entering Mission Control in the comments of my previous post Epiphany-for-fixing-nspopover .
He had noticed that the Popovers did not close when you entered into Mission Control.
This was not something I had noticed as I had never gone into Mission Control with a popover open. But he was right and not only in Mission Control, entering Launchpad also does not close the Popover.
I had just been using a notification to control a NSDocuments behaviour and had an idea that the same thing could work.
This can be placed in you users colours folder:
Newly launched Applications will pick up the new palette which holds 1520 HEX colours.
I have marked some of the names with Web Safe. These should match what is considered web safe by those that know.
This is a quick example of how to get a Transparent NSWindow using a subclassed NSWindow class and a subclassed NSView.
This is in response to a stackoverflow users request I post the source code. Which I have done here in context.
(Originally it had also had a webview which was related to the question but was not essential in any way in this example so it has been removed.)
Transparent Window with Controls and Labels overlaying it. If you click any where in the transparency the mouse will click the object behind the window. And the objects Application will become the active one.