Wednesday, April 16, 2014

#1 2012-04-08 05:01:09 am

cirno
Member
Registered: 2005-05-30
Posts: 448

How to trick Mac to think it is plugged to wall?

I need to compact sparse disk image but i run in battery power. Now i get error when i try to do this.

How i can do this without plugging my Mac to wall?

Applescript:

do shell script "hdiutil compact " & my_path

Offline

 

#2 2012-04-09 06:08:27 am

DevEd2
Member
From: Maine, USA
Registered: 2011-09-20
Posts: 130

Re: How to trick Mac to think it is plugged to wall?

AFAIK, there is no way to trick a Mac into thinking it is plugged in. I'm afraid you'll just have to run your script while your Mac is plugged in. Sorry!


"There are two kinds of people in this world: those who are convinced there are two kinds of people in this world, and those who aren't." -Unknown

Offline

 

Board footer

Powered by FluxBB

[ Generated in 0.030 seconds, 10 queries executed ]

RSS (new topics) RSS (active topics)