October 15, 2007 19:29
lldoza Wrote:How do you do PMset command with MacEnc running??
The program I have written is in Applescript. When it runs, it executes a line of Unix code that sets the computer to wake up in some number of minutes (which you set) using the pmset command. It then delays for a while, while MacENC (or GPSNavX) records a new point or 2 in the track file, and then tells the Mac to go to sleep. When the Mac wakes up, the program runs again and does the same thing. If the user wakes the computer early, the Applescript program quits, so MacENC just keeps on running.
This works most of the time, but I am still working on it, and am an amateur programmer. You are certainly welcome to use the program, but you will probably be frustrated unless you like to program yourself. Of course I would be delighted if you wanted to help improve it.
If you are interested, let me know by private email and I will send you the program with instructions, such as they are. Of course my real hope is that sufficient numbers of MacENC users will be interested in this power-saving feature that it would be incorporated directly into MacENC itself.