srakahd.blogg.se

Iphone as a remote for mac
Iphone as a remote for mac







  1. #IPHONE AS A REMOTE FOR MAC HOW TO#
  2. #IPHONE AS A REMOTE FOR MAC PRO#
  3. #IPHONE AS A REMOTE FOR MAC PLUS#
  4. #IPHONE AS A REMOTE FOR MAC MAC#

That osascript -e command lets me issue AppleScript commands from within a shell script, which is extremely convenient in this case because the Mac’s system volume is accessible directly from AppleScript. Osascript -e "set volume output volume $name -100%" In this case, the shell script is running a command to change my Mac’s volume to a specific percentage (which is filled in by the contents of the text file sent from my iPhone). In Hazel, I create a new rule that looks for Volume at the start of the filename and, like my other example, runs a shell script and moves the file to the trash. As with the previous example, a Save File item saves the file to my special Dropbox folder-this time with the word Volume at the start of the filename. This is followed by a Choose from List item and then a Text item, which inserts the contents of the chosen item into a text file. At the top of the workflow is a List item with five volume percentages: 0, 25, 50, 75, and 100.

iphone as a remote for mac

#IPHONE AS A REMOTE FOR MAC MAC#

On the iPhone, I create a workflow that runs as a Today Widget called Mac volume. Workflow allows you to create tappable buttons in the Workflow widget in Notification Center, which takes care of the “quickly” part.

#IPHONE AS A REMOTE FOR MAC HOW TO#

Next task: Change Mac volume remotelyĭan’s next task was to figure out how to control his Mac’s volume remotely and quickly. Within a few seconds, the page opens in the background on my Mac, and the file disappears from my Dropbox. Now if I’m on the Internet, I can browse to a webpage in Safari, tap the share icon, tap Run Workflow, and tap Open URL on Mac. Once the script opens the URL, Hazel throws away the text file. In this case, Hazel will be processing a file added to the Remote Scripts folder in Dropbox, so you’ll need to add that folder to Hazel’s Folders list and then make a new rule.Īs for the shell script itself, it’s a simple one that takes the URL in the text file, turns it into a variable called name, and uses the open -e command to open it in the background. This approach uses Noodlesoft’s $32 Hazel Hazel utility, which can act on files and folders automatically when they appear on your Mac. txt extension, though that’s not strictly necessary. I chose to append the Current Date (in RFC 2822 format) followed by the.

#IPHONE AS A REMOTE FOR MAC PLUS#

In the Save File block, you’ll need to authenticate with Dropbox and set the Destination Path to be the your folder in Dropbox, plus a filename starting with URL. I’ll show two examples, one of which is implemented as a share extension (so you can share a URL), the other of which runs from the Workflow widget in Notification Center.įor our first action, we’re going to create an Action Extension workflow that accepts URLs, gets the URL from the input, and writes a text file containing the URL itself to the special folder in Dropbox. You can have as many of these as you want, since each workflow can trigger a different event.

iphone as a remote for mac

Workflow is the tool we’ll use to trigger remote events on the Mac.

iphone as a remote for mac

Create an iOS workflow using the Workflow app. Here are the steps: Create a folder in Dropbox. (I should point out that there’s a less technical solution here, which is to use the Mac app Alfred and the Alfred Remote iOS app, though I believe it only works when both devices are on the same network.) His solution is unusual and will undoubtedly make security-minded people aghast, but I’ve tried it and it really works-though I’ve modified it to make it a bit less terrifying, security-wise. What if you just want to pause iTunes on your Mac, or turn down the system volume, or send it a webpage from across town, or anything else you can think of?ĭan Sturm, co-host of the Defocused podcast, was frustrated about a lack of Mac remote control, too, and he decided to solve it.

#IPHONE AS A REMOTE FOR MAC PRO#

Yes, if I absolutely need to control my iMac Pro from my iPhone, I can launch a screen-sharing app (I use Edovia’s Screens), but pushing a cursor around a 27-inch iMac from an iPhone screen is ridiculous. (It’s also frustratingly hard for my Mac to communicate with my iPhone about an event back at my desk.) Handoff is a nice feature that I use here and there to transfer data between my Mac and iOS devices, but it’s the exception that proves the rule: It’s not particularly easy to control a Mac commands from an iOS device. Warning: This story has not been updated in several years and may contain out-of-date information. Remote control a Mac from an iPhone via Workflow









Iphone as a remote for mac