Ignoring eventDuplicate events under certain circumstances

Hi All,
I am developing a Photoshop cs2 plugin for powerpc mac. My plugin does some processing when the user tries to duplicate channel. I handle by capturing 'eventDuplicate' in my plugin.
My problem is 'eventDuplicate' is also trigged when user tries to save a selection from the SELECT->SAVE SELECTION menu. I dont want to handle this trigger of 'eventDuplicate'. Is there a way out to find out that this event is coming from the 'SAVE SELECTION' operation?
TIA,
-Anish

Since posting the previous message I have discovered a bit more. If this is true then I'd appreciate confirmation if possible and I'll still assign the duke dollars to say thanks!
The first time the applet is run, everything is fine - in the init() method of the applet, no I/O actions are taken.
When the applet is refreshed and the previous file selections are filled in, various I/O calls are made (to check the file exists and is accessible). This happens in the init() method...and causes security exceptions even tho the applet is signed and has the required permissions.
If the I/O access are delayed in the applet until after init() has been called, then everything works normally.
So, the question should become:
Does this mean that the security does not take effect until /after/ init() has been executed in MSIE?? Like I said before, Netscape is fine...
Thx again!

Similar Messages

  • Samples Not Acquired on NI 660x or NI 6624 Devices When using pulse width, semi-period or two-edge separation buffered measurements with the NI 660x and NI 6624 on counters 0 and 1, some samples may not be acquired under certain circumstances.

    In the DAQmx 9.4 Readme the following is stated:
    Samples Not Acquired on NI 660x or NI 6624 Devices When using pulse width, semi-period or two-edge separation buffered measurements with the NI 660x and NI 6624 on counters 0 and 1, some samples may not be acquired under certain circumstances.
    Could anyone elaborate on this? I am particularly interested in knowing under what circumstances this problem arises for the 6602 PCI devices.
    How should I understand 'NI 660x and NI 6624 on counters 0 and 1'. Is it only a problem on counter 0 and 1 for the 660x or does this only apply for the 6624 devices.
    /mola 

    Are there any NI Product Support Engineers out there who has an answer to this question and who are willing to share it with me?

  • Can Apple unlock a phone under certain circumstances?

    My friend recently committed suicide and the reasons were unknown, we are hoping to get some answers from her iPhone but it is locked.  Can apple help under these circumstances?

    Thanks for your advice.  The problem is the family attempted to unlock the phone too many times and now the phone is disabled.  Can Apple still try to recover

  • Disable a button under certain circumstances and disable input fields

    Scenario: My user receives a PDF (dymanic XML) where they fill in fields and click a Submit button to send the data to the server. They receive a confirmation copy of the form back. In our older version of Livecycle, the confirmation form was locked down - no fields were editable, the Submit button was disabled. We still need the ability to not input/change any data on the confirmation copy and not be able to click the Submit button. Under ES4, everything started out editable.
    On the confirmation copy, there are messages that I check. When those messages are present I would like to hide the buttons (optimal solution) or at the very least, disable them so the user cannot resubmit the form again.
    I've managed to put Javascript in place to lock down all input fields, I just can't get the script to work to hide the buttons. I'm beginning to wonder if the script to lock down all input fields is causing the scripts to hide the buttons to not work.
    Sample code to disable editing of input fields:
    - had to provide this code at the table level so that when a table flows to a second page, the fields are locked. When I put it at the page level or top level of the hierarchy, it only worked on the one page when I need it to cover fields that have flowed on to a second page. Even at the table level, there are still some tables that remain open until a change is made, then the fields on the second page become locked.
    - when this is entered at the subform level, second page of the subform is modifiable
    rfqHeader.rfqHeader.IssuerInfo::ready:layout - (JavaScript, client)
    if (rfqHeader.rfqMessages.Message.rawValue != null)
    // Get the field containers from each page.
    for (var nPageCount = 0; nPageCount < xfa.host.numPages; nPageCount++)
    var oFields = xfa.layout.pageContent(nPageCount, "field");
    var nNodesLength = oFields.length;
    // Set the field property.
    for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++)
    oFields.item(nNodeCount).access = "readOnly";
    Sample code to make the button hidden:
    rfqHeader.rfqFooter.button.SubmitButton::initialize - (JavaScript, client)
    if (rfqMessages.Message.rawValue != null)
    this.presence = "hidden" ;
    Any help and suggestions would be welcome!
    Thanks, Josie.

    Hi Josie,
    I think, for what you are trying to do, you must be in the doc:ready to be able to do this.
    All because the doc:ready is the last event to be fired when a form is reopen...
    rfqHeader.rfqFooter.button.SubmitButton::docReady - (JavaScript, client)
    if (rfqMessages.Message.rawValue ! = null)
    this.presence = "hidden" ;

  • Does FP10 try to connect to adobe on being unloaded under certain circumstances?

    Hello,
    first time posting here. This is the details:
    My company is provider for e-learning contents and a system to present the content to employess of our customers.
    Our webapplication utilizes PHP,MySQL hosted on an Apache Webserver.
    Some of our content includes 3rd-party flash movies which are made by a designer for us.
    Now recently we have a new customer who is running a nuclear power plant. Safety restrictions given, none of the client computers has a connection to the internet but they are all connected via a network inhouse.
    All went fine since some days ago where our customer approached us with a problem:
    On freshly installed XP SP3 clients with an updated IE to Version 8 and the FP10 IE freezes for about 30-60secs when a content page (pure HTML) with a flash movie on it is left for the next content page.
    Older XP SP3 clients with a recently updated IE to Version 8 and FP10 run smoothly though.
    After checking the traffic on our server I found out that the browser is sending nothing to the server until the "freeze" is over.
    Observing the traffic on the client with wireshark I can see that something tries to contact an URL under adobe.com.
    Whenever I remove the flash from the content the next content page is loaded immediately like it should.
    I have tried to rebuild a scenario in our office to find the issue but I can not get FP10 to send or try to retrieve anything out of the internet. I tried changing firewalling, pushing servers into a DMZ and out of it. Changed my clients "location" in the network, tried proxies etc., but no - it always works fine for me.
    I have not enough experience with Adobe Flash to know those details but my guess is that the problem is not the FP10 but a security setting in the browser and/or XP itself. But for now I can only remove the problem with removing the flash and that's not the way I can go.
    So is there a way to "enforce" FP10 to try to retrieve information from another location (e.g. adobe.com) and make the whole thing "freeze" with that?
    Regards and thx in advance
    Volker

    I have the same problem as you when using flash in my intranet.
    I have try everything as you.
    My temporary solution is use debug version Flash Player.

  • The back button is not available under certain circumstances when I use e-mail (looking at links from message) or in Facebook when I look at a link to a friend's status.

    I get an e-mail message such as a newsletter that has several links. I look at one of the links and cannot use the back arrow to go back to the main e-mail. Another instance: I am on Facebook and I see a friend's status message that has a link. I look at the link, and I cannot use the back arrow to take me back to the Facebook main page. In both instances, I have to X out (close). I get a message that says "quit and save" or "quit." In either case it takes me out of Mozilla. I have just installed it and don't know if I am doing something wrong. What is happening? I don't want to have to close the program each time and start over again.

    Run the HP Support Asssitant's Tune up application. There should be a new BIOS available. sp66866
    Have you installed the latest Windows 8.1 updates?
    Do not install optional video graphics updates.
    I was runnning into a similar problem with my HP product loan Envy Spectre 13 TouchSmart Ultrabook until I did the updates. I had upgraded my wireless router to a model with 802.11AC specification.
    Invoke the Device Manager and ensure that the box next to Allow this computer to turn off this device to save power is unchecked.
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Firefox crashes, even in safe mode, under certain circumstances.

    I'm using up-to-date Ubuntu Linux, other details below.
    Firefox crashes, in or out of safe mode, when I do any of the following:
    * right click (crashes on-click);
    * view flash media (crashes once plugin container opens);
    * try to use any of the file/edit etc menus (crashes when i click somewhere in this area);
    * open about:tabs or about:config (crashes when i hit enter after typing into url bar);
    * when i try to edit anything in about:config (crashes when i right-click);
    * open any bookmark from my bookmarks toolbar (on-click).
    In case it's related, thunderbird crashes soon after startup, i.e. once the GUI has opened and it starts checking my IMAP folders for mail.
    It appears that for most purposes firefox will work indefinitely unless I do something I've mentioned above.
    The extensions I run include X-marks and downthemall, but there may be more - I don't appear to be able to check without crashing the program.

    Unfortunately the linked crash report is empty (@ EMPTY: no crashing thread identified; corrupt dump) and doesn't include any data, so it is not possible to find the cause of the crash.
    See:
    *http://kb.mozillazine.org/Firefox_crashes
    *https://support.mozilla.org/kb/Firefox+crashes
    Did you recently submitted other crash reports that do show a crashing thread?
    If you have submitted crash reports then please post the IDs of one or more crash reports (bp-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).<br />
    You can find the IDs of the submitted crash reports on the <i>about:crashes</i> page.<br />
    You can open the <b>about:crashes</b> page via the location bar, like you open a website.<br />
    See:
    *http://kb.mozillazine.org/Mozilla_Crash_Reporter
    *https://support.mozilla.org/kb/Mozilla+Crash+Reporter

  • Pinned tabs disappear under certain circumstances, without removing them yourself.

    This is how to get the problem:
    1) Open Firefox
    2) Create multiple tabs
    3) Pin some, leaving at least two unpinned
    4) Move one tab out of the window, creating its own window
    5) Close the original window first, then the one you just created
    6) Open Firefox again
    If you follow the steps correctly you'll notice that the pinned tabs are no longer there.
    I find it very frustrating, and this has happened to me way too many times. The tabs should remain there until you actually remove them yourself.
    Proposed solutions?:
    -When you move a tab out of the current window to put it in its own window, it will also copy the pinned tabs over to the new window.
    -Have a spot for the pinned tabs in settings, so no matter what you do, they will come back when you reopen Firefox, and will not go away until you actually unpin them yourself.

    Pinned tabs are tied to a specific window and each window can have its own set of pinned tabs.
    If you tear off a tab to another window then that is a new window that doesn't inherit pinned tabs, so you would have to recreate them.
    If you close a window then you would have to restore that closed window.
    Use "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: Firefox > Quit Firefox; Linux: Firefox/File > Quit) to close Firefox and close all open windows at once to avoid losing the window with the pinned tabs.

  • My moto x doesn't receive pictures from iPhone under certain circumstances (not an end of iPhone use issue)

    Since I've had the motox, almost 4 months, I have been unable to receive MMS messaged from any iphone users when they send a text and a picture together.
    Messages from the 4s and 5 don't come in (not tested with other versions)
    I can view the picture if I download the attachment but can't view as a slideshow or if I forward it to myself.
    I've tried clearing the cache, restarting, and deleting the contact on both ends. I do not want to use hangouts
    Sorry if if this is a repeat. I couldn't figure out how to post in the existing thread.

    This is not that issue. I receive texts from iPhone users all the the time. This issue is with messages when pictures are coupled with text in the same message.  Like this:
    http://www.reddit.com/r/MotoX/comments/1ydhxi/problem_receiving_picture_message_mms_with_the/
    And
    https://community.verizonwireless.com/mobile/mobile-access.jspa#jive-content?content=%2Fapi%2Fcore%2Fv3%2Fcontents%2F1747938
    I'm not alone with this.

  • Scripts in /etc/profile.d seem not to work under certain circumstances

    While already logged in, if I open up a terminal and run a script in /etc/profile.d/ to set environment variables, the changes don't seem to take. I can think of two examples:
    1) Turning on KDE4 desktop integration in openoffice. I edited /etc/profile.d/openoffice.sh and changed OOO_FORCE_DESKTOP=KDE4, but when I ran the script I got an "export: command not found" error.
    2) When replacing Sun Java with OpenJDK in order to compile and use 389-console from the AUR, I got caught up on one of the dependencies, ldapjdk (also from the AUR). The PKGBUILD for this package contains the following block of code:
    which ant
    if [ $? -eq 1 ]; then
    . /etc/profile.d/apache-ant.sh
    fi
    ant dist
    In theory this should work, as /etc/profile.d/apache-ant.sh contains the following two lines:
    export ANT_HOME=/usr/share/java/apache-ant
    export PATH=$PATH:$ANT_HOME/bin
    However, upon running makepkg I got an error about "ant" not being in my path. To get around this I just edited the PKGBUILD and put the full path to ant, but this shouldn't have been necessary. The original PKGBUILD should have worked. I seem to have something out of whack and I don't quite know what. If anyone could be of assistance, it would be much appreciated.

    I'm well aware of this. I never said that I started openoffice from the plasma menu. I never even started it. /etc/profile.d/openoffice.sh errored out without setting the environment variable in the current shell session. If it had worked, I would have been able to run openoffice from the terminal to test the new environment variable, which is what I was intending to do in the first place. There's no need to logout to test these sort of changes, they can be done from the terminal.
    Your solution also doesn't address the problem I had in example #2, either. makepkg should be able to set environment variables in the current shell session, using the /etc/profile.d script detailed in the example. Running makepkg has nothing to do with my graphical session.
    I know that logging out and back in will "fix" the problem, but that's not the point. The point is that a script which should be able to set an environment variable is not working properly.
    Last edited by archtaku (2010-08-21 00:58:53)

  • Hi, I am getting a warning message on screen, saying that my iPad hasn't been backed up for 2 weeks, and saying under what circumstances the message appears. My problem is, is that I have backed up iCloud, but am unable to remove the warning.

    Hi,
    I am getting a warning message on screen, saying that myiPad hasn't been backed up to iCloud for two weeks, and advising under what circumstances the message appears. My problem is, is that I have backed it up, but am unable to remove the message, and whilst the message is there, the iPad is frozen, and I cannot do anything.
    Has any other user had such a problem, and if so, how did they rectify it.
    Any advice would be greatly appreciated.
    Thanks in advance.
    clarinet99

    Try this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up

  • Skip product allocation under certain conditions

    Hi everyone. We are trying to use EXIT_SAPLQUOT_001 which is supposed to be running prior to product allocation, so we can set up parameter E_AFLAG so that this functionality is skipped under certain conditions.
    Exit documentation says:
    User Exit: SD Product Allocation, Enhanced Checks
    Functionality
    The user exit is called up before reviewing the confirmed quantities against discrete allocations (from 3.0F).
    Before this happens, the availibilty check is carried out if this is switched on in Customizing (ATP or against pre-planning). The results of this are transferred to product allocation.
    You can carry out the following tasks with this function module:
    1. You can switch off or miss out product allocation (E_AFLAG). This can be general or depending on characteristic values. Other values to help make this decision can be imported from the order coding memory.
    However, the exit doesn't seem to be triggered during sales order processing. It takes us straight into the product allocation screen, ignoring the breakpoint and the skipping instruction.
    Any ideas? Anybody is using this exit for this purpose? We run product allocation without running ATP. Could this be the problem?
    Thanks!

    sounds like this the problem.
    as I understand,
    if running ATP, EXIT_SAPLQUOT_001 is hit, based on your logic, prod alloc is skipped.
    elseif ATP is turned off, EXIT_SAPLQUOT_001 is skipped, by default prd alloc is executed.
    try setup break points on prod. alloc to see if you could have alternative flag to control...
    go to debug mode and check call stacks to find another place to set break point.

  • HT201415 After a months of stable work my new IPad suddenly denies to find cell network under any circumstances.Please advice if anyone familiar with that problem?

    After a months of stable work my new IPad suddenly denies to find cell network under any circumstances.Please advice if anyone familiar with that problem?

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • Displaying negative numbers under certain conditions

    I have a Crystal Report which I am developing and need to display positive numbers as negative, but only under certain conditions.  I did not see anything on this type of questions so I decided to join and post it up myself.  This is a transfer report so if the location number entered in the parameter list is the SHIPPING location, I need to display retail, cost, and totals as negative.  Here is the formula which I came up with for ext cost, but it is returning all zeros.  I cannot seperate the to and from locations in the parameters because this report needs to display both in and out of that location.
    if totext({?loc}) = totext({Command.SHIP_FROM}) then ({Command.EXT_COST}*-1)
    Any suggestions?  Appreciate the help!

    Hi Jon,
    If it returns zeroes, then it means that this part of the code fails:
    totext({?loc}) = totext({Command.SHIP_FROM})
    Do you have records where the value entered in the 'loc' prompt matches with records in the SHIP_FROM column on the report?
    See if this helps:
    if totext({?loc},0,"") = totext({Command.SHIP_FROM},0,"") then ({Command.EXT_COST}*-1)
    -Abhilash

  • HT201328 My carrier refuses to unlock my Iphone under any circumstances.  Can Apple help me?

    I purchased my Iphone 4 outright, without a contract from the Japanese Carrier Softbank.  That means I paid the entire price upfront.  They refuse to unlock the Iphone under any circumstances, despite the fact I am no longer in Japan.
    Can Apple help me?  I've checked out some unlocking services online, but the price seems a bit too high.
    Thanks,
    J.

    No, Apple cannot help. Only the network to which the phone is locked can unlock it (if they choose to).
    Nobody else can legitimately unlock it. Other services that claim to offer unlocks are hacks, void the warranty and prevent you from updating the phone OS in the future.

