SendEventToEventTarget fails in Acrobat 8 on Mac

I have a plug-in which I'm porting from Acrobat 7 to 8 on Mac. I'm using PowerPlant to create a modal dialog which has a text control that captures standard editing keyboard shortcuts such as Command-C, Command-V, and Command-X when it's active. In Acrobat 7, it works fine. In Acrobat 8, however, none of these messages are getting through. The Debugger Console window in Xcode shows messages like the following when one of these keys is pressed:
2008-03-27 14:48:07.607 Acrobat[3309:613] SendEventToEventTarget() returned -9874.
Also, the entire application menu, including the Apple Menu, is disabled while my dialog is active. This also happens only under Acrobat 8, and not under Acrobat 7. I think that these two issues may be related: The Command shortcuts in the menu are disabled, so Acrobat can't dispatch the corresponding events. It's a theory, anyway.
Note that other keyboard shortcuts, such as Command-B, do indeed get passed through to my dialog. It seems to be just the ones that Acrobat itself is using that don't get sent. Note also that other third-party GUI APIs such as wxWidgets seem to be able to handle these keyboard commands in a modal dialog just fine, and the application menu is still accessible. The problem seems to be specific to the combination of PowerPlant and Acrobat 8.
Is there anything I can call in the Acrobat 8 API to tell Acrobat to send events to my dialog? Or is there something I need to change in the way that PowerPlant is handling events? What's different in Acrobat itself between 7 and 8 that is affecting my dialog?
Thanks,
Dan
(MacBook Pro, OS X 10.5.2, Xcode 2.5)

Thanks Leonard. I understand the issue with Carbon vs. Cocoa events. I'm not sure it's as simple as that, though. The wxWidgets API is also Carbon-based, but it seems to work fine and handle events under Acrobat 8 in a modal dialog. As far as I can tell, wxWidgets is calling ReceiveNextEvent whereas PowerPlant is calling WaitNextEvent, but they're both Carbon API calls.
In any case, I'm not sure that the solution is to completely recode everything and maintain two radically different code bases to be able to support both Acrobat 7 and 8. My PowerPlant dialog works just fine, except for this issue. The fact that Acrobat is putting that debugging message in the console window suggests that it has some idea about what's happening.
There may well be something relatively simple to change from PowerPlant's end to get Acrobat to work with it properly. Perhaps this is a question for a different forum. I was just hoping to get a little bit of insight into why Acrobat is putting out that message.
Thanks,
Dan

