How to disable filter

Hi there,
I'm currently writing my first filter plugin for Photoshop (win 32 CS5 SDK) and I'm facing a problem to disable (unreachable and greyed in menu) my plugin on undesired image modes. My intention is to only enable my filter when document is in RGB mode (whatever the depth) when all 3 channels are selected.
I followed SDK instructions, but never achieved my goal. The filter is always enabled, whatever the document mode. Can someone tell me what I'm doing wrong here ? Is there something else to do than just setting .r PIPL file content ?
Here are excerpts from filter's .r PIPL file.
SupportedModes
  noBitmap,
  noGrayScale,
  noIndexedColor,
  doesSupportRGBColor,
  noCMYKColor,
  noHSLColor,
  noHSBColor,
  noMultichannel,
  noDuotone,
  noLABColor
EnableInfo { "in(PSHOP_ImageMode, RGBMode, RGB48Mode, RGB96Mode) &&"
             "PSHOP_NumTrueChannels == 3" },
I'm stuck, and some help will be very appreciated ! Thanks

Mea culpa, this code is working like a charm. Transition between two compilation scripting systems and a missing cleaning rule were guilty.

Similar Messages

  • How to disable Deinterlace?

    I have some film based material captured from videotape.
    So it is originally progressive even it is in interlaced mode in the tape.
    I have to do resizing to it (because qt7 does not support non-square pixels in mp4's), so I'm going to use "Frame Controls".
    I'd like to use Resize filter at Best, but how can disable the deinterlacing, without losing any resolution?
    If I set Deinterlace to Fast, it will still do Line averaging, which will decrease picture quality of originally progressive footage.
    If I set it to Best it will take 30sec to compress one frame...
    Help, pretty please?

    I think "legal" DVDs can only have one of three types of audio, either uncompressed PCM, Dolby/AC3 (and I guess DTS), and MPEG1 layer 2. MPEG1 layer 2 is supposed to be popular with PAL material and Apple's support for that format is somewhat limited, so could that be the audio format you have?
    If that's the case I'd just demux your original MPEG2 file to a .m2v and either PCM/AIFF or .m1a/.mp2 (the latter being typical files extensions for MPEG1 layer 2 audio). I don't know if MPEG Streamclip will output from MPEG1 layer 2 to PCM/AIFF but if it doesn't there are utilities that will. Also, you might try a different demux utility if you think Streamclip is failing to maintain the progressive setting in your video. Try the freeware bbDEMUX utility or the $10 shareware program MPEG2 Works. bbDEMUX is getting a little old, but it still works for me. However, its drag and drop interlace doesn't function, thus use file -> open. In addition to demux, MPEG2 Works also does conversion from MPEG1 layer 2 audio to 48KHz WAV and a number of other tasks including both MPEG1 and MPEG2 compression.
    After that, I'd just use Compressor to output directly from the resultant .m2v and PCM/AIFF files. I wouldn't worry (at first) about the 720x540 versus 720x576 issue since Apple's software often seems to report dimension for MPEG2 that are auto-magically adjusted for pixel format. The end result may be fine.
    As for the Frame Controls and deinterlacing, it may be as you suggest (same as source/native field dominance progressive). Why don't you just give it a try and see if it deinterlaces the video or not (that is, if you can't see any difference in the before and after then why worry about it).

  • How to disable spam/virus ?

    We are running 10.4.11, disabled all options in Filters tab and mail gets stuck in the queue. I checked main.cf and it looks fine. How to disable spam/virus permanently and let mail thru ?
    Before disabling filter, postconf -n :
    alias_maps = hash:/etc/aliases
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    enableserveroptions = yes
    html_directory = no
    inet_interfaces = all
    mail_owner = postfix
    mailboxsizelimit = 0
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    mapsrbldomains =
    messagesizelimit = 10485760
    mydestination = $myhostname,localhost.$mydomain,localhost,mydomainslist
    mydomain = domain.net
    mydomain_fallback = localhost
    myhostname = domain.net
    mynetworks = 127.0.0.1/32
    mynetworks_style = host
    newaliases_path = /usr/bin/newaliases
    ownerrequestspecial = no
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    recipient_delimiter = +
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    smtpdpw_server_securityoptions = plain,login,cram-md5
    smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
    smtpdsasl_authenable = yes
    smtpdtls_keyfile =
    smtpduse_pwserver = yes
    unknownlocal_recipient_rejectcode = 550
    virtualaliasmaps = hash:/etc/postfix/virtual
    virtualmailboxdomains = hash:/etc/postfix/virtual_domains
    virtual_transport = lmtp:unix:/var/imap/socket/lmtp

    I just want to add that i followed pterobyte's instructions from http://discussions.apple.com/thread.jspa?threadID=2402121&tstart=0 and updated ClamAV. It seemed to work fine for a day and all of a sudden mails were getting queued.

  • How to disable other users from changing the status

    Hi,
    The status entry field can be changed irrespective of ownership in Documents.
    I was able to change the status on the document created by other user.
    Example: The status of document was In-Work. The document owner was X. But I was able to change it to Inspection Check.
    How to disable other users from changing the status?
    Regards,
    Shashi

    This is a frequently discussed topic.Please use the search feature.It has been discussed in [previous posts|CV01N: Filter documents by role; in various contexts.
    Regards,
    Pradeepkumar Haragoldavar

  • How to disable MERJE JOIN CARTESIAN in Oracle9i?

    Hello,
    I have an execution plan using CBO optimizer in a SQL joins with multiple operations. The tables are properly related to each other, so it s not justified by the Cartesian product joins Union problems. Tables have updated statistics. I tried to use hints to force a hash join for but can not. I suspect that the Cartesian product is performed by applying the rules of transitivity level optimizer.
    Any know how to disable this transformation for the use sql Hash Joins?
    The BD version is 9.2.0.8
    The execution plan is:
    Execution Plan
    0 SELECT STATEMENT Optimizer=CHOOSE (Cost=167668961512454000 Card=2739657621013990 Bytes=1213668326109200000)
    1 0 FILTER
    2 1 SORT (GROUP BY) (Cost=167668961512454000 Card=2739657621013990 Bytes=1213668326109200000)
    3 2 MERGE JOIN (Cost=167668961332844000 Card=441199942603335000000 Bytes=195451574573277000000000)
    4 3 SORT (JOIN) (Cost=167668961332839000 Card=142777672565453000000 Bytes=48544408672254100000000)
    5 4 MERGE JOIN (CARTESIAN) (Cost=167668954679307000 Card=142777672565453000000 Bytes=48544408672254100000000)
    6 5 MERGE JOIN (Cost=1864734714877 Card=1524246272223560 Bytes=399352523322573000)
    7 6 SORT (JOIN) (Cost=1864734713198 Card=664093883338651 Bytes=155397968701244000)
    8 7 MERGE JOIN (CARTESIAN) (Cost=1860854406653 Card=664093883338651 Bytes=155397968701244000)
    9 8 MERGE JOIN (CARTESIAN) (Cost=21152201 Card=14425063988 Bytes=1932958574392)
    10 9 TABLE ACCESS (FULL) OF 'DPOLCOBE' (Cost=1022 Card=111911 Bytes=6043194)
    11 9 BUFFER (SORT) (Cost=21151179 Card=128898 Bytes=10311840)
    12 11 TABLE ACCESS (FULL) OF 'DPOLPER' (Cost=189 Card=128898 Bytes=10311840)
    13 8 BUFFER (SORT) (Cost=1860854406464 Card=46038 Bytes=4603800)
    14 13 TABLE ACCESS (FULL) OF 'DPOLIZAS' (Cost=129 Card=46038 Bytes=4603800)
    15 6 SORT (JOIN) (Cost=1679 Card=208909 Bytes=5849452)
    16 15 TABLE ACCESS (FULL) OF 'DPOLSCON' (Cost=577 Card=208909 Bytes=5849452)
    17 5 BUFFER (SORT) (Cost=167668954679306000 Card=93671 Bytes=7306338)
    18 17 TABLE ACCESS (FULL) OF 'DPERSONA' (Cost=110 Card=93671 Bytes=7306338)
    19 3 SORT (JOIN) (Cost=5560 Card=290500 Bytes=29921500)
    20 19 TABLE ACCESS (FULL) OF 'DPOLPECO' (Cost=924 Card=290500 Bytes=29921500)
    Many Thanks
    Arturo

    Hello,
    The sql is:
    select  *
    from  ntjdatsba.dpolper peri,
      (SELECT id_dpolizas_fk, MAX(b.dpolcobe_scon) dpolcobe_scon , MAX(b.dpolpeco_scon) dpolpeco_scon, MAX(b.dpolper_scon) dpolper_scon
               FROM ntjdatsba.dpolscon b
                WHERE
                fechemis <= TRUNC(SYSDATE)
          GROUP BY id_dpolizas_fk
          ) scon,
      ntjdatsba.dpolizas pol,
      ntjdatsba.dpersona pers,
      ntjdatsba.dpolpeco peco,
      ntjdatsba.dpolcobe cobe
      WHERE  pol.id_dpolizas = scon.id_dpolizas_fk
         AND pol.estado = 'V'
         AND cobe.id_dpolscon_fk = scon.dpolcobe_scon
        AND cobe.garancod = 'AC01'
        AND peco.id_dpolscon_fk = scon.dpolpeco_scon
        AND peco.relacion IN ('CHAB', 'COCA')
         AND peco.id_dpersona_fk = pers.id_dpersona
         AND peri.id_dpolscon_fk = scon.dpolper_scon
         AND peri.poliefec <= TRUNC (SYSDATE); And the execution plan (I hope know is better formated).
    Execution Plan
       0      SELECT STATEMENT Optimizer=CHOOSE (Cost=167668961512454000 Card=2739657621013990 Bytes=1213668326109200000)
       1    0   FILTER
       2    1     SORT (GROUP BY) (Cost=167668961512454000 Card=2739657621013990 Bytes=1213668326109200000)
       3    2       MERGE JOIN (Cost=167668961332844000 Card=441199942603335000000 Bytes=195451574573277000000000)
       4    3         SORT (JOIN) (Cost=167668961332839000 Card=142777672565453000000 Bytes=48544408672254100000000)
       5    4           MERGE JOIN (CARTESIAN) (Cost=167668954679307000 Card=142777672565453000000 Bytes=48544408672254100000000)
       6    5             MERGE JOIN (Cost=1864734714877 Card=1524246272223560 Bytes=399352523322573000)
       7    6               SORT (JOIN) (Cost=1864734713198 Card=664093883338651 Bytes=155397968701244000)
       8    7                 MERGE JOIN (CARTESIAN) (Cost=1860854406653 Card=664093883338651 Bytes=155397968701244000)
       9    8                   MERGE JOIN (CARTESIAN) (Cost=21152201 Card=14425063988 Bytes=1932958574392)
      10    9                     TABLE ACCESS (FULL) OF 'DPOLCOBE' (Cost=1022 Card=111911 Bytes=6043194)
      11    9                     BUFFER (SORT) (Cost=21151179 Card=128898 Bytes=10311840)
      12   11                       TABLE ACCESS (FULL) OF 'DPOLPER' (Cost=189 Card=128898 Bytes=10311840)
      13    8                   BUFFER (SORT) (Cost=1860854406464 Card=46038 Bytes=4603800)
      14   13                     TABLE ACCESS (FULL) OF 'DPOLIZAS' (Cost=129 Card=46038 Bytes=4603800)
      15    6               SORT (JOIN) (Cost=1679 Card=208909 Bytes=5849452)
      16   15                 TABLE ACCESS (FULL) OF 'DPOLSCON' (Cost=577 Card=208909 Bytes=5849452)
      17    5             BUFFER (SORT) (Cost=167668954679306000 Card=93671 Bytes=7306338)
      18   17               TABLE ACCESS (FULL) OF 'DPERSONA' (Cost=110 Card=93671 Bytes=7306338)
      19    3         SORT (JOIN) (Cost=5560 Card=290500 Bytes=29921500)
      20   19           TABLE ACCESS (FULL) OF 'DPOLPECO' (Cost=924 Card=290500 Bytes=299215Thanks
    Arturo

  • How can I filter a Sharepoint 2007 libarry list based on current user login?

    Hi all.
    I would like to know how I can filter a SharePoint library list based on current user login.
    Suppose I have created the followings:
    1) A SharePoint form library containing bunch of uploaded InfoPath form data.
    2) The InfoPath form template contains a promoted text field called "TargetUser" to store user domain login (ex: DOMAIN\JOE) and every InfoPath form file in the library has a valid domain name stored in the "TargetUser" field.
    I have created a custom view for the form library and would like to filter this view so only items whose "TargetUser" field matches current user's login ID are displayed.
    I went to Edit View page to customize the view and tried to use the [Me] function but I got a "Filter value is not a valid text string" message instead when clicking OK. Apparently [Me] returns a Person/Group data type and the filter cannot compare its value
    to that of "TargetUser".
    I tried using text functions (ex: TEXT([Me],"") hoping to extract default string value from [Me]. The filter accepts the parameter without any error but the resulting fitlered list does not display any items at all.
    I have googled this subject for hours but I have not found any solution.
    It would be greatly appreciated if anyone can help me to create a functional filtered list.
    FYI, my SharePoint 2007 installation is just WSS 3.0 + Form Server. I do not have MOSS 2007 (so no MOSS 2007 web parts or web services).
    Thank you.
    Jason

    Here's what I usually do in order to accomplish this.  Ultimately you'll need to have 2 different fields.  There's the one you already have, with DOMAIN\username stored in it.  Then you'll need an additional field as a "person" column type. 
    Call it "TargetPerson" or something.
    Create a sharepoint designer workflow that runs each time an item is created or changed.  One action:
    Set FIELD to VALUE.
    The first FIELD is "TargetPerson", the VALUE is your "TargetUser" field. 
    Once this is done, then the person value is stored in the person field.  This is the field that you can filter by "TargetPerson" is equal to [Me]
    Laura Rogers, MCSE, MCTS
    SharePoint911: SharePoint Consulting
    Blog: http://www.sharepoint911.com/blogs/laura
    Twitter: WonderLaura

  • How to disable parent window while popup window is coming

    Hi,
    I am working on Oracle Applications 11i.
    I am able to get the popup window using the Java script in the controller.
    Please see the below code for the reference.
    String pubOrderId = pageContext.getParameter("orderId");
    StringBuffer l_buffer = new StringBuffer();
    StringBuffer l_buffer1 = new StringBuffer();
    l_buffer.append("javascript:mywin = openWindow(top, '");
    l_buffer1.append("/jct/oracle/apps/xxpwc/entry/webui/AddAttachmentPG");
    l_buffer1.append("&retainAM=Y");
    l_buffer1.append("&pubOrderId="+pubOrderId);
    String url = "/OA_HTML/OA.jsp?page="+l_buffer1.toString();
    OAUrl popupUrl = new OAUrl(url, OAWebBeanConstants.ADD_BREAD_CRUMB_SAVE );
    String strUrl = popupUrl.createURL(pageContext);
    l_buffer.append(strUrl.toString());
    l_buffer.append("', 'lovWindow', {width:750, height:550},false,'dialog',null);");
    pageContext.putJavaScriptFunction("SomeName",l_buffer.toString());
    But here the problem is, even though popup window is there, i am able to do the actions on the parent page.
    So how to disable the parent page, while getting the popup window.
    Thanks in advance.
    Thanks
    Naga

    Hi,
    You can use javaScript for disabling parent window as well.
    Refer below link for the same:
    http://www.codeproject.com/Questions/393481/Parent-window-not-disabling-when-pop-up-appears-vi
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to Disable "Auto Align" in [System Pref.] - [Display] - [Arrangement]

    Does anyone know How to Disable "Auto Align" in [System Preferences] -> [Display] -> [Arrangement]?
    It always want to align the two screens from the top when they are lined up close together and I need them to be aligned from the bottom. Since the resolution heights are so close together (1080 & 1050) it does not allow one to align side by side from the bottom as it prioritizes top alignment.
    I guess I'm looking for a script to disable this feature.

    Anyone got any ideas?

  • How to disable the "turn page" event triggered by the scroll/swipe function?

    The problem is as follows.
    The default behaviour of Acrobat Reader (both stand alone and browser plug-in) is to allow scrolling/swiping with the mouse wheel/trackpad. This is useful when the pdf's page length is greater than the screen's own length, because you can read the pdf with no need to distract your attention from the text to the scrollbar button. However, the same scroll/swipe function turns into a usability problem when the pdf is embedded in a html page and the pdf's page length is smaller than the browser's length. In this case, the scroll/swipe turns the page, distracting your attention from the text to the unintended behaviour of the browser. What happens is that you are so used to scrolling/swiping that you did it unintentionally in the pdf's caption area. You really did not want to turn pages in the pdf. Furthermore, if the pdf takes the whole html page, being a website, the scroll/swipe function flips the website pages in ways that neither the reader nor the writer had ever intended. Hence the question. How to disable, in this case, the "turn page" event triggered by the scroll/swipe function? A JavaScript should do, but the SDK documents did not help so far...
    Message was edited by: 41457173
    Message was edited by: 41457173

    ... or release a patch for the API,
    ... or suggest an alternative route to achieve the intended result.

  • [Forum FAQ] How to disable Microsoft account default sign-in behavior when accessing Microsoft website on Windows 8.1

    Scenario
    By default it will sign in with current Microsoft account, if a user accesses Microsoft website (www.live.com, www.bing.com, etc.) with Microsoft account on Windows 8.1. This article describes how to disable this default sigh-in behavior if you want to use
    different Microsoft accounts every time. 
    Method
    To disable this default sign-in behavior, we can deny current Microsoft Account read permission of MicrosoftAccountTokenProvider.dll, please follow the following steps:
    Run Command Prompt with elevated permissions.
    Run the following command to take ownership of MicrosoftAccountTokenProvider.dll:
      takeown /f C:\Windows\SysWOW64\MicrosoftAccountTokenProvider.dll
    Run the following command to deny the read permission of the Microsoft:                                
     icacls C:\Windows\SysWOW64\MicrosoftAccountTokenProvider.dll /deny
    [email protected]:r                                                                                                                
    Note: Please replace your current Microsoft Account with the example
    [email protected]
    Change the owner of this file back to TrustedInstaller:
    Right-click MicrosoftAccountTokenProvider.dll under
    C:\Windows\SysWOW64\, choose Properties. Under
    Security tab, click Advanced.
    Click Change, in the box Enter the object name to select, type
    NT Service\TrustedInstaller.
    Click OK.
    Note: This operation would take some hours to work.
    Apply to:
    Windows 8.1
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Error: System cannot find the specified path
    I am getting this eroor
    Parashuram Singade www.distinctnotion.com

  • How to disable airplay mirroring on iPad with ios7

    How to disable airplay mirroring on iPad with ios7?

    I've had this problem ever since I was at my friend's house- she has Apple TV- and my iPad connected automatically. So, I have no idea why any of the practical solutions that people think of are not options BUT, in terms of just getting it done, I did figure out a way. The key for me was getting near another Apple TV. I was out of town so I took my iPad to another friend's house who also has TV. Once I was logged onto their wireless network (the same network that their Apple TV is on-- that's how it connected in the first place), then the Airplay icon and options showed up from the bottom-draw menu and I was able to make sure that mirroring was turned off from the Apple TV section and to make sure the selection was on iPad instead. Problem solved. Now whether or not this will stay the same (rather than me having to make sure it stays at this setting everytime I link up to a network that has an Apple TV on it) I don't know. So my advice is find someone with Apple TV and connect to their network with your iPad and then change it.

  • I have changed the apple ID (email, but on my iphone , the icloud is stil asking me to log in whit the old email.And it is poping-up on every 10 seconds.I never used icloud, and i dont want to use it.I just dont know how to disable the icloud.

    i have changed the apple ID (email) but on my iphone , the icloud is stil asking me to log in whit the old email.And it is poping-up on every 10 seconds.I never used icloud, and i dont want to use it.I just dont know how to disable the icloud.

    If you see that pop up you enabled icloud. Whether you want or do not want now to use it irrelevant until you actually disable activation lock.
    In order to do that you have to change your apple id back to do that just long enough to sign in and back out. System will ask you to verify, don't.
    Just sign in on the prompt you getting and then logout. Once done, change apple id to what you have now and verify. Then decide if you want to
    use icloud (who does not want to be able to track their phone if lost or stolen).

  • Can't use down key because it opens automator. Does any one know how to disable this short cut?

    Everytime I press down on down key it opens automator. It doesn't let me delete the app. I don't know what to do, it is very frustating to fill in a chart when I can't use the down key. Does any one know how to disable this short cut?

    Are you talking about the Down Arrow key? To my knowledge there is no way to use that key as a shortcut for anything. But look in the Keyboard section of System Preferences and the Keyboard shortcut tab.

  • I need to know how to disable my apps on my old system so that I can install them on new computer.

    I've just purchased a new iMac and need to know how to disable my apps on my old system so that I can install them on the new one.

    You are allowed to have two working installations so you do not have to disable the original if you prefer to have a backup.  Otherwise, to disable you can just sign out thru the CC manager.
    Creative Cloud Help / Sign out, Sign in | Creative Cloud desktop app
    http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

  • Does anyone know how the cutout filter works and is there a way of achieving the same effect without using filters to get more control over final look?

    does anyone know how the cutout filter works and is there a way of achieving the same effect without using filters to get more control over final look?

    Several ways to get similar results.  Image > Adjustments > Posturize with low values similar to what you'd use n Cutout.  This is the most flexible way I can think of as you keep the image in RGB mode with layers intact.  A more radical approach would be to reduce bit depth using Indexed Colour.  You'll need to experiment with settings, try changing Forced to Primaries, and Matte to Foreground Color.  There's no going back from this route, although you can change the mode back to RGB to re-enable layers, adjustment layers etc.
    A nice thing about the Filter gallery filters is that you can change the layer to a Smart object with all the control that gives you.
    Now if only this forum could filter out bizarre content.

Maybe you are looking for

  • Problems with a report

    Hi I have a problem with a SQL report. I made a report using one of new theme and works fine. When I try to use a theme 16 it didn´t work. The SQL statement is "select line, text from all_source where owner='XXX' and type='PACKAGE' order by type, lin

  • Mistyped e-mail address from day 1. Can't change it.

    From Day 1 I had problem using the tiny keyboard and by mistake typed one letter incorrectly on my Apple ID/email.  Although I've changed my email in other areas I still cannot access those areas with the mistyped email because I can't remember the d

  • Enter vs Return key?

    Sorry if this has already been asked, but I was wondering - what is the difference between the return key and the enter key on my keyboard? For me - I hardly ever use the real "enter" key near the command key. I always use the regular enter key above

  • How i look my Photos on I cloud Id or account ???

    How i look my Photos on I cloud Id or account ???

  • Unwanted error message

    how do I get the message not to appear by day Invalid (Frm-50004) in forms 6i