ImageKit questions

  • My question(s):  Is there a better way to do any of the following?

    1) If you want to tell an IKScannerDeviceView what values to use when it first appears, you might find the keys revealed by the following command helpful:
    defaults read com.apple.Image_Capture | grep IK_

    These are undocumented, so YMMV.  I logged rdar://13878930 to ask that they be documented, or that a supported method be created.

    2) If you want to know when a scan is starting or finished, you'll can listening for these two notifications coming from the ICScannerDevice: IKScannerDeviceViewScanStarted, IKScannerDeviceViewScanDone.

    3) If you want to know what resolution (aka DPI) was used for a scan that was just delivered to your delegate's "-scannerDeviceView:didScanToURL:fileData:error:', you can examine [[deviceView selectedDevice] selectedFunctionalUnit].
  • On 13 May 2013, at 10:01 PM, Eric Slosser <eric.slosser...> wrote:

    > 1) If you want to tell an IKScannerDeviceView what values to use when it first appears, you might find the keys revealed by the following command helpful:
    > defaults read com.apple.Image_Capture | grep IK_
    >
    > These are undocumented, so YMMV.  I logged rdar://13878930 to ask that they be documented, or that a supported method be created.

    That's unreliable already. Executing the defaults read on my machine (MBPr 15" mid-2012 Mac OS 10.8.2) yields a message that the Image_Capture domain does not exist.

    However, it's possible I've never used a scanner with this machine, and the default is created when you do.

    — F

    --
    Fritz Anderson
    Xcode 4 Unleashed: 4.5 supplement for free!
    http://www.informit.com/store/xcode-4-unleashed-9780672333279
previous month may 2013 next month
MTWTFSS
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Go to today