Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

applescript

  1. H

    macOS Rename .pdf files from .csv reference list

    Hi, I have proven to myself again that I am not a programmer. I have found numerous posts with similar questions but I can’t seem to wrap my head around it all to make anything fit for my needs. Thank you in advance! I am trying to rename groups of PDFs from a .csv file. Working on a MacBook...
  2. supsurf

    macOS Script to Batch Trim QuickTime Video Clips

    Hello, I appreciate any help that anyone can provide since I lack much Applescript knowledge. I frequently have large batches of short QuickTime files (usually just 5-30 seconds each) that I need to trim a few frames off from the beginning and end and then save them to a new folder. The source...
  3. L

    macOS Automator / AppleScript Question - TextEdit

    Hello All. I'm very new to scripting in macOS. I was wondering if there is any way, either within automator or with AppleScript, to check if there is any text inside an open TextEdit document? Any ideas? It's part of a larger automation but the only aspect of it I can't seem to find. Thanks
  4. Sciuriware

    Can not send file to trash

    Hello, on a single iMac running 10.14.2, one user can send a file to Trash b.m.o. Applescript. The other user can only do this by Finder. However the Trashing is invoked from a JAVA program, so putting 'osascript' to work is mandatory. Obviously the first user has the privilege to control Finder...
  5. N

    10.14.2 and Automation permissions

    After installing 10.14.2 I found that one of my scripts wouldn't run. This script had run for years. Eventually I found it was related to permissions. In the course of testing things I got a popup asking if I would grant permissions to the target app. I said yes and now the app works. This is...
  6. 8

    macOS AppleScript Check For Volume, Launch App

    Hi all I'm trying to put together a basic AppleScript to check if a volume is present and launch Dropbox. I keep Dropbox data on a separate encrypted volume and have it prompt for the password at login. If no password is entered, the volume doesn't mount and the Dropbox app shouldn't start...
  7. M

    macOS Automator - Filter and Move Files

    Hello, I have a workflow that takes all the files from a directory and any within subdirectories, then moves them. The files are filtered, then moved. But, as you can see my filter picks up three files but only moves two. This must be because it can't move two files with the same name into the...
  8. mpainesyd

    Applescript automations not working in Mojave

    i have an Applescript-generated app for taking screen snapshots which has worked well for many years of OSX/macOS updates. I have just installed Mojave 10.14.1 and the App generates an error like "not authorised to send keystrokes..". I have added the app to the Accessibility list in Security...
  9. B

    macOS Script editor app shutdown alert

    Hi All, I'm trying to make an app that will display a prompt upon shutdown asking if the user has logged their hours via our online system 'timely'. The idea is that the reminder appears 'Have you logged your timely hours?' with the options 'yes' or 'no'. 'Yes' allowing the machine to shut...
  10. Asu

    macOS Running applescript remotely

    Hello, I wonder if it is possible to run an applescript, that is on a regular home computer sitting behind a cable modem and a typical router, from some random remote computer? Thanks
  11. M

    macOS Keeping folder Synced - iCloud

    Hi. I posted this recently on macOS/mojave area. I'm sure there's a programmers solution to be discovered, hoping for more luck here. I have a folder thats very active in iCloud, consistently removing/renaming/adding files. It pains me to open illustrator or Photoshop and find that the file I'm...
  12. M

    Keeping folder Synced - iCloud

    I have a folder thats very active in iCloud, consistently removing/renaming/adding files. It pains me to open illustrator or Photoshop and find that the file I'm hoping to get to work on has the little cloud icon that means it needs to be downloaded first. For a couple jpegs no drama really -...
  13. P

    macOS Spell Checker Script Missing Misspelled Words

    I have the following spell checker script in AppleScript Objective C that is only catching some of the misspelled words. For instance, it seems to think the word "defnece" is spelled correctly. It also doesn't catch French or Spanish words even thought the language is set to English. Any ideas...
  14. BNiMac

    I want to copy specific files to an external HD

    I have a large photo library that I want to partially copy to much smaller MicroSD chip on a repeated timeline like every month or so. I am thinking an AppleScript that will check size of library, size of chip and them copy every 3 or 4 filenames to that chip. Any samples out there, any...
  15. C

    Calendar: repeating event action not carried over

    [SOLVED!] this is a production machine. So, I can't easily upgrade this past El Capitan (10.11.6); and not really willing to go through the upgrade process to just test if this single issue is resolved. So, with that out of the way, I have an applescript application that needs to run every two...
  16. D

    macOS Applescript : click on button inside tabbed pane

    Hi all, I have an application in cocoa/swift that I developed. Now I want to automate tests using applescript. I don't know how to click a button inside a tabbed view. To access the tabbed view I do : click the radio button "Browse" of the first tab group of window "Window" then I do ...
  17. P

    2 ical Applescripts

    Hi all I have 2 ical Applescripts that run at 6am and 1pm. The Applescripts only run when the machine is awake. The machine is off for most of the day, so I need to wake the mac at 2 different times of the day. I have set the initial 'wake' using the Schedule part of the Energy Saver in the...
  18. Avenged110

    Hiding Finder Sidebar with AppleScript

    So I'm trying to set up an AppleScript to open a single Finder window with specific view properties and it's working fine, except I can't hide the sidebar. The only instructions I've found online mention using "set sidebar width to 0" but this returns an error in Mavericks. I'm new to...
  19. R

    Renaming Finder Items Using Find & Replace?

    Hi I need a quick solution to a problem. We have over 15000 images that need renaming. Is there a simple way to find text in a file name (from a cvs file) and replace text in a file name (again from a csv file)?? Eg. File Name - AA021 asphalt/fuchsia FRONT.jpg We have a CSV of full names...
  20. Lightscap3s

    macOS Apple Script Writer Needed

    Hello, I'm not real sure if this is the correct form, but if it isn't please let me know wheres the correct form. I'm in need of someone to write me quick and simple Apple Script, and I'm even willing to pay a few bucks via ApplePay text message or PayPal. - Otis