Zoom In Tool Plugin for Preview?

Hello. One very useful device in the Adobe Reader is a loupe named Zoom In Tool, available also through a shortcut (cmd-space held down). Very useful indeed, since it allows to magnify a specific area. Is there any way to obtain such a thing in preview, mayby a plugin or so? Would be great.
thanks
N
Titanium PowerBook G4 / 1,67 MHz   Mac OS X (10.4.2)  

Thankyou scapesulter. It's true, the Zoom In function in preview uses a loupe as its icon; yet it doesn't quite do the same job. But I should have described the benefit of the Adobe Reader tool more precisely. You use it dragging a rectangle around a certain area, and you get the entire document magnified, but in such way as focuses on the selected area and displays it magnified to the maximum, while in preview you can only magnify the entire thing by a predefined degree and then you have to move the desired area into focus.
Titanium PowerBook G4 / 1,67 MHz   Mac OS X (10.4.2)  

Similar Messages

  • Harmonization/Chord tool plugin for Logic?

    Hello everyone,
    I'm a saxophone player by trade, and unfortunately my piano skills are sub-par, which I feel is hurting my compositions. I can hear all sorts of chord progressions in my head, but finding them on the keyboard proves difficult, and by the time I find the first few chords, I've sometimes lost all sense of the progression/composition. Its worse when I dont have any ideas in my head, as exploring chords on the piano is an exercise in frustration!
    So I'm wondering, are there any type of "chord aids" or composition tools on the market to help me write music quicker without being a piano virtuoso? I'm currently using real guitar in chord mode to figure out chord progressions, but it can also be a limitation to only hear things through an accoustic guitar with no sustain. My goal is to be able to compose something, and figure out what I did/how to play it later, rather than being limited by what I can play on the keyboard. I guess this is why composers still write with pen and paper...but who writes progressive rock on paper!
    I'm of course working on developing my "straight to paper" skills, as well as my piano abilities, but in the mean time, are there any tools out there to aid in this, like a chord tool for logics environment that will automatically play chords out of single notes ala real guitar? Or even some type of harmonization plugin for midi data? There has to be something out there to help us non-piano players, right?
    Thanks in advance for your help/reply.

    Eriksimon wrote:
    Hey, Robin, lighten up, I don't think he intended to be mean. He's from Munich, you see.
    Haha... yep, that curious combination of humor and a direct unadorned response.
    I like it.
    That was a great explanation of dropping center panned tracks out of a stereo mix, although one may hear some vocal reverb splash way back in the mix. I'll have to try this and see what the vocals are covering up.
    If you're a Beatles fan or interested in any of the recording techniques used this 55 minute George Martin interview is a must. He has some examples with him. Really worth a listen!
    http://www.bbc.co.uk/programmes/b00mc0cc#synopsis
    pancenter-
    p.s. I love this line...
    "Performance took precedence over perfection".

  • A session saver for Preview.app

    Hi,
    I was wondering if there was a plugin for Preview/ program that would save the session of open pdf files when Preview was last closed. I use such a feature for Safari and Firefox, a session saver that reloads tabs that were present the last time.
    I access a lot of pdf files at a time and it is sometimes cumbersome to look them all up again when I restart Preview for some reason.
    The recent documents list doesn't exactly give me what files were currently open.
    Thanks for the reply,
    Sri

    Srisri:
    I think the closest thing you'll find (within Preview itself) is the 'Bookmarks' feature. A bookmark set for one PDF document during one 'session' will be retained for a next session... and can be called back by invoking the same bookmark... even after quitting Preview.
    Peter B.
    -----

  • Viewing Kindle files in Amazon Kindle Previewer produced by Kindle Plugin for ID

    I'm trying to help my girlfriend get a simple, short (12 pages) children's book published on Amazon as a Kindle ebook for sale, and I have it laid out in book format (all pages in one file) in ID CS5.5. I downloaded the Amazon Kindle Plugin for Adobe InDesign, as well as the Amazon Kindle Previewer. After finally figuring out how to format the book using the plugin and seeing it the way we want in the Kindle Previewer, I'm noticing that the page numbering in the previewer says it's 77 pages, even though the actual book is only 12. I also read that the Amazon Kindle Previewer is meant to be used in conjunction with KindleGen, a command line tool that is the only tool officially supported by Amazon to convert files to Kindle format.  If that's the case, what purpose does the Kindle Plugin for InDesign serve? The documentation I have for the plugin is "Amazon Kindle Publishing Guidelines for Kindle Plugin for Adobe InDesign... How to create books for the Kindle platform from Adobe InDesign". So I'm a bit confused here.
    I guess my question is, once the ID file is converted to MOBI, how is it previewed to test for formatting on the various Kindle platforms?
    Or am I headed in the wrong direction trying to use ID for laying out an ebook for Kindle format? I'm totally new to this and would appreciate some input from those who have experience creating Kindle ebooks for Amazon.
    Denny

    Children's books should usually use the fixed layout Kindle format. The InDesign Plugin doesn't do that. The book needs to be hand coded in html and css. It's discussed in Chapter 4 in the Amazon Kindle Publishing Guidelines and on this page: http://www.amazon.com/gp/feature.html?docId=1000729511. You might be able to use the Amazon sample -- there is a link that lets you download the actual files on the page I just linked to -- and modify them to suit your book.
    For regular books, I never use the InDesign plugin as I want more control over my ebook formatting. I use the epub output and then convert from epub to mobi using KindleGen. It's actually just as easy and it gives you the opportunity to tweak the html after you output which I like.

  • Simulation using Eclipse plugin for JCOP tools

    Dear All,
    In search for a simulation environment for java card applet development I tried to use Eclipse plugin for JCOP tools.
    The samples which comes with the JCOP tools works fine but when try to debug my applet I receive the error: Wrong Data 6A 80.
    Generic JCOP v2.4.1 is selected for Java Card Simulation.
    Following is the JCOP Shell screen:
    cm- /term "Remote|localhost:8050"
    --Opening terminal
    /card -a a000000003000000 -c com.ibm.jc.CardManagerresetCard with timeout: 0 (ms)
    --Waiting for card...
    ATR=3B F8 13 00 00 81 31 FE 45 4A 43 4F 50 76 32 34 ;.....1.EJCOPv24
    31 B7 1.
    IOCTL().
    ATR: T=1, FI=1/DI=3 (93clk/etu), N=0, IFSC=254, BWI=4/CWI=5, Hist="JCOPv241"
    => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00 ..............
    (908058 nsec)
    <= 6F 65 84 08 A0 00 00 00 03 00 00 00 A5 59 9F 65 oe...........Y.e
    01 FF 9F 6E 06 47 91 92 18 00 00 73 4A 06 07 2A ...n.G.....sJ..*
    86 48 86 FC 6B 01 60 0C 06 0A 2A 86 48 86 FC 6B .H..k.`...*.H..k
    02 02 01 01 63 09 06 07 2A 86 48 86 FC 6B 03 64 ....c...*.H..k.d
    0B 06 09 2A 86 48 86 FC 6B 04 02 15 65 0B 06 09 ...*.H..k...e...
    2B 85 10 86 48 64 02 01 03 66 0C 06 0A 2B 06 01 +...Hd...f...+..
    04 01 2A 02 6E 01 02 90 00 ..*.n....
    Status: No Error
    cm> set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
    cm> init-update 255
    => 80 50 00 00 08 B1 04 15 2B 41 3F 62 AB 00 .P......+A?b..
    (2668 usec)
    <= 00 00 F9 02 71 E3 BB AD BD CD FF 02 00 00 3D 02 ....q.........=.
    9C 31 C7 89 AD 44 8E 13 17 15 2E 5A 90 00 .1...D.....Z..
    Status: No Error
    cm> ext-auth plain
    => 84 82 00 00 10 CE 6C DC D2 8C BE 5E 33 EC 58 D0 ......l....^3.X.
    57 3A 52 D2 24 W:R.$
    (2288 usec)
    <= 90 00 ..
    Status: No Error
    cm> delete -r a00000006203010c04
    => 80 E4 00 80 0B 4F 09 A0 00 00 00 62 03 01 0C 04 .....O.....b....
    00 .
    (1084 usec)
    <= 6A 88 j.
    Status: Reference data not found
    jcshell: Error code: 6a88 (Reference data not found)
    jcshell: Wrong response APDU: 6A88
    Ignoring expected error
    cm> upload -d -b 250 "D:\JCOP\eclipse\projects\DigitalTachograph\bin\digitaltachograph\javacard\digitaltachograph.cap"
    => 80 E6 02 00 16 09 A0 00 00 00 62 03 01 0C 04 08 ..........b.....
    A0 00 00 00 03 00 00 00 00 00 00 00 ............
    (2100 usec)
    <= 00 90 00 ...
    Status: No Error
    => 80 E8 00 00 FA C4 82 84 42 01 00 25 DE CA FF ED ........B..%....
    02 02 04 00 01 09 A0 00 00 00 62 03 01 0C 04 11 ..........b.....
    64 69 67 69 74 61 6C 74 61 63 68 6F 67 72 61 70 digitaltachograp
    68 02 00 21 00 25 00 21 00 0E 00 29 03 3E 00 CD h..!.%.!...).>..
    23 D2 01 BB 04 44 00 00 09 E3 4B E5 00 11 00 05 #....D....K.....
    01 A2 04 01 00 04 00 29 04 00 01 07 A0 00 00 00 .......)........
    62 00 01 02 01 07 A0 00 00 00 62 01 01 02 01 07 b.........b.....
    A0 00 00 00 62 01 02 02 01 07 A0 00 00 00 62 02 ....b.........b.
    01 03 00 0E 01 0A A0 00 00 00 62 03 01 0C 04 01 ..........b.....
    01 DF 06 00 CD 00 00 00 80 00 00 FF 00 01 00 00 ................
    00 01 81 03 13 00 12 07 03 00 00 02 01 03 06 0B ................
    8C 81 00 00 00 80 00 0B 00 0B 01 01 00 00 0B F9 ................
    00 80 00 11 00 0F 01 01 00 10 0E A9 0D D4 0D F7 ................
    0E 07 0E 18 0E 26 0E 35 0E 44 0E 50 0E 72 0E 81 .....&.5.D.P.r..
    0E 90 0E 9B 0E F5 11 05 11 1A 11 50 00 80 00 05 ...........P....
    00 04 01 04 00 01 13 AF 13 B5 13 BA 14 0C 13 00 ................
    (6775 usec)
    <= 6A 80 j.
    Status: Wrong data
    jcshell: Error code: 6a80 (Wrong data)
    jcshell: Wrong response APDU: 6A80
    Unexpected error; aborting execution
    I will be very happy if you can help me. I am desperately in need of a working debugging environment.
    Thanks in advance!
    Kind regards,
    Mehmet

         * Processes incoming READ_BINARY APDUs. Returns data of the currently
         * selected file.
         * @param apdu   where the offset is carried in header bytes p1 and p2.
         * @param le  expected length by terminal
         * @return length of the response APDU
        private short processReadBinary(APDU apdu, boolean protectedApdu,  short leUnprotected) {
            if (!hasFileSelected()) {
                ISOException.throwIt(SW_CONDITIONS_NOT_SATISFIED);
            byte[] buffer = apdu.getBuffer();
            // retrieve p1p2 from apdu buffer
            byte p1 = buffer[OFFSET_P1];
            byte p2 = buffer[OFFSET_P2];
            short offset = Util.makeShort(p1, p2);     // offset encoded in P1/P2, 15 lowest bit
            // offset encoded in P1/P2, 15 lowest bit
            // check if le != 0 <-- no response expected
            if (leUnprotected == 0) {
                ISOException.throwIt(ISO7816.SW_WRONG_LENGTH);
            if (selectedFile == null) {
                ISOException.throwIt(ISO7816.SW_FILE_NOT_FOUND);
            if ((selectedFile.getAccessConditions() & READ_REQUIRES_SM) == READ_REQUIRES_SM) {
                if(!protectedApdu)
                   ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
            short fileSize = (short) selectedFile.getFileLength();
            // check offset
            if (offset >= fileSize) {
                ISOException.throwIt(ISO7816.SW_INCORRECT_P1P2);
            // check expected length
            if ((short) (offset + leUnprotected) > fileSize) {
                ISOException.throwIt(ISO7816.SW_WRONG_LENGTH);
                //ISOException.throwIt(SW_TAMAM);
            short bufferOffset = 0;
            crypto.setEncryptionStatus(isSelectedFileEncrypted());
            if (protectedApdu) {
                bufferOffset = crypto.getApduBufferOffsetDT(leUnprotected);
                if(isSelectedFileEncrypted())
                   bufferOffset = crypto.getApduBufferOffset(leUnprotected);
                apdu.setOutgoing();
            Util.arrayCopyNonAtomic(selectedFile.getData(), offset, buffer, bufferOffset, leUnprotected);
            return leUnprotected;
         * Processes and UPDATE_BINARY apdu. Writes data in the currently selected
         * file.
         * @param apdu
         *            carries the offset where to write date in header bytes p1 and
         *            p2.
        private void processUpdateBinary(APDU apdu, boolean protectedApdu) {
            if (!hasFileSelected() || isLocked()) {
                ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
            if ((selectedFile.getAccessConditions() & DigitalTachograph.UPDATE_ALW) != DigitalTachograph.UPDATE_ALW) {
                if ((selectedFile.getAccessConditions() & DigitalTachograph.UPDATE_REQUIRES_SM) != DigitalTachograph.UPDATE_REQUIRES_SM) {
                    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
                    return;
                }else if(!protectedApdu){
                        ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
            byte[] buffer = apdu.getBuffer();
            byte p1 = buffer[OFFSET_P1];
            byte p2 = buffer[OFFSET_P2];
            short offset = Util.makeShort(p1, p2);
            short readCount = (short) (buffer[ISO7816.OFFSET_LC] & 0xff);
            //if (!protectedApdu){
                readCount = apdu.setIncomingAndReceive();
            while (readCount > 0) {
                selectedFile.writeData(offset, buffer, OFFSET_CDATA, readCount);
                offset += readCount;
                readCount = apdu.receiveBytes(ISO7816.OFFSET_CDATA);
        private short processInternalAuthenticate(APDU apdu , boolean protectedApdu) throws CryptoException {
            byte[] buffer = apdu.getBuffer();
            short lc = (short) (buffer[OFFSET_LC] & 0xFF);
            if (lc != (short) (KID_LENGTH * 2)) {
                ISOException.throwIt(SW_WRONG_LENGTH);
            if (apdu.setIncomingAndReceive() != lc) {
                ISOException.throwIt(ISO7816.SW_WRONG_DATA);
            // Check if VU.CHR maches the one of the selected certificate on the card
            if (Util.arrayCompare(buffer, (short) (OFFSET_CDATA + KID_LENGTH), keyStore.selected_KID, (short) 0, KID_LENGTH) != 0) {
                ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
            if (Util.arrayCopyNonAtomic(buffer, OFFSET_CDATA, Rnd1, (short) 0, (short) 8) != (short) 8) { // Receive Rnd1
                ISOException.throwIt(ISO7816.SW_WRONG_DATA);
            // Hash(PRnd2||K1||Rnd1||VU.CHR)
            random.generateData(PRnd2, (short) 0, (short) 90);
            random.generateData(K1, (short) 0, (short) 16);
            crypto.shaDigest.update(PRnd2, (short) 0, (short) 90); // PRnd2
            crypto.shaDigest.update(K1, (short) 0, (short) 16); // PRnd2||K1
            crypto.shaDigest.doFinal(buffer, OFFSET_CDATA, lc, digest, (short) 0); //Rnd1||VU.CHR
            BigNumber mod = new BigNumber((short) 128);
            mod.init(keyStore.Card_PubMod, (short) 0, (short) keyStore.Card_PubMod.length, BigNumber.FORMAT_HEX);
            mod.subtract(signed, (short) 0, (short) 128, BigNumber.FORMAT_HEX);
            if (mod.compareTo(signed, (short) 0, (short) 128, BigNumber.FORMAT_HEX) == -1) {
                mod.toBytes(signed, (short) 0, (short) 128, BigNumber.FORMAT_HEX);
            // To be added: if the selected private key is considered corrupted, the processing state returned is '6400' or '6581'.
            signed[0] = (byte) 0x6A;
            Util.arrayCopyNonAtomic(PRnd2, (short) 0, signed, (short) 1, (short) 90);
            Util.arrayCopyNonAtomic(K1, (short) 0, signed, (short) 91, (short) 16);
            Util.arrayCopyNonAtomic(digest, (short) 0, signed, (short) 107, (short) 20);
            signed[127] = (byte) 0xBC;
            if (!keyStore.cardPrivateKey.isInitialized()) {
                CryptoException.throwIt(CryptoException.ILLEGAL_VALUE);
            try {
                crypto.rsaSigner.init(keyStore.cardPrivateKey, Signature.MODE_SIGN);
                crypto.rsaSigner.doFinal(signed, (short) 0, (short) 128, signed, (short) 0);
            } catch (Exception e) {
                ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
            if (!keyStore.selectedPublicKey.isInitialized()) {
                CryptoException.throwIt(CryptoException.ILLEGAL_VALUE);
            try {
                crypto.rsaCipher.init(keyStore.selectedPublicKey, Cipher.MODE_ENCRYPT);
                crypto.rsaCipher.doFinal(signed, (short) 0, (short) 128, signed, (short) 0);
            } catch (Exception e) {
                ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
            apdu.setOutgoing();
            Util.arrayCopyNonAtomic(signed, (short) 0, buffer, (short) 0, (short) 128);
            return (short) signed.length;
        private void processExternalAuthenticate(APDU apdu) {
            short equipmentType = 0;
            if (keyStore.Selected_Cert != null) {
                equipmentType = (short) keyStore.Selected_Cert.CHA[6]; // check equipment type
            if (equipmentType != (short) 1 && equipmentType != (short) 2 && equipmentType != (short) 3 && equipmentType != (short) 4 && equipmentType != (short) 6) {
                ISOException.throwIt(ISO7816.SW_FUNC_NOT_SUPPORTED); // Instead of 6F00 throw a more meaningfull SW in case CHA is not valid.
            if (Util.arrayCompare(keyStore.Selected_Cert.CHA, (short) 0, TACHOGRAPH_AID, (short) 0, (short) 6) != 0) {
                ISOException.throwIt(ISO7816.SW_FUNC_NOT_SUPPORTED);
            byte[] buffer = apdu.getBuffer();
            byte p1 = (byte) (buffer[OFFSET_P1] & 0xff);
            byte p2 = (byte) (buffer[OFFSET_P2] & 0xff);
            if (p1 != 0 || p2 != 0) {
                ISOException.throwIt(SW_WRONG_P1P2);
            short lc = (short) (buffer[OFFSET_LC] & 0xFF);
            if (lc != (short) (128)) {
                ISOException.throwIt(SW_WRONG_LENGTH);
            if (apdu.setIncomingAndReceive() != lc) {
                ISOException.throwIt(ISO7816.SW_WRONG_DATA);
            Util.arrayCopyNonAtomic(buffer, OFFSET_CDATA, signed, (short) 0, (short) 128); // receive the cryptogram from the VU
            // decrypt the encrypted message with the card private key
            try {
                crypto.rsaCipher.init(keyStore.cardPrivateKey, Cipher.MODE_DECRYPT);
                crypto.rsaCipher.doFinal(signed, (short) 0, (short) 128, signed, (short) 0);
            } catch (Exception e) {
                ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
            // verify the signature with the VU public key
            try {
                crypto.rsaCipher.init(keyStore.selectedPublicKey, Signature.MODE_VERIFY); // Cipher.MODE_ENCRYPT
                crypto.rsaCipher.doFinal(signed, (short) 0, (short) 128, signed, (short) 0);
            } catch (Exception e) {
                ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
            if (signed[0] != (byte) 0x6A || signed[127] != (byte) 0xBC) {
                ISOException.throwIt(Util.makeShort(signed[0], signed[127]));
            try {
                verifyCardCertificates();
                Util.arrayCopyNonAtomic(signed, (short) 1, preDigest, (short) 0, (short) 106); // accumulate preDigest
                Util.arrayCopyNonAtomic(Rnd3, (short) 0, preDigest, (short) 106, (short) 8); // accumulate preDigest
                Util.arrayCopyNonAtomic(keyStore.Card_Cert.CHR, (short) 0, preDigest, (short) 114, (short) 8); // accumulate preDigest
                Util.arrayCopyNonAtomic(signed, (short) 91, K2, (short) 0, (short) 16); // receive K2 value
                crypto.shaDigest.update(signed, (short) 1, (short) 106); // PRnd4||K2
                crypto.shaDigest.update(Rnd3, (short) 0, (short) 8); // Rnd3
                crypto.shaDigest.doFinal(keyStore.Card_Cert.CHR, (short) 0, (short) 8, digest, (short) 0); //||Card.CHR
            } catch (Exception e) {
                ISOException.throwIt(SW_TAMAM);
            if (Util.arrayCompare(signed, (short) 107, digest, (short) 0, (short) 20) != 0) {
                ISOException.throwIt(SW_TAMAM);
            volatileState[0] |= MUTUAL_AUTHENTICATED;
            try {
                DTUtil.xor(K1, (short) 0, K2, (short) 0, KaKb, (short) 0, (short) 16);
                Util.arrayCopyNonAtomic(Rnd3, (short) 4, SSC, (short) 0, (short) 4); // tail of Rnd3
                Util.arrayCopyNonAtomic(Rnd1, (short) 4, SSC, (short) 4, (short) 4); // tail of Rnd1
            } catch (Exception e) {
                ISOException.throwIt(SW_TAMAM);
            try {
                keyStore.setKey_Ka(KaKb, (short) 0);
                keyStore.setKey_Kb(KaKb, (short) 8);
                keyStore.setSecureMessagingKeys(KaKb, (short) 0, KaKb, (short) 0);
            } catch (Exception e) {
                ISOException.throwIt(SW_TAMAM_DEGIL);
            return;
        private short returnPreDigest(APDU apdu) {
            byte[] buffer = apdu.getBuffer();
            apdu.setOutgoing();
            Util.arrayCopyNonAtomic(preDigest, (short) 0, buffer, (short) 0, (short) 122);
            return (short)preDigest.length;
        private short returnDigest(APDU apdu) {
            byte[] buffer = apdu.getBuffer();
            apdu.setOutgoing();
            Util.arrayCopyNonAtomic(digest, (short) 0, buffer, (short) 0, (short) 20);
            return (short)digest.length;
        private short returnOriginalText(APDU apdu) {
            byte[] buffer = apdu.getBuffer();
            apdu.setOutgoing();
            Util.arrayCopyNonAtomic(signed, (short) 0, buffer, (short) 0, (short) 128);
            return (short)signed.length;
        private void processVerify(APDU apdu) { // Verify_CHV(Pin_Ws)
            byte[] buffer = apdu.getBuffer();
            // retrieve the PIN data for validation.
            byte byteRead = (byte) (apdu.setIncomingAndReceive());
            // the PIN data is read into the APDU buffer
            // at the offset ISO7816.OFFSET_CDATA the PIN data length = byteRead
            if (pin.check(buffer, ISO7816.OFFSET_CDATA, byteRead) == false) {
                ISOException.throwIt(SW_VERIFICATION_FAILED);
            return;
        private void processPSO(APDU apdu) { // verify certificate
            byte[] buffer = apdu.getBuffer();
            byte p1 = (byte) (buffer[OFFSET_P1] & 0xff);
            byte p2 = (byte) (buffer[OFFSET_P2] & 0xff);
            short lc = (short) (buffer[ISO7816.OFFSET_LC] & 0xFF);
            if (p1 == (byte) 0x00 && p2 == P2_VERIFYCERT) {
                if (lc != TACHO_CERT_LENGTH) {
                    ISOException.throwIt(SW_WRONG_LENGTH);
                if (apdu.setIncomingAndReceive() != lc) {
                    ISOException.throwIt(ISO7816.SW_WRONG_LENGTH);
                try { // copy the certificate to be verified from APDU buffer to cert object
                    Util.arrayCopyNonAtomic(buffer, OFFSET_CDATA, cert, (short) 0, lc);
                } catch (Exception e) {
                    ISOException.throwIt(SW_TAMAM);
                if (Util.arrayCompare(keyStore.selected_KID, (short) 0, keyStore.ERCA_KID, (short) 0, KID_LENGTH) == 0) {
                    keyStore.VUCA_Cert.verifyCert(cert, keyStore.selectedPublicKey, keyStore.selected_KID);
                } else if (Util.arrayCompare(keyStore.selected_KID, (short) 0, keyStore.VUCA_Cert.CHR, (short) 0, KID_LENGTH) == 0) {
                    keyStore.VU_Cert.verifyCert(cert, keyStore.selectedPublicKey, keyStore.selected_KID);
                } else {
                    ISOException.throwIt(SW_CERT_VERIFICATION_FAILED); // Selected keyId, with MSE, is neither ERCA_KID nor VUCA_KID
            } else {
                ISOException.throwIt(SW_CERT_VERIFICATION_FAILED);
            return;
        private short processGetChallenge(APDU apdu, boolean protectedApdu) {
            byte[] buffer = apdu.getBuffer();
            byte p1 = (byte) (buffer[OFFSET_P1] & 0xff);
            byte p2 = (byte) (buffer[OFFSET_P2] & 0xff);
            if (p1 != 0 || p2 != 0) {
                ISOException.throwIt(SW_WRONG_P1P2);
            random.generateData(Rnd3, (short) 0, (short) 8);
            short Le = apdu.setOutgoing();
            if (Le != (short) 8) {
                ISOException.throwIt(SW_WRONG_LENGTH);
            Util.arrayCopyNonAtomic(Rnd3, (short) 0, buffer, (short) 0, (short) 8);
            return Le;
        private void processMSE(APDU apdu) {
            byte[] buffer = apdu.getBuffer();
            if (buffer[OFFSET_P1] == (byte) 0xC1 && buffer[OFFSET_P2] == P2_DST) {
                short lc = (short) (buffer[OFFSET_LC] & 0xFF);
                if (lc != (short) (KID_LENGTH + 2)) {
                    ISOException.throwIt(SW_WRONG_LENGTH);
                if (apdu.setIncomingAndReceive() != lc) {
                    ISOException.throwIt(ISO7816.SW_WRONG_DATA);
                if (buffer[OFFSET_CDATA] != (byte) 0x83) {//check the tag of the data
                    ISOException.throwIt(SW_SECURE_MESSAGING_DATA_OBJECTS_MISSING);
                } else if (buffer[OFFSET_CDATA + 1] != (byte) 0x08) {
                    ISOException.throwIt(SW_INCORRECT_DATA_OBJECT); // check if the key is already selected one
                } else if (Util.arrayCompare(buffer, (short) (OFFSET_CDATA + 2), keyStore.selected_KID, (short) 0, KID_LENGTH) != 0) {
                    if (Util.arrayCompare(buffer, (short) (OFFSET_CDATA + 2), keyStore.ERCA_KID, (short) 0, KID_LENGTH) == 0) {// KID is EUR_KID
                        keyStore.selected_KID = keyStore.ERCA_KID;
                        keyStore.selectedPublicKey = keyStore.eurPublicKey;
                        keyStore.Selected_Cert = null; // ERCA public key is selected
                        return;
                    } else if (Util.arrayCompare(buffer, (short) (OFFSET_CDATA + 2), keyStore.VUCA_Cert.CHR, (short) 0, KID_LENGTH) == 0) {// KID is MSCA_KID
                        keyStore.Selected_Cert = keyStore.VUCA_Cert;
                    } else if (Util.arrayCompare(buffer, (short) (OFFSET_CDATA + 2), keyStore.VU_Cert.CHR, (short) 0, KID_LENGTH) == 0) { // KID is VU_KID
                        keyStore.Selected_Cert = keyStore.VU_Cert;
                    } else {
                        ISOException.throwIt(SW_REFERENCE_DATA_NOT_FOUND);
                    }// KID not found
                    keyStore.selectedPublicKey = keyStore.Selected_Cert.publicKey;
                    keyStore.selected_KID = keyStore.Selected_Cert.CHR;
                } else { // if the KID is already set, just return
                    return;
            } else {
                ISOException.throwIt(ISO7816.SW_WRONG_P1P2);
        private void processSelectFile(APDU apdu) {
            byte[] buffer = apdu.getBuffer();
            short lc = (short) (buffer[OFFSET_LC] & 0x00FF);
            // retrieve p1p2 from apdu buffer
            byte p1 = buffer[OFFSET_P1];
            byte p2 = buffer[OFFSET_P2];
            short p1p2 = Util.makeShort(p1, p2);
            apdu.setIncomingAndReceive();
            if (p1 == 4) {
                if (lc == (short) TACHO_AID_LENGTH) {
                    if (Util.arrayCompare(buffer, (short) OFFSET_CDATA, TACHOGRAPH_AID, (short) 0, (short) TACHO_AID_LENGTH) == 0) {
                        selectedFile = fileSystem.getDT();
                        fileSystem.selectDT();
                        volatileState[0] |= FILE_SELECTED;
                        return;
                    } else {
                        ISOException.throwIt(ISO7816.SW_WRONG_DATA);
                } else if (lc != 2) {
                    ISOException.throwIt(SW_WRONG_LENGTH);
                short fid = Util.getShort(buffer, OFFSET_CDATA);
                if (fileSystem.getFile(fid) != null) {
                    selectedFile = fileSystem.getDT();
                    fileSystem.selectDT();
                    volatileState[0] |= FILE_SELECTED;
                    return;
            } else if (p1 == 2) {
                if (lc != 2) {
                    ISOException.throwIt(SW_WRONG_LENGTH);
                short fid = Util.getShort(buffer, OFFSET_CDATA);
                if (fileSystem.getFile(fid) != null) {
                    selectedFile = fileSystem.getFile(fid);
                    volatileState[0] |= FILE_SELECTED;
                    return;
            } else {
                ISOException.throwIt(ISO7816.SW_WRONG_P1P2);
            setNoFileSelected();
            ISOException.throwIt(ISO7816.SW_FILE_NOT_FOUND);
        public static void setNoFileSelected() {
            if (hasFileSelected()) {
                volatileState[0] ^= FILE_SELECTED;
        public static boolean hasFileSelected() {
            return (volatileState[0] & FILE_SELECTED) == FILE_SELECTED;
        public static boolean hasMutuallyAuthenticated() {
            return (volatileState[0] & MUTUAL_AUTHENTICATED) == MUTUAL_AUTHENTICATED;
        static boolean isLocked() {
            return (persistentState & LOCKED) == LOCKED;
        public boolean isSelectedFileEncrypted() {
            return ((selectedFile.getAccessConditions() & DigitalTachograph.ENCRYPTED) == DigitalTachograph.ENCRYPTED);
    }

  • One Finger Zoom Plugin For Web & Photo Browser - M...

    concepts.shpe.ro/ZoomRotate.php");return false" target=_blank>http://concepts.shpe.ro/ZoomRotate.php
    One Finger Zoom Plugin For Web & Photo Browser - Multitouch Alternative?
    one finger multittouch for 5800xm and n97 very simple to implement zoom/rotate control by doubletapping you set a control point and when you drag the control takes efect need just one hand to controll (multitouch needs two hands to control - you have to hold the device with other hand
    develope it now and upload it to Ovi store, make it free or donationware

    You can listen to whomever you wish.
    But here's why I'm telling you what I am.
    I've been doing this type of thing with still images from a Nikon D200 and now D300 and intercutting them to a video shot with a HVX200, and now HPX170 and HMC150 for more than three years.
    FCP does not have the controls to achieve a professional result.
    More than that, its ease in/out controls jump the image and provide sparse control over the areas of interest and the zoom/pans, among other things.
    I love Noise Industries products. I've tested this one. It's better than some.
    But the interface isn't conducive to a good workflow, and you need to render to see results.
    I respect David's opinions on just about everything.
    But I have tried just all of them - FCP, AE, Motion, Still Life, Moving Picture, PhotoToMovie, Lyric Media's product, and this one from Niclas's NI collection, etc.
    FotoMagico is inexpensive and produces far better results than anything I've seen. And it is so much easier and intuitive to use.
    And I always watch Boise State football.

  • Dimension tool plugin necessary for Illustrator ?

    Hello,
    unfortunatley my company bought CS4, but a few employees also sometimes need  to add dimensions to drawings similar like in CAD software for engineer drawings possible.
    But it looks like that it is NOT working with Illustrator CS4. (although written in Wikipedia, that illustrator closes gap between CAD and pixel basing software.)
    Is there any possibility to install plugin for Illustrator or is Illustrator having such tool ?
    Thanks for helping !
    Jan

    I have an AI Javascript that I built for my own convenience, which creates simple linear dimension callouts, as described here.
    It is dependendent upon two Graphic Styles and one Paragraph Style which can be added to your documents (or templates) by copying / pasting from the .ai file that is included in the download .zip. However...
    It is little unbelievable that Adobe, eliminated dimension tool from Illustrator. Why ?
    Illustrator never had dimension tools.
    although written in Wikipedia, that illustrator closes gap between CAD and pixel basing software
    Whomever wrote that should be horse-whipped. (Or worse, forced to do techish commercial drawing with Illustrator in a roomful of others who are using either Canvas or CorelDraw.) That is probably the worst mis-characterization of what Illustrator is that I have ever heard.
    Did my company buy the wrong software ?
    Probably. If dimension tools and a few other very common features necessary for techish illustration are a frequent need, absolutely. Illustrator not only lacks ordinary dimension tools, it also lacks:
    Reliable snaps.
    User-defined drawing scales.
    Connector lines.
    Callout objects.
    Live shape primitives (rectangles, polygons, ellipses, arcs) with geometric parameters (corner radii, etc.) that can be adjusted after creation.
    Proper corner rounding / chamfering commands.
    Any feature assist for mechanically corrrect perspective construction.
    Is there any other software from adope, which is able to work on .jpg picture and using dimensioning, too ?
    JPEG is just a lossy compression format for raster images. I don't know what it, in particular, would have to do with what you have described so far (using a mainstream drawing program to make attractive commercial illustration based on line work exported from CAD software).
    But unlike most of its direct competitors these days, Illustrator does not provide any features (other than the ability to apply Photoshop filters) for actually editing raster images. It can import a raster image (JPEG or other) and manipulate it as an object (rotate it, scale it, mask it, etc.). But there are no pixel-editing features.
    You have not very well described what your company's needs are. But just given your mention of dimension tools as being important and your need for something to "bridge" between working product drawings and commercial product illustration, I dare say you would be far better off with Canvas, Corel Draw, or Corel Designer.
    Unlike its competitors, Illustrator has always treated anything the least bit "techish" as if it's something to fear. It's competitors embrace it as what it is: a huge segment of the overall mainstream commercial illustration world. And it isn't just this seeming "technical" vs. "paper doily" aversion. Much of it is simply the fact that Illustrator has never kept up with its competitors in straighforward, no-nonsense path drawing features. Illustrator has always sat too fat-and-lazy on its Adobe label for market share.
    People (including myself) do technical/commercial illustration in Illustrator all the time. Most commerical product illustration is of that nature. But in doing so, they constantly employ tedious, cumbersome, and time-wasteful workarounds for the pathetically weak feature set of Illustrator--or they buy add-ons which cost half what they paid for Illustrator all over again. (I've never understood that mindset. No matter how well-done the plug-in, it's never as cleanly-integrated with the overall program as built-in features; and you have to put up with everything that goes along with mission-critical dependency upon add-ons from small third-party providers.)
    JET

  • Plugins for viewing other file types?

    Hi. I'm just wondering if anyone knows of a plugin for Bridge that would allow me to preview other file types, specifically Blender 3D .blend files.
    Windows Explorer can preview them, but not Bridge. And Bridge can preview all of the AI and PSD files that Windows Explorer can't.
    I'd like to use bridge since it is faster for previewing and changing meta data, etc.
    Any help is appreciated.
    Thanks!

    I'd like to use bridge since it is faster for previewing and changing meta data, etc
    If the files don't show in the content window they probably are not supported. First try a purge cache for folder using the tool menu / cache/ purge cache for folder and if still no luck check the file type associations in the Bridge preferences.
    If your file is not on the list the only option is to add a feature request somewhere on this forum. The more people want it the bigger chance it will get realized sometime.
    I'm not aware of any plug in to add file types to Bridge. Don't think scripts can solve this but you could also visit the scripting forum for this.

  • How can i create a plugin for adobe in design CS3

    i'm trying to make a plugin to use it in adobe Indesign CS3 program but i can't
    i'm using Windows 7
    i had tryed to make a plugin using Eclips with indesign plugin editor and Visual studio C++ but i can't as i can;t find where can i write my code and there is also an error while debuging is that :
    <error PRJ0019: A tool returned an error code from "Performing Custom Build Step">
    after working out  this error "by adding the directory of Odfrc.exe in tools->VC++ Directories->executable file" another error raise to me :
    <Unknown compiler version - please run the configure tests and report the results> and the visual studio raise message box to me to specify the name of the executable file to be used for the debug session
    i don;t know wat can i do know all i need to create a plugin for indesign program so could any one help me ??

    Each version of the SDK has very specific demands for the compiler setup, and this in turn relies heavily on the operating system. The CS3 SDK probably was based on a much older version of Visual Studio.
    Compare your toolchain against the requirements that should be stated somewhere in the CS3 documentation. It's a solid bet you are years ahead -- there simply is no reason for Adobe to keep on supporting all OSes and compilers that continue to appear, for a version of InDesign that's by now 2.5 versions old.

  • Multiple Custom Synch Plugins For Same Business Object

    Can I make multiple plugins for the same business object? The main reason I'm asking is because I want to have one item plugin that runs before the core item data synchs and another item plugin that runs after.
    Since the topic's here, if multiple plugins can be written, which order would two plugins run if they are both set to go off after the core synch?

    That answers half of my question, although just to verify:
    The only issue is the before synch plugin may not have it's data in SBO (eg new order from webtools). If the data initiated in SBO then you should be fine.
    As far as I can tell, you're basically saying that if you're working with data in SBO in a plugin that's set to PluginExecutionLocation.BeforeSynch, be cautious of the fact that new data from Web Tools will not have the plugin run against it because it will arrive after the standard synch brings it over. I would assume the same would be true for the reverse, in that any new data in SBO that's not yet in Web Tools will also not have the plugins run against it for the same reason.
    Also, let's say I create two SynchPlugins for Items and set both of their SynchRunTime fields to PluginExecutionLocation.AfterSynch - which one runs first? Or is it indeterminable each time?

  • Javascript Detection of Adobe reader plugin for Adobe version 9.0

    Hi,
    I'm working on a javascript utility that finds out the version of the adobe reader plugin that is installed in firefox and IE.
    The firefox code works fine but I can't detect Adobe version 9.0 for IE using the following code.
         var LATEST_ADOBE_ACROBAT_VERSION = 9;
         //Look for versions >= 7
          for (var i = 7; i <= LATEST_ADOBE_ACROBAT_VERSION; i++){
             pluginFound = detectActiveXControl('AcroPDF.PDF.' + i);
             if (pluginFound) {
                acrobatVersion = 7;
                Document.write("Adobe Version : " + String(acrobatVersion));
                return acrobatVersion;
    The detectActiveXControl('AcroPDF.PDF.9'); function call results in an object does not exist exception at runtime despite the fact that I have adobe reader 9 installed on my machine. So I assume that the name of the object has been changed for Adobe 9.
    Ihave been googling for most of the afternoon to try and find the correct object but no luck so far. If anybody knows the name of the object for adobe reader 9 and wants to let me know it would be greatly appreciated.

    Hello everyone !
    I have a similar problem... I am currently using both, Safari(5.1) and Firefox(10.0), please don't judge me Runnin on OSX Lion 10.7.2
    I recently installed a plug-in for PDF files on Firefox called Schubert|it PDF Browser Plugin (recommended by mozilla.support.org) since I was unable to open PDF files without downloading them, then open them with Preview.
    I was really satisfied, works great, although i had to make some adjustments to get it started !
    Unfortunately, when I switch back to Safari, the plug kicks in. Now, as I remember, Safari has a "built-in" Adobe Reader plug in and it work just fine.
    My Question is: Is it possible to affetct the Schubert it PDF Browser Plugin for Firefox and keep Adobe for Safari ? Otherwise, I would almost prefere to have AdobeReader for both of them, since i have good experience with it.
    Thank you in advance
    YA92

  • New feature for Preview - Where to submit?

    I have a thought for a new feature for Preview that I wonder how many people would say it is worth submitting to Apple, and if so, then where and how do I send it to them?
    The problem I face is that I get a lot of PDF forms off websites (usually financially related) that are not created with proper form fields, so I am forced to print the form off and use my "chicken scribble" handwriting to fill it in, then I usually try to email it back, but sometimes I have to fax or mail it.
    Well, the thought I had was, "Why can't I use Preview to select a font, click on the page with the Text tool and start typing in what I need?"
    Ideally it would be good to be able to save the document with your "overtyping", but I understand that some PDF files are protected, so how about saving just the stuff I have added as to a PDF file that when I open that, it opens the original (blank) form as well?
    Surely I'm not the only one that has to fill in PDF forms. Anyone else think this is a worthy addition to Previews already good capabilities?
    If so, how do I pass this idea onto someone that cares?
    Cheers,
    Mark

    Welcome to the Forums!
    It is a good suggestion. FYI, Acrobat Professional can do this (not the free reader, of course).
    Thanks also for understanding that this is not the place for suggestions to Apple!
    There's no specific feedback page for Preview, so you should submit to the general OS X feedback page.
    Links to other feedback pages (for your future ideas) are here.
    Hope this helps...

  • Writing an Audio plugin for Final Cut Pro

    Hi all
    There doesnt seem to be much info out there about writing plugins for FCP... I've looked at FXBuilder and FXScript, but they only seem to deal with video. I want to write a plugin that will normalize all of the clips on my timeline (I know normalizing is a sin to some audiophiles, but there are situations where I dont have time to take everything into Pro Tools or Soundtrack Pro and just need reasonable levels across an entire project). So my question is, would I need to write a plugin for FCP specifically and if so, is there an SDK or sample code somewhere, or should I write this as an Audio Unit plugin and if so, where do I start? Any help or advice would be appreciated
    cheers

    I'd think that the ADC is where you should start... (Apple Develeopers connection) http://developer.apple.com/ Might find the SDK you need there.
    Also Joe at Joe's filters or Graeme Nattress might be of help. Great guys both...
    http://www.joesfilters.com
    http://www.nattress.com
    Jerry

  • Color Correction plugin for Premiere Pro CS3....

    Hi,
    I'm looking for a plugin for color correction in Premier Pro CS3.
    I checked out the Color Correction tools that ship with Premiere (which are nice) and I checked out Synthetic Aperture's Color Finesse 2 (which is great as well).
    Are there any other recommendations ? ;)
    Thanx for your help in advance !
    Mike

    I've not used it, but Magic Bullet Colorista is one option.

  • What's the best plugin for wide-angle / perspective correction

    Hi guys,
    I do a lot of location photography with a wide angle lens. When shooting upwards it sends the top of the building into the distance. My workflow has been to export to Photoshop for these and use the 'Transform' tools to add a little correction.
    Do any of you use an aperture plugin for this and if so, would you recommend one to me?
    Thanks for your help.
    Richard

    Well, unfortunately Flash was the universal format, and then Steve Jobs decided that he did not like Adobe. As most browsers on Earth were FLV playback enabled and if not, were only a quick, free download away. Now, it seems that Apple's devices will only work with flavors of MOV. One can still download and install Apple's QT Player (though several recent versions did not work well with Adobe programs - Steve Jobs sabotage?).
    Instead of coming together on universal formats/CODEC's, it seems that many wish to fragment the market to support just their products. One is at the mercy of these hardware and software companies. Producers probably should now do several versions of everything, if they wish to cover all bases. Someone will have to download and install something.
    Good luck,
    Hunt

Maybe you are looking for

  • Print spooler crashes whenever I try to print to Deskjet F4280 over the network.

    Greetings, I have a nice and cheap F4280 connected to my computer via USB. My computer is running Windows XP SP3 (downgraded from Vista, had the same problem with Vista as well). I can print fine from my printer, but whenever I try to print from a la

  • Drag and drop JButtons between JPanels

    I'm trying to write an application with some simple drag and drop for JButtons between JPanels. Instead of going through all the hassle with DragSourceListener, DropTargetListener etc, I was thinking about a simple MouseMotionListener which sets a bo

  • Is it possible to call C++ code from a HTML5 panel?

    I have thousands of lines of C++ code that I need to reuse inside my HTML5 panel for Illustrator. Is it possible to call my C++ functions from within my HTML5 panel? Some kind of wrapper maybe?

  • USB hub kills laptop

    I have a Belkin 4-port USB hub that I plug my external harddrive, ipod, and printer into, which I then connect to my powerbook, all via USB. But, whenever I leave the hub plugged into my laptop and then shut my computer's monitor, putting it to sleep

  • I've sent my student ID but Premiere Elements 8 still isnt working

    Hey, Im in Australia and i bought Premiere Elements 8 (the education version). I read through the instructions of how to register which didnt help, then found out that i had to send a copy of my Student ID to use it. So i did that but i dont know if