788 questions
2
votes
0
answers
87
views
QuickLook preview extension console message
My QuickLook preview extension prints this message in the Xcode console whenever it receives a preview request
The principal object does not implement the QLPreviewingController protocol or is not a ...
1
vote
1
answer
105
views
Improve Speed of AppleScript that Opens Multiple Folders in Multiple Tabs in new Finder Window?
I have a series of subfolders with a parent folder called "Inventory" within a internal hard drive.
Each subfolder name consists of a number, a hyphen and some text, such as:
"329 - ...
0
votes
0
answers
86
views
How can I set a variable in a Mac OS Automator app or quick action
I have limited experience with applescripting and the automator app, but have been able to cobble things together before that generally do what I need after a bunch of trial and error.
I'm helping ...
1
vote
1
answer
71
views
AppleScript - Deleting selected files and folders whose filename contain a certain string
we work with template files (generally psds), all saved together in folders, that have a generic name.
We copy them and remove the ones not needed for the project, and mass rename the generic string, ...
0
votes
0
answers
33
views
How to handle dragging multiple files from a macOS app to Finder
I've created a mini Finder-like app for macOS that allows users to drag files from my app to the macOS Finder. Dragging works perfectly when a single file is selected, but I'm having trouble enabling ...
-1
votes
2
answers
200
views
MacOS command line to get/write "Description" field in files
What is the command line to retrieve and write macOS file info "Description" field?
For the command line to get "Comments" field, I use this AppleScript command:
osascript -e 'on ...
0
votes
2
answers
56
views
AppleScript/Finder not finding the Numbers application
This fragment of a script does a simple check for the existence of Numbers in the Applications folder:
tell application "Finder"
set AppFolder to folder "Applications" in startup ...
-1
votes
1
answer
358
views
How do I show my macfuse mount in Finder Locations area?
I've successfully compiled hello.c from macFUSE examples and mounted it in macOS Sonoma.
Although I wasn't able reach my macFUSE mount by navigating with Finder for the first time, this was resolved ...
0
votes
2
answers
123
views
Using Shell Script to Tag Files
My MacBook is running OS Sequoia 15.1. How can I apply file color tags (labels) using zsh shell script? And how can I then use a shell script to change labels say if I want to change a label from ...
1
vote
1
answer
107
views
Flutter on macOS: how to implement "Reveal in Finder" for a document?
Flutter desktop macOS app that works with files.
How to implement a standard "Reveal in Finder" call to open Finder window with folder containing the file and the file selected?
And maybe ...
1
vote
1
answer
81
views
How to use iOS UIPasteboard to copy a data file from iOS Simulator to Mac Finder?
Need easy way for users to export a data file from iOS Simulator to use on their Mac file system.
Drag and drop from Mac Finder to iOS Simulator Files app works but there isn't a files app drag and ...
0
votes
1
answer
42
views
How to remove (1) from macOS subfolders?
Because of a botched attempt at folder all of my apps and documents to new iMac via Google Drive I've ended up with a slew of folders, subfolders, and files showing the iteration of copying I've ...
-1
votes
1
answer
215
views
Copy Current Path Automator
I found the below tutorial on how to write an automator script to grab the current path of the finder window. I'd like to make it more robust and modify it so it grabs the path of the following based ...
7
votes
1
answer
289
views
How to write comment into File's metadata from Swift
Following the code from another answer, I want to read and write Finder comments to files. Those seem to be stored as binary plists so they have to be parsed beforehand. To read a Finder comment:
let ...
2
votes
0
answers
251
views
Android Studio on MAC and Finder cmd+shift+F conflict
as the title I was able to use the cmd + shift + F combination for searching in files in Android Studio running on Mac with no issues. From some time to now I still have the finder that came up with ...