Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
4

Deliberately Restricted Yes, this is a deliberate choice by Apple's engineers. Automator – and other applications – can not intercept keystrokes sent to password fields. The restriction is enforced by macOS. The keystrokes sent to secure text fields do not appear in the read-only copy of events sent to other observing processes. Browsers Using Native ...


4

As an alternative, this one-line snippet of AppleScript will return all folders with folder actions applied them: tell application "System Events" to get the path of every folder action --> {"/Users/CK/Scripts/AppleScript/scripts", "/Users/CK/Downloads", ...} This one might be handy too, because it lists the actual path to the scripts or Automator ...


3

In this situation, renaming files is not the way to go! As you stated in the OP, "There's almost 500,000 files, so doing this manually is not practical.", and as mention in my comment to the OP "I'd recommend checking out Gemini 2 which you can download a copy for free and run it to see what it finds. If you like the results you can consider purchasing it."....


3

If all the files are in the same directory, then in Terminal, changed directory, e.g. cd /path/to/directory and then use the following compound command: for f in *.*; do echo mv -n "$f" "${f%.*}-$(stat -f'%SB' -t "%H_%M_%S" "$f").${f##*.}"; done Note: There is an intensional echo command that is there for you to test with, and it will only print out the mv ...


2

Here is another option you may find useful. This AppleScript code works for me using the latest version of macOS Mojave. tell application "Folder Actions Setup" activate set everyFolderAction to a reference to every folder action set folderNamesWithAttachedFolderActions to name of everyFolderAction set pathToFoldersWithAttachedFolderActions ...


2

The following is an example Automator workflow that achieves the stated goal of your question per its defined hierarchal folder structure. NOTE: While the example bash code used in the Run Shell Script action completed successfully nonetheless, the onus is upon the user to ensure that proper backups exist before using it. I'd even suggest making a small ...


2

Open the Folder Actions Setup app. This lists folders with actions, and the actions that each folder has assigned to it. You can add and remove actions from folders here, and enable/disable folder actions globally.


1

Here is a solution that I have tested several times and it seems to work. I'm sure someone with more experience can offer a solution which is much quicker than mine, but so far this is the best I can come up with. I strongly suggest making a copy of your "recovered" files with generic file naming. Then I would run the following code on your copied files. ...


1

I'm not sure I understand your question exactly. But, if all of the tables are on one sheet, and all of the tables need to get the same new column and the same column title, this will work. Screenshot of Numbers document with three tables on the sheet, before running the script. Screenshot of Numbers document with three tables on the sheet, with column ...


1

You asked for an automative method to do this from within the Messages app, which this AppleScript can achieve. You can place it in a Run AppleScript action. use application "System Events" property process : a reference to process "Messages" property menu bar : a reference to menu bar 1 of my process property menu bar item : a reference to menu bar item "...


1

As benwiggy says above: You may be able to assign that key press in the Finder to some other (rarely used) menu item or service, and see if that stops it. It does indeed. Before Mojave, Command-R activated "Reveal Original" in the File Menu. I created a shortcut in the Keyboard preference panel restoring that connection, and another one for Cmd-Opt-R to "...


Only top voted, non community-wiki answers of a minimum length are eligible