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

applescript

  1. blackxacto

    iOS Is it possible to create a keystroke to insert the $ last?

    I report amounts of money, very fast and under pressure on Twitter messaging. I cannot always remember to start w the $. If I think to start w $ I sometimes forget the total amount and must look back: "Now what was the total?" Is there a way to create a keystroke that would insert the $ at the...
  2. rickpoet

    Looking for mail.app script or automator action to copy specified mail message headers

    Hi, I'm looking for an AppleScript or Automator action(s) which would allow me to copy specified headers in a group of selected email messages in mail.app. Background - I run an online poetry magazine which takes submissions by email, I want to on a weekly basis copy all of the email addresses...
  3. Asu

    macOS Set url in Opera

    Simple question: how to tell Opera in AppleScript to load an URL? Thanks
  4. shaan104

    I want to prevent the Touch Bar from sleeping when left inactive

    I just bought a new MacBook with Touch Bar and when ever I'm watching something, or the Touch Bar is left inactive, it dims and sleeps which is really annoying to me. Is there any terminal command or apple script through which I can disable this feature. I searched all the settings and it isn't...
  5. 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...
  6. 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...
  7. 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
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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
  15. 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...
  16. 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 -...
  17. 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...
  18. 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...
  19. 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...
  20. 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 ...