

Thus, your command should look something like: osascriptīut, what I want is to run a simple Applescript on display wake. Then drag your Applescript file to the Terminal After typing the above commands, type: osascriptįollowed by a space. The following will help you just run your Applescriptįrom the file you've saved it as (assuming it is a. This next solution might be a littleīit simpler. Go ahead and write that in osascript language. Simple (just ejecting a disk or opening a new Finder window), I would Script to be Run When Your Computer Goes to Sleep/Wakes Up:Ī.) type in a new Terminal Window: cat > $HOME/.wakeup thenī.) The next thing to understand is that you can run Applescripts through Terminal, via something called osascript, which The way to do this is to do the following: To Create a wakeup script that you desire to be placed in your Homeįolder. The way to do this is to load it into the You need to actually convert your AppleScripts into a Shell Script (they are not the same).Sleepwatcher will then automatically be installed and loaded.
#Sleepwatcher mac install#
To install Sleepwatcher via MacPorts, simply type in the command line: First, of course, install MacPorts, which is as easy as downloading a package and running it. MacPorts is one of the most effective and simplest ways to install Terminal based add-ons.
#Sleepwatcher mac update#
Hope this update helps! We’re very actively watching all the pieces here, so we can communicate a fix as soon as it’s proven.I have installed Sleepwatcher using Macports on my 10.8.3 computer, following this guide pulled from this post ( ): 10.8.2 still has the same issue, but there are a lot of people holding out for 10.8.3 in the Apple support forums. The workaround or fix may also come from the Apple side. We’re testing each one on our USB 3.0 Macbook here, and will post here if / when there’s a workaround from the VIA side.

This one appears to have a problem where we can’t recommend it, but we’re hoping this will be the start of a series of updates that may work around or fix this Mac issue. VIA hasn’t had any publicly available firmware updates for the VL811 until this week - but there’s now one released Oct 29th (version 0972):
#Sleepwatcher mac for mac#
Also, historically their firmware update utility runs on Windows only – so it may logistically be a pain for Mac users even when it’s out.

Our understanding from VIA is a workaround in firmware may be possible for at least some portion of the problem, but they haven’t been able to deliver it yet for the VL811. Here’s a good active thread with lots of detail and workarounds: The problem with drives disconnecting returning from sleep is mostly when connecting through USB 3.0 hubs, but can also happen in many random cases without a hub. Without having any info from Apple, it was difficult to be sure. Sometimes that kind of thing can be worked around, sometimes not. We’ve been assuming it’s a conflict over proper power management behavior, where Windows and Linux are more tolerant. We had contacted VIA (the hub chipset in this and most USB 3.0 hubs on the market right now), to try to understand why only Macs had this issue (not Windows and Linux) and if it could be fixed or worked around at the VIA firmware level.
