Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Launch iPhoto only on camera, not iPhone, connect' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Launch iPhoto only on camera, not iPhone, connect
Authored by: PeterDie on Aug 02, '08 02:26:42PM

With two brands of camera's, I have the same problem. I don't use a cardreader, but a NOT option would be nice. But you can work around this by piling it up, one rule after another, with the name of your cardreader as GREP option for you.

My script looks like this:

try
do shell script "ioreg -Src IOUSBDevice | grep 'NIKON'"
activate application "iPhoto"
end try
try
do shell script "ioreg -Src IOUSBDevice | grep 'Kodak'"
activate application "iPhoto"
end try
--- And just to be on the save side or guest camera's
try
do shell script "ioreg -Src IOUSBDevice | grep 'Camera'"
activate application "iPhoto"
end try




[ Reply to This | # ]
Launch iPhoto only on camera, not iPhone, connect
Authored by: PeterDie on Aug 02, '08 02:50:24PM

Oh, and by the way, this script also is a nice way to start up the right app, pro and amateur:

try
do shell script "ioreg -Src IOUSBDevice | grep 'NIKON'"
activate application "Aperture"
end try
try
do shell script "ioreg -Src IOUSBDevice | grep 'Kodak'"
activate application "iPhoto"
end try



[ Reply to This | # ]