1
vote
1answer
15 views

Droplet Applescript Touch

i was trying the last days to get a droplet working, which is changing the time stamp of every dropped .jpg / .tif / .dsc / .cr2 to the actual time or even a few secs earlier in Terminal. Would ...
3
votes
2answers
36 views

Unaccent Special characters and bulk-rename

Background I have a workflow that collects documents from various sources, converts them to PDF, OCRs them, compresses them, extracts their contents and annotations, uploads the files to a server and ...
1
vote
2answers
110 views

Have Automator parse down folders and list all filenames without their extension

Automator newbee question here. I've searched around and just can't find what I need (nor fully grasp how things work :-( ). I would like to have Automator parse thru a given folder, which is ...
1
vote
1answer
30 views

How do I tell AppleScript to read the contents of the “Network” Finder window?

I'd like to be able to get the contents of Finder's "Network" folder (Menubar-->Go-->Network). The folder contents here is different than /Network or /net. The overall goal is to grep the names in ...
1
vote
1answer
52 views

Automator get first 3 letters of parent folder

How do i get the first 3 letters of the parent folder im creating a folder in with automator im designing a Automator service to create a project folder in the folder of a client and I want to append ...
0
votes
1answer
61 views

Automator rename finder item date and time

I want to use automator to create a project folder with a Automator service, but i like to add the month and year (with two decimals) not the day, month and whole year. want i can creatie is ...
0
votes
1answer
38 views

Automator application needs to ignore all files that aren't EPS

I've made an application that I drop EPS files on and it makes two copies and renames them and transfers them to SMB shares. But sometimes when I have more than one file selected in other windows, ...
0
votes
0answers
45 views

move a file, replacing existing (if any), ideally by putting existing in the trash

I am trying to find a way to automatically (without user intervention) move a file from A to B, replacing B if it exists, ideally by putting the existing copy of B into the appropriate Trash folder. ...
0
votes
0answers
36 views

Making an Auto-Transfer app or script for Android

This question may be super broad so bear with me. In a nutshell I want to be able to connect an Android device to my Mac and then have a script go through, find the DCIM folder and then copy that ...
1
vote
1answer
173 views

how to add button to Finder toolbar to call python script with current folder as argument?

Recently I added context menu under services to execute python script but I think it would be convenient if I add a button on the Finder toolbar, like next to New Folder Button in below image. Is ...
0
votes
0answers
41 views

Applescript for moving recently added files (not created or modified) to another folder?

I would like to get a recent downloaded pdf file ( !: it corresponds to the Finder sort method Date Added, not Date Created nor Date Modified) and either just moving to one another folder (if using ...
2
votes
1answer
83 views

How can I rename an ordered list of files with an ordered list of file names?

I have a series of files. I need to apply a series of file names. So, 001.jpg -> apple.jpg 002.jpg -> banana.jpg 003.jpg -> orange.jpg etc. I will have to repeat this for each of 16 folders with ...
1
vote
2answers
275 views

AppleScript and Finder - How to detect an “empty” selection when copying paths to the clipboard (Expanded Question)

I'm trying to build a Service that does the following: If some folder/files are selected in Finder, copy (all) the paths to the clipboard If nothing is selected, copy the "Path" of the window. ...
2
votes
1answer
427 views

Applescript to copy folder (and contents) to current location?

I am trying to create a button on my Finder toolbar powered by applescript to make a copy of a set folder (e.g. /Users/James/doc) and all files/subfolders within it to the current location in Finder. ...
1
vote
1answer
89 views

Transfer labels (“tags”) from a SMB share to an AFP share

I had a SMB share from my NAS (based on illumos aka OpenSolaris, I used the kernel CIFS) and now I installed Netatalk for better performances. The metadata apparently cannot be read back, that means ...
1
vote
0answers
131 views

AppleScript : do a mouse scroll on a Finder window

How can I do a mouse scroll on a Finder window in AppleScript ? I know there is keystroke for the keyboard, click for a mouse click, but is there something for the mouse wheel ?
1
vote
2answers
106 views

Deleting files with applescript messes up Finder's CoverFlow

I wrote myself a little script to delete JPG+RAW files by just reviewing my JPG (who loads faster thant CR2). I've put the following code in an Automator service bound to a keyboard shortcut. on ...
2
votes
1answer
185 views

Check for Existence of File then Move Rename Old File and Move New One

Here is what I am attempting to do: I have a folder which contains a script and a file. The file is an older copy of a file located in this path: ...
1
vote
2answers
55 views

Boot straight into an application without showing the desktop

How do I boot straight into an application without showing the desktop? Essentially I would like to turn the machine on, see the grey screen with loading icon, and then see my application. The ...
1
vote
1answer
206 views

Copy and Paste files into the same directory using Terminal

I am currently trying to figure out how to Copy and Paste files (more than one file) into the same directory using Terminal. I am trying to create a script to create the same file. If there is a ...
0
votes
1answer
330 views

How do I remove the Finder from the Dock automatically at login?

This is related to this question here, except that, in addition to removing the Finder, I want to do it automatically. There are several solutions on the web that suggest using this AppleScript: tell ...
1
vote
1answer
216 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 ...
2
votes
3answers
213 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
137 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
97 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 ...
2
votes
2answers
346 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
244 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
504 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
354 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
191 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
467 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
95 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
172 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 ...
4
votes
2answers
425 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
259 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
322 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
548 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 ...