Maybe you are looking for

  • Mac OS 10.6.6 & Freehand MX

    Anyone out there that can help me? I have MX installed but cannot upgrade to 11.0.1 or 11.0.2 on my Intell based Imac. I spent at least 12 hours on the phone with Adobe and their final evaluation was to forget Freehand and spend $200 for Illustrator.

  • CD burn problem "unknown error 4450"

    Hello everyone, I've been surching quite everywhere about the "unknown error 4450" but nothing found. Does someone know how to resulf this problem??? Please help, because I'd like to burn my downloaded songs.. Thanks!!

  • Function issue-Data is getting highly duplicated PLSQL

    Hi Edited by: user_7000011 on Apr 8, 2009 12:00 PM

  • Correlation for asynchronous system via websphere MQ from a BPEL client

    I could able to find samples for correlation in BPEL while invoking asynchronous webservices. Query 1. Are there any samples for Correlation while invoking asynchronous system via websphere MQ from a BPEL client? Eventhough I could see some BPEL samp

  • Error #1014 when loading SWF in FlashPlayer 11.1 in Chrome

    Hi All Sorry if this is a basic question but I am struggling to understand the various answers I see posted on the web. I have developed a game using AS3 and AIR 3.7. Game runs fine in FlashDevelop but when I try and run the game in a browser using t