2
votes
0answers
446 views

How to make my Mac screen a mirror of iPhone using AirPlay

I'm new to AirPlay. I want to find a good tutorial to learn about Airplay and its APIs and how I can use it for sharing my iPhone screen on my Mac device. What I learned: iPhone 4S+ will support ...
0
votes
2answers
253 views

How to launch a daemon as root in OS X

I put my plist in /Library/LaunchAgents and my exexutive program in /usr/libexec and daemon statrs when system startup . But this daemon is owned by user . I try to put my plist in ...
1
vote
2answers
152 views

Where does sandboxing stop?

I used Norton's iAntivirus app from the Mac App Store to scan my entire hard drive. As expected, it presented me with an Open dialog at the root of my hard drive. I clicked "Open" and let it scan. ...
1
vote
2answers
168 views

Using sh -c in terminal

I have this command line that I enter into terminal and it works as intended: dscl . -readall /Users UniqueID | awk '/^RecordName:/ {name=$2}; /^UniqueID: / {if ($2 > 500) print name}' What I ...
1
vote
2answers
773 views

How to pass command line arguments in Mac Application

I have created a Command line tool application ( Xocde --> New App --> Command line tool) and it's running without any problems. Now i want to run it through terminal and pass some command line ...
1
vote
2answers
577 views

How do I wipe all preferences and settings for a Mac app that's under development?

On iOS, if you want to remove all settings and documents for an application during development and start from a clean install, you just need to delete it. However, on the Mac, removing the application ...
9
votes
2answers
416 views

Prettier text dialogs in OS X scripts

I'm getting pretty sick of these default AppleScript and cocoaDialog dialogs: I'd like to replace them with something closer to this: Has anyone made a shell executable like cocoaDialog with a ...