Erica Sadun
erica at ericasadun.com
Erica Sadun | 9:22 pm | November 22, 2007 | Update, Utilities, Software, iPhone
By request, this utility snaps a picture from the command line. It takes one argument the path to the new jpeg image file. It is in the Erica Utilities for iPhone Folder. The iPhone utilities are now upgraded to version 0.07
Erica Sadun | 8:56 pm | | Update, Utilities, Software, iPod touch, iPhone
The latest member of the Erica Utilities is doSafari. It takes one argument, the URL, and opens it in Safari. This utility is the command-line equivalent of OpenURL. Erica Utilities are now updated to 0.49.
Erica Sadun | 1:47 pm | | Bug Fixes, Update, Utilities, iPod touch, iPhone
Who knew that a simple recompile was all that was needed to bring my Diagnostics utility back to life? The utility is still in the Deprecated folder but it features a brand new compilation in the current zip file.
Diagnostics uses the UIDiagnostics layer provided by Apple to show application touch interactions. It’s fun to play with even if its not especially helpful.
Erica Sadun | 1:41 pm | | Update, Utilities, Software
Version 0.47 adds the new “do everything” alert utility.
Erica Sadun | 12:25 pm | | Update, Utilities, iPod touch, iPhone
Behold. For they have merged. And expanded greatly. If you want more features, speak now or forever hold your peace. The software is in the Erica Utilities directory, although I will not add it formally to the EU archive until I’ve tested this a little more and maybe clarify/add features. It is called: alert
alert [options] buttons...
Command options are (-h is the default):
PROMPTS
-h show this message
-t title Sets the alert title. (Defaults to “Alert”)
-b body Sets the body text. (Defaults to “”)
Use -b *before* -p or -i.
BUTTONS
-o one button OK style.
-c two button Confirm-Cancel style.
-C two button OK-Cancel style.
-y two button YES-NO style
-n no-button style. Meant for timed alerts.
Dismisses on tap. Returns 1 if tapped
-B number Sets the default button, count starts with 0
Use -B 99 (or any high #) for “no” default.
TEXT FIELD
-f add text field and print result to stdout.
-F default default text for text field.
Automatically sets -f.
-L label text field label (the gray text).
Automatically sets -f.
SPECIAL FEATURES
-p progress indicator
Automatically sets -n.
-s seconds Auto dismiss after s seconds
On time out, returns 0.
-i imgpath Display image in alert
Preferred resolution is 160×80 but this
will work with nearly any picture.
NOTES:
Return values are the button number (starting with 1)
Use the $? shell variable to check those values.
Utility does not work well with more than 3 or 4 buttons
Erica Sadun | 12:04 pm | November 21, 2007 | Bug Reports, Bug Fixes, Update, Software, iPod touch, iPhone
On the concern that the problems are cropping up in /Library/LaunchDaemons instead of /System/Library/LaunchDaemons, I’ve changed the directory enumeration for that folder as well. New version 0.32 also does a few extra checks when doing the reverse lookup after you select a daemon. Hopefully these new checks will help stabilize the whole program but as always, the law of unintended consequence lingers. Please test and let me know if this fixes your problems. Also, please add an ls -al of /Library/LaunchDaemons to any bug reports. Thanks.You can download the new version from here.
Erica Sadun | 10:28 am | | Bug Fixes, Update, Software, iPod touch, iPhone
I now check that launchdaemon xml files properly parse. I’m no longer taking it for granted that we’re limited to system files. Please test and let me know if this takes care of any lingering errors. If you do have problems, please do an ls -al of /System/Library/LaunchDaemons and also please run the program from the command line and paste the errors into a comment. Thanks.
You can download the new version from here.
Erica Sadun | 8:41 pm | November 20, 2007 | Update, Applications, iPod touch, iPhone
A new version of Red Light replaces the bright status bar with a dark one. Better optics for better night vision.
Erica Sadun | 8:35 pm | | Bug Fixes, Update, Utilities, iPod touch, iPhone
Turns out that some utility or another is going around creating .svn folders all over the place. This was killing UIctl on some iPhones and iPod touches. The new update no longer does a deep search in /System/Library/LaunchDaemons. Instead, it does a shallow one as well as testing for the same two conditions it has in the past: is not a folder, does not start with a period.
You can download the new version from here.
Erica Sadun | 12:48 pm | | Admin
I sent you email but it bounced!