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

scripting

  1. KingBuzzard

    macOS AppleScript For Multiple Safari Tabs And Mouse Click?

    Hey all, Complete noob to AppleScript here with a rather complex one: I would like automate a script that can do the following: 1. After launching, waits for 61 minutes without doing anything, then: 2. Opens Safari with 16 tabs (and 16 separate URLS) 3. Clicks a “Roll!” button on each of the...
  2. O

    macOS Optimizing Applescript

    Hey, I'm looking to optimize this applescript, ideally with an idle handler, though I haven't been able to make that work all that well. Any help would be greatly appreciated. Thanks! local trackID tell application "Spotify" to activate -- launches spotify repeat while application "Spotify" is...
  3. 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 -...
  4. S

    macOS Parse a POSIX file path into variables

    Hi all, I'm a newbie to the world of AppleScript, but I'm trying to put together a pretty simple script to parse apart a file path and create a .txt file at the end. For example, the source file path would be: /Users/Matt/Desktop/3840x2160 I would want to create separate variables from Users...
  5. S

    macOS AppleScript - Passing Automator input into a handler

    Hello. I'm new to AppleScript and am trying to incorporate it into an Automator script. I'm trying to trim text using a handler I found online. However, using the run handler to set the input variable (the default AppleScript) code for Automator, causes an error saying that I can't have two run...
  6. Mindy60

    Looking for scripting resources: books, texts, pdf, etc.

    Can anyone recommend to me a book or text referenced in the title? How about a book for High Sierra? I looked on Amazon and seems the missing manuals seem pretty good. Thoughts? Please advise thanks. :) Oh, I found "Terminal Crash Course" on my HD from 2014 and would like to get an updated one...
  7. Dfanoe

    macOS I need help for a terminal script

    I really need help... I am NEW to this scripting, using terminal and whatnot, so please be patient :-). I have a list of filenames (currently with no file extension) in an Excel file and I need to copy those specific files from one folder to another. I tried using this script in Terminal...
  8. H

    macOS How to use current folder as input in Automator?

    Hello, Let me preface by saying that I'm a novice at Automator and have only built really basic stuff, and I don't know AppleScript at the moment. That said, I'm trying to use vanilla Automator functions for now to solve the current challenges. I'm trying to build a workflow or app that will...
  9. K

    HELP! SCRIPTING ON ADOBE ILLUSTRATOR: duplicating image into grid?

    Hello everyone! So I design everything via Illustrator but scripting is my area of weakness... I wanted to ask if anyone could help me write a script template that would easily take my image and duplicate it into a grid. Here is an example image: I start by taking this image and clipping it...
  10. nickolai1

    Scheduled mounting help

    Hi could anybody help. I have a network drive that seems to unmount itself at random. Annoying as I stream videos from it. Using automator I have created an application that mounts the volume. I can't figure out how to get it to run hourly. so that volume is mounted if not there Failing that a...