Tagged Questions
0
votes
0answers
13 views
Applescript to get Dropbox file direct/share link
Is it possible to retrieve the direct/share link of a file that is in my Dropbox folder, but not in its Public subfolder?
I'd like to use that for an Alfred workflow. I saw many tutorials on how to ...
0
votes
0answers
16 views
Is there a way to omit certain directories from where Mac OSX finds applications for its Applescript dictionaries et al?
Mac OSX maintains a list of applications for Applescript dictionaries, for the open-with list in finder etc.
This list gets collected from local directories (e.g. /Applications) but it finds as well ...
0
votes
0answers
37 views
Right Click does not bring up Services every once in a while. Why?
I have a Mac OSX 10.7.5 (Lion), and every once in a while when I right click on a folder or file to pull up a Service, sometimes the Service field disappears. I am not sure if I have a virus or ...
0
votes
0answers
20 views
Finder droplet description when cursor over icon
After Dragging a droplet onto Finder's toolbar, hover description is its path.
Is there any way to customize this description?
2
votes
3answers
91 views
Sort Finder columns reversed
I can't get this reversed thing to work:
Tell application "Finder" to set the sort direction of the modification date column to reversed
1
vote
0answers
102 views
How do I tell Finder to read the network folder contents?
I use the following AppleScript script to automatically connect a remote drive when my VPN connection is established using Viscosity:
do shell script "sleep 5"
tell application "Finder"
mount ...
1
vote
2answers
58 views
automator: get a folder if it dropped or ask for one otherwise
I'm building an automator application that acts on a folder that needs to be specified.
Until now, I've been using the "Ask for Finder items" action to ask for a the folder to be used, but I would ...
1
vote
2answers
217 views
How can I reproduce the Finder sort order without asking Finder to sort for me?
I work with a large collection of mostly-text files subdivided by series, periodically mirroring them from an upstream repository and repackaging them using a shell script from a slightly chaotic ...
6
votes
1answer
152 views
Any way to get the “Open With…” list via AppleScript?
I want to create an AppleScript that gets the Finder selection and displays a list of applications that are capable of opening it.
In other words, is there any way to get the list of apps that ...
5
votes
1answer
296 views
Toggle Finder sort order with AppleScript under Lion 10.7?
For years I've been using this AppleScript to toggle the sort order of a Finder window:
if sort direction of column id size column of list view options of window 1 is normal then
set sort ...
2
votes
1answer
217 views
Finder list view, change column with to optimal with using AppleScript
I'm trying to create an AppleScript script that resizes the columns of Finder's list view (e.g. Name, Size …) to their optimal width (i.e. the minimum width where all text in the column is visible) on ...
1
vote
2answers
135 views
Open a folder in default browser
I have many web projects that I develop on the localhost. Normally to get to these one has to navigate from the root directory or bookmark the url.
I want to be able to open an OS directory/folder in ...
2
votes
1answer
319 views
Combining Finder's File Open/save dialog with Alfred
Finder's Open/Save File dialog is actually very dumb (in terms of flexibility). When I look for a file or its location, I can probably find it much faster using Alfred.
However, in many cases, you ...
1
vote
1answer
69 views
Make a file a Stationery pad via command line
Is there a way to set make a file into a Stationery pad from the command line?
You can do it by clicking "Get info" on a file and checking the box, but I would like to do it without clicking.
An ...
1
vote
2answers
158 views
How can I browse the directories of an external drive even when it is not attached?
I am new to this. Is there any script that analyzes and creates an XML files the entire file structure of any external hard drive that is connected to the computer,including all the fill names in all ...
3
votes
2answers
337 views
How can I change a file's creator code on vanilla Snow Leooard?
When Xcode is installed your best bet to change a file's creator is SetFile.
I only found AppleScript. Unfortunately, while the type is set correctly, the second line silently fails on my 10.6:
set ...
1
vote
2answers
203 views
Is there a way to execute on applescript when a server becomes available?
I am trying to execute a script when a server becomes available (a bit like when the OS detect the presence of a time capsule device and it starts the backup.) I didn't find a simple way to attach an ...
2
votes
1answer
239 views
Force a file to overwrite instead of appending
I've got an application that won't overwrite a file with the same filename. It will only append the filename with a 'space 1'. If I write a file more than once I get something like this:
...
1
vote
2answers
449 views
Binding an applescript to a button in osx
I have asked a question here. But it is for adding a custom button in osx finder toolbar.
Suppose I have an applescript & I want to bind it on a custom button. & then I want to place that ...