Similar Messages

  • Using Acrobat XI MAC, unable to create Word file from PDF. Tried a simple PDF as well as a complex file. Neither can be created.

    Using Acrobat XI mac. Why can I not create a Word file from a PDF?  Tried some remedies offered online, i.e. convert to PDF X4:2008 then try to convert to the Word file. No go. Advise.

    Hello,
    I have tried 3 PDFs: one with only text -  created in Illustrator(CS5)  and saved as a PDF default, and the second which was a complex form of text and scanned images created in QuarkXpress and saved as a PDF for print purposes. The third file was a simple PDF offered online to solve problem.
    Each attempt was to create a Word file. Each received the same error message: Save as failed to process this document. No file was created.
    Thank you in advance.

  • How to create dialog in Acrobat on Mac?

    Hi,
    Can anyone please guide me how to create dialog in acrobat in mac??
    Is there any sample in acrobat sdk for mac which creates dialog without using any third party library??
    Thanks

    Unfortunately, there is no longer any built-in cross-platform API for showing dialog boxes other than simple alerts in the C/C++ Acrobat SDK.  Some might consider this a deficiency in a plug-in API for a cross-platform GUI application.  Anyway, you can always use the system APIs, such as Cocoa on Mac or the Windows API on Windows.  We mainly use wxWidgets in our plug-in, for both modal dialogs and modeless palettes.

  • Javaws fails to launch in mac 10.7.x with jre 8 build 91 onwards

    Hi,
    Could any one help me letting know why javaws fails to launch in mac 10.7.x with jre 8 build 91 onwards developer preview
    When i double click on javaws which is present in "Library/Internet\ plug-Ins/JavaAppletPlugin.plugin/contents/home/bin"
    it shows
    Illegal instruction: 4
    logout.
    This is not observed in moutain lion 10.8.x

    It turns out that the problem had to do with network accounts, even though it was not clear at first.  Redirecting the program to the local machine's cache with a network home redirector script fixed the issue.  Thanks anyway.

  • Purchased Adobe Acrobat 10 mac version - can I download a pc version?

    Hi there,
    I own Adobe Acrobat 10 mac version, but want to use the software on a Windows 7pc. Can I download a pc version?
    Thanks

    Well, you can download as often as you want. You can install as often as you want. You just won't be able to activate it and use it beyond the 30day trial period without a serial. Buy a separate license for your PC or swap your Mac license.
    Mylenium

  • Help! CC cloud name different to App on computer, new app fails to open on Mac 10.3.3

    Help! CC cloud name different to App on computer, new app fails to open on Mac 10.3.3Keeps saying it is up to date, but won't work

    ok...i'm not sure how at all...but, a couple hours have passed since i posted this and while i was hoping someone would reply i was finishing up some old work on my old, extremely slow emac. anyways, i decided to go ahead and try to install leopard again from the normal standard method. (which is just clicking the icon once the leopard install window comes up). Guess what? now it's 50% into the installation!! i don't want to count my chickens before they hatch...especially after some of the discussions i've read about leopard so far...but, i'm hopeful
    who knows how...i'm clueless and it doesn't make much sense to me. but, i'll come back and let anyone who cares know how the install went.
    note for anyone with similar problems:
    another strange fix to the 'leopard dvd ejecting on install' is to let the dvd chill in the drive for a couple hours...then try it again. HAHAHAHAHA!!!! worked for me

  • Div-X. "the file you are trying to play has failed to finish downloading mac".

    I can't watch video anymore. It keeps saying "the file you are trying to play has failed to finish downloading mac". Any help will be appreciated. My Mac Pro is only one year old. I have download Div-x many times but it still doesn't work. Thank you for your help.

    This means that you have downloadd the file from the internet, and the file did not download completely so the computer can't play it. To fix this, just re-download the file and make sure it finishes.

  • I uninstalled adobe and now the new version won't reinstall says "installation failed" I have a mac

    I uninstalled adobe and now the new version won't reinstall says "installation failed" I have a mac os x 10.5.8. what should I do?

    This Apple article should be able to help ya out -> iOS: FaceTime is 'Unable to verify email because it is in use'

  • Cisco 4402 LAP1131 Interference Profile Failed for Base Radio MAC:

    Dropped connections every day, few times a day.
    WLC Was working perfectly fine for about a year then had some dropped connections.
    Upgraded to the latest firmaware and also default it to the factory and reconfigured it.
    Same problem!
    Cisco 4402
    Software Version 7.0.98.0
    8x Cisco: AIR-LAP1131AG-A-K9 also v/7.0.98.0
    Interference Profile Failed for Base Radio MAC:

    This is a threshold parameter: "Interference Profile failed" along with some others.  All this does is send alerts to the WLC log, to your syslog or to your WCS/NCS or Prime Infrastructure management tool.  You need to adjust these for your environment if you see too many alerts being triggered.  Interference can be a main issue in downtown big citites and you would bump the value up to reduce the number of alerts you see.  Yes interference will cause issues, but this is an alert threshold and will not fix your interference, just tell you that you have interference due to hitting the X value.
    Thanks,
    Scott
    *****Help out other by using the rating system and marking answered questions as "Answered"*****

  • SQL Anywhere 16 fails to install on Mac

    SQL Anywhere 16 fails to install on Mac (Mac OS version 10.7.5). Setup application says "Internal error"

    Hi Vladimir,
    Do you have a machine with 10.8 you could try installing SQL Anywhere on? 10.7 is not a supported or tested platform for version 16.
    Thanks,
    Mikel

  • "Extract" fails in Acrobat adobe X "Bad parameters",

    “Extract” fails in Acrobat adobe X “Bad parameters”,
    I wanted to extract particular pages from a particular pdf file but I got the message below (bad parameter)
    What might be the issue here?
    I tried to extract pages from other pdf file and it works fine.
    Thank you
    Best
    Jamal

    Thank you very much for the help. It works fine after deleting the tags
    Best
    Jamal

  • After the latest update of iTunes 11.1.4 sync.of my iPhone 5 failed to sync.to mac iTunes over WiVi

    After the latest update of iTunes 11.1.4 sync.of my iPhone 5 failed to sync.to mac iTunes over WiVi

    I have had the same issue on 2 computers with 2 different installations.  This appears to be an issue with the update.  Everything was syncing great until the update.  I know this because I had just synced the iphone numerous times and then I did the update.  As soon as the update was complete, the phone would no longer sync over WiFi.  The symptoms are exactly as you describe them.

  • Failed configuring an alternate MAC address

    When booting my SPARC T4-1 with alt-mac-addrs configured on SR-IOV I see:
    Boot device: disk  File and args:
    SunOS Release 5.11 Version 11.2 64-bit
    Copyright (c) 1983, 2014, Oracle and/or its affiliates. All rights reserved.
    WARNING: failed configuring an alternate MAC address for ldoms-igb1.vf5 : err 28, diag 24
    WARNING: failed configuring an alternate MAC address for ldoms-igb1.vf4 : err 28, diag 24
    Solaris 11 is up-to-date:
    Version: 0.5.11 (Oracle Solaris 11.2.5.5.0)
    Logical Domains Manager (v 3.1.1.2.2)
    What's wrong? How to fix?
    Thanks,
    Marcel

    Output above is from the Control Domain. vf4 and vf5 are not assigend to a guest.
    It seems there are troubles if alt-mac-addrs and port-vlan-id is set?
    I first setup the VF then add it to guests.
    /SYS/MB/NET0/IOVNET.PF1.VF4               VF     pci_0
    [pci@400/pci@2/pci@0/pci@6/network@0,89]
        Class properties [NETWORK]
            mac-addr = 00:14:4f:fb:77:05
            alt-mac-addrs = 00:14:4f:fb:53:43, 00:14:4f:f9:1c:56, 00:14:4f:f8:e9:fe, 00:14:4f:f8:ed:ab, 00:14:4f:f9:de:68
            port-vlan-id = 20
            mtu = 1500
    /SYS/MB/NET0/IOVNET.PF1.VF5               VF     pci_0
    [pci@400/pci@2/pci@0/pci@6/network@0,8b]
        Class properties [NETWORK]
            mac-addr = 00:14:4f:fb:09:b9
            alt-mac-addrs = 00:14:4f:fb:59:94, 00:14:4f:f8:c5:51, 00:14:4f:f8:d7:ef, 00:14:4f:f9:e4:f6, 00:14:4f:fa:68:8c
            port-vlan-id = 200
            mtu = 1500

  • Expandable text fields in acrobat for mac?

    I need to design a interactive form (on a mac) that has interactive text fields that are dynamic, expandable and flow. Basically, I have static questions that have to be answered, and depending on the amount of copy that the user puts in, the copy will flow down.
    Im fairly familiar with the workings of interactivity, but i have done some searches for this feature in acrobat pro for mac, and I am not coming up with anything. Is there some coding I could add, or some way of doing this on mac base?
    Does Acrobat X for mac allow this functionality?
    I really need to get this done, and pretty disappointed that such simple functionality is not included in acrobat for mac. Or is it, and Im jut missing it? Is there a runaround way I could do this?
    Thanks!
    FF

    hebbie70 wrote:
    I  just have to ask, why does acrobat not have this functionality that the pc version does?
    I use acrobat professional all of the time-I am a designer. I use it along with all of the other big players, like Photoshop, indesign, etc.
    There is a need for this amongst the mac world.
    Im just sick right now. How do I tell the client this cannot be done AT ALL on a mac, when it would be so easy on a pc, and everything you'd need is already bundled in a nice little package. (acrobat pro and extended for PC)
    Adobe, you just sent us back about 5 years.
    So, any other ideas of how I can get this to work? Another application?
    Well, like other Companies rather than than creating one master code That just needs to change for differences in the look and Feel.
    Because The Mac Market is not as Large as PC, they don't put as many features in the Mac Version.  That's the way its always been. They think we will put up with shortcomings. And and the sad fact is we do. Just to have any Software. Office2011 comes about as close to Parity as any software out there. It now has Outlook and uses the same Macro Engine as the PC version. However, it still has features missing that in the PC version. And some of the Macro commands that work on PC won't work on Mac (ActiveX Controls for one).
    Its just the cards we are dealt. Until the Mac Market becomes equal Parity with The PC Market Then we will have the power to have decent software.

  • Hello i want re-install acrobat 7 mac (CS2 bundle) i download the CS2 without activation and i t work but for acrobat i find only the PC version link.

    hello i want re-install acrobat 7 mac (CS2 bundle) i download the CS2 without activation and it work but for acrobat 7 i find only the PC version link.

    Yes but my customer have an old MacPro on 10.5.
    after hard disk replacement i want re-install CS2 with AC7 but its inposible to use original cs2 disk and serial  because the autenfication server is closed.
    I find a official link to download the CS2 without activation but there is no link for acrobat 7 mac
    Téléchargement des produits CS2 et d’Acrobat 7
    And the new CS2 number and the old 'customer license' not work
    My customer is not ready to change his machine and all software.

Maybe you are looking for