Questions tagged [finder]

The Finder is the default file manager used on Mac OS and Mac OS X operating systems.

Overview

Finder allows you to visually access practically everything on your Mac, including applications, hard disks, files, folders, and CDs. You can use the Finder to organize all your files and folders as you want, search for stuff anywhere on your Mac, delete things you don't want, and more.

See also

782 questions
9
votes
5 answers

Set Minimum width to 320px on Mac OSX

Is it possible to set a min width for an OSX window to 320px? The default min width in Safari is greater than this which makes it difficult to program with media queries and replicate on OSX. Please see my screenshot, which will make things…
SparrwHawk
  • 13,581
  • 22
  • 61
  • 91
9
votes
5 answers

How do I handle multiple file drag/drop from Finder in Mac OS X 10.5?

I need to get the URLs of all files dragged/dropped into my application from Finder. I have a Cocoa app running on 10.6 which does this by using the new 10.6 NSPasteboard APIs which handle multiple items on the pasteboard. I'm trying to backport…
robottobor
  • 11,595
  • 11
  • 39
  • 37
9
votes
1 answer

How to make a "downloading" icon in the Finder on Mountain Lion 10.8?

Starting in OS X 10.8 Mountain Lion, Safari creates a dynamic icon while downloading a file, as shown below: : The progress bar shows the progress, and clicking the upper-left close button tells Safari to stop downloading. Is there a way for a 3rd…
Yuji
  • 34,103
  • 3
  • 70
  • 88
9
votes
2 answers

Creating an automator service to create a new document in the current directory

so I'm trying to create a service that will be located in the contextual menu of the Finder and that would allow to create a new document in the current directory. I've been doing that using Automator: Sorry everything's in French ^^ Anyway here's…
guitio2002
  • 563
  • 2
  • 5
  • 13
9
votes
2 answers

Getting Finder's current directory in AppleScript stored as application

I have tried to make an AppleScript that is supposed to read the current directory from Finder and run a shell command on it. If I navigate to the desired folder in Finder and run the script from AppleScript Editor it works, but when I saved the…
Jørgen
  • 8,820
  • 9
  • 47
  • 67
8
votes
1 answer

Disable NSService context menu for multiple files selected in Finder

I use a NSService for my application: the user runs it from the Finder context menu. I need to disable this NSService's context menu button for multiple selections. Is this possible?
demensdeum
  • 155
  • 3
  • 10
8
votes
8 answers

How do I write a Rails finder method where none of the has_many items has a non-nil field?

I'm using Rails 5. I have the following model ... class Order < ApplicationRecord ... has_many :line_items, :dependent => :destroy The LineItem model has an attribute, "discount_applied." I would like to return all orders where there are…
Dave
  • 15,639
  • 133
  • 442
  • 830
8
votes
0 answers

How to make a Finder Sync Extension change badges in response to outside events

I have a Finder Sync Extension that will display a badge on a file based on the state of a local database. It's straightforward enough to query this database in the requestBadgeIdentifierForURL function, but what if I want the badge to change for a…
Steve Broberg
  • 4,255
  • 3
  • 28
  • 40
8
votes
4 answers

Swift 3: Set Finder label color

I'm trying to set the colored labels shown by the finder. The only function I know is setResourceValue. But this needs localized names! I could image my mother language and english as well, but all others I don't know. I can't believe, that this…
Peter Silie
  • 825
  • 1
  • 11
  • 16
8
votes
1 answer

Has any program used .DS_Store (or the like) for something useful?

There is a lot of talk about how to exclude, ignore, or delete .DS_Store files on macs. It seems these small files contain data about folders that is used by…
Alec Jacobson
  • 6,032
  • 5
  • 51
  • 88
8
votes
2 answers

Relative file paths with Applescript

I'm trying to make an Applescript that will open a file on a user's computer without knowing the hard drive or user name, presuming the file is in the same place in the user directory. tell application "Finder" to open "/Users/jim/Dropbox/Getting…
Calion
  • 243
  • 2
  • 13
8
votes
6 answers

Force item icon refresh in Finder 10.8.2

Can anyone lead me to any useful link for forcing file icon refresh in new 10.8.2 version of Finder? I'm working on this problem for last few days and I have tried almost any solution which can be found on internet, but those are all old samples…
user2381688
  • 131
  • 1
  • 3
8
votes
4 answers

Nodejs module to find files?

I search a module to find files in nodejs. I would like something like: var finder = require('finder'); var path = finder.find('/path/to/*.js'); Then path is an array with for example: /path/to/file.js /path/to/sub/file.js ...
Charles
  • 11,367
  • 10
  • 77
  • 114
7
votes
4 answers

Add badge icon overlay to Finder icons and folders?

When we open Dropbox folder, we can see icon on the left bottom of the folder. I am developing an application in which i also want the same behavior. If folder is syncing then it will show sync icon and for other operation it will show other icon.…
Parag Bafna
  • 22,812
  • 8
  • 71
  • 144
7
votes
3 answers

How to programmatically read Mac .textClipping files?

Those files are created whenever you drag a text selection to the Finder. The file size is always 0 bytes. Apparently the data is stored in a resource fork. I tried reading the resource fork[1], but get error code -39 (end of file). Here some more…
Mark
  • 1,447
  • 2
  • 14
  • 26
1 2
3
52 53