Questions tagged [finder]

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

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.

739 questions
682
votes
14 answers

Open terminal here in Mac OS finder

Is there something similar to the "Open Command Window Here" Windows Powertoy for Mac OS? I've found a couple plugins through a google search but wanted to see what works best for developers out there.
Abdullah Jibaly
  • 47,520
  • 35
  • 114
  • 192
49
votes
8 answers

How to Write OS X Finder plugin

I'm looking for a guide or sample code for writing Mac OS X Finder plugins? It would like to know how to do some simple actions: adding image overlayers to icons adding context menu items listen to file changes I found the following two…
notnoop
  • 56,619
  • 20
  • 118
  • 142
43
votes
7 answers

Launch Finder window with specific files selected

I'm trying to programmatically launch an OS X Finder window from an Xcode project. I need the window to open to a specific folder and have specific files within that folder automatically selected. This is similar to the "Show in Finder"…
simon.d
  • 2,341
  • 3
  • 30
  • 51
31
votes
2 answers

Howto add menu item to Mac OS Finder in Delphi XE2

I'm working on Delphi XE2 application targetting Mac OS and Windows. And I want to have integration into context menu. For windows this is simple task. But for Mac OS I dont know how to do this. I've read Providing a Service documentation and tried…
GothAr
  • 491
  • 4
  • 14
26
votes
2 answers

OS X: strange -psn command line parameter when launched from Finder

Our OS X Java application which is launched by a shell script inside the MyApp.app bundle gets a strange command line parameter -psn_0_989382 when launched from the Finder, but not when launched directly from the Terminal. Where can I find…
Mot
  • 24,166
  • 22
  • 78
  • 117
24
votes
8 answers

Ways to invoke python and Spyder on OSX

I recently bought a MacBook and install Python on it via Anaconda. Here's the version information: Python 2.7.6 |Anaconda 1.8.0 (x86_64)| (default, Nov 11 2013, 10:49:09) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin I'd like to be able do all of…
kuzzooroo
  • 4,854
  • 7
  • 33
  • 70
23
votes
4 answers

Adding buttons to Finder toolbar?

Dropbox has the option of adding a button to the Finder toolbar. It even appears in the 'Customize Toolbar...' window.   I can't find any documentation on how this sort of thing is done.... Does anyone know how to do this, or can anyone point me…
cannyboy
  • 23,724
  • 40
  • 138
  • 242
22
votes
4 answers

Implementing "Show in Finder" button in Objective-C

In my application I would like to create a 'Show in Finder' button. I have been able to figure out how to pop up a Finder window of that directory but haven't figured out how to highlight the file like the OS does. Is this possible?
Locksleyu
  • 4,822
  • 6
  • 46
  • 68
19
votes
5 answers

Open a folder in vscode through Finder in macOS?

On my windows pc, I would just double click a folder and click "Open in VS Code" to a open a folder, which saved time for me when looking through lots of code online. With Mac, however, I do not have this option. I have to directly open vscode and…
theag
  • 508
  • 2
  • 16
19
votes
7 answers

What is the quickest way to toggle hide/show hidden files on a Mac OS X Yosemite?

I'm on Yosemite, and I want to toggle hide/show all the hidden files on a Mac. Every-time, I want to do that I have to go to Terminal.app and run these command : To show defaults write com.apple.finder AppleShowAllFiles TRUE To hide defaults write…
iori
  • 2,708
  • 11
  • 36
  • 72
18
votes
3 answers

Show folder's contents in finder using Swift

I want to be able to select a folder and show its contents in the Finder. I have managed to select the folder itself and select a file within the folder. But I don't know how to show the contents of an empty folder. e.g. Folder A/Folder B I want to…
iphaaw
  • 5,850
  • 8
  • 45
  • 66
18
votes
1 answer

Remove spaces from filenames in folder

I have a situation where I need to daily go over 400+ files in a folder on Xsan and replace spaces with under-scores in the filenames of the files. Does anyone one have a script at hand that I can run via the terminal for example that will do this…
Ronny vdb
  • 1,846
  • 4
  • 26
  • 63
15
votes
3 answers

Applescript: Open a Folder in Finder

I m trying to open a folder in Finder using AppleScript. The following is my code. I want the folder WorkSpace to open in Finder, but it opens the Parent Folder /Volumes/MyMacDrive/Mani and highlights the WorkSpace folder. I want the contents of…
Manikandaraj Srinivasan
  • 3,197
  • 5
  • 28
  • 57
14
votes
2 answers

my system refuses to shut down/restart with NSAppleScript class

I am using CFPlugin for contextual menu and icon overlay on 10.5(same as scplugin). For communication between my application and finder , i am using distributed object. After installing my plugin inside Contextual menu items folder , my system…
Parag Bafna
  • 22,143
  • 7
  • 65
  • 138
14
votes
4 answers

Icon for Mac OSX bundle

I compile a Mac OSX bundle, called MyBundle.bundle, which is used as a plugin for another application. I want the bundle have a unique icon and so I set the Info.plist file to say: CFBundleIconFile MyIcon.icns and place…
Periodic Maintenance
  • 1,502
  • 1
  • 18
  • 31
1
2 3
49 50