Applescript – Quit or Launch Application if another is or is not running
A simple use of Applescript to get PID (unix id of processes ) and kill one Application if another is not running.
But heres a better example..
Continue reading “Applescript – Quit or Launch Application if another is or is not running”
Applescript to Close Duplicate Finder windows
Close Duplicate finder windows
Macosxhints Posted a Applescript hint on Macosxhints to close duplicate finder windows.
The idea of the script is sometimes you may find you have multiple finder windows open. Many of them leading to the same target (folder). And want a quick way of closing all the duplicate windows.
But I couldn’t understand why it was so long and complicated. So as an excise for myself wrote one that did a similar job
Complexity
Continue reading “Applescript to Close Duplicate Finder windows”
My very first Automator Action
Get Finder window Path.
I had already wrote some code for an application that could get the path of open Finder windows.
So when I saw a member on Apple Stack Exchange wanted to get the top level finder window’s path.
I thought it would be simple to throw together something using part of the code in writing a new Automator Action.
It was..
The Action Get first Finder Window Path. Will return the Posix path of the front most open Finder window.
It is a beta, But is working ok.
First download the Action
versions
This is for 10.9.x v103- Action is now placed in Files & Folders in the Automator library Download “Get first Finder Window Path_10.9 BETA” Get-first-Finder-Window-Path.action_BETA_10.9_103.zip – Downloaded 10696 times – 8.06 KB |
This is for System : 10.8 Download “Get first Finder Window Path 10.8” GFFWPath_Action_1.0.2b10.8build.zip%22 – Downloaded 893 times – |
This is for System : 10.6 |
Then
1, Open the zip and install it by double clicking on the action.
It will go into the Utilities Actions name ‘Get first Finder Window Path’
2, drag it as normal to the workflow area and add for example the ‘Copy to Clipboard’ action below it
Image gallery: