Major trouble understanding structure

Hello,
This is my first time creating a Photoshop Plugin, and I am having a lot of trouble understanding how to do it. I am using Microsoft MFC to create it. Does anybody know of good references or sample code to look at? I simply don't get how to create this!!!
I am trying to do a filter plugin that will let the user select a particular color, and turn all other colour in the image to black and white.
Thanks.

There is one MFC sample in the SDK. It doesn't sound like you are having trouble with MFC per say but more about getting pixels in and out of Photohsop. Where exactly are you having troubles? Maybe the Dissolve sample will help you out but it uses OS (Win32) API's and not MFC.

Similar Messages

  • Major trouble: hard drive disappeared

    Hi to all.
    A friend of mine is facing a major trouble.
    He has an iMac and an old LaCie firewire400 external box with a PATA Seagate 200GB drive inside.
    While it was transferring into the iMac a bunch of files it had a message that was impossible to transfer a file then he clicked cancel and fired up disk utility that said it wasn't able to repair the drive.
    After that he made a reboot.
    At this point the drive wasn't seen anymore by disk utility nor by DataRescue 3.1 and he decided to take a part the FW box and he connected the drive into another FW400 box with the same result.
    Same story with another USB 2.0 external case.
    Then he tried to connect the drive as a slave to the ide channel of an old PowerMac with the result that the PowerMac, with the drive connected, remained stuck on a gray screen.
    As a final tentative to help my friend i connected the drive to the ide channel of my Asus-based PC with MacDrive running:
    after the longer boot time i've ever seen it showed the drive and it was possible to view the folder structure and the files inside with the probably correct dimensions but with file types completely screwed up.
    I tought that if we find a way to make the drive visible for Data Rescue or others recovery utilities running on the iMac we can try to recover something.
    Any help will be deeply appreciated.
    Message was edited by: leoluca lolli
    Message was edited by: leoluca lolli
    Message was edited by: leoluca lolli

    *_PROBLEM SOLVED: MAC OS IS THE GUILTY_*
    I was very happy to solve my friend's big issue but i'm very sad because i'm an old Apple user and fan.
    Resuming the story:
    - An external USB 2.0 320GB (see here below the specifics) HFS+ formatted drive with around 100GB of Mac files backupped inside, was connected to a new iMac.
    - Started the copy it gave a message of problems in one or more files
    - Canceled operation
    - Started disk utility it say something like major problems were found and it unmounted the drive
    - From that point the drive wasn't seen anymore by the iMac
    - Tried 2 different FW400 cases and another 1 USB 2.0 case
    - Tried a direct connection to the IDE bus on an old Powermac
    - Tried Diskutility, DataRescue 3.1, TechtoolPro etc., the drive is completely invisible for Mac Os
    - Tried to connect to the IDE bus on a PC (XP pro SP3) with Macdrive 7 installed
    - The drive WAS seen but with file types messed up
    - Installed Macdrive 8 on the PC: the drive WAS seen and the file types seemed CORRECT
    - ALL FILES AND DOCUMENTS were successfully copied on another drive and now we verified that ALL files ARE WORKING PERFECTLY.
    As you can see beyond the Seagate utility stated that the drive is HEALTHY with no problem on its hardware.
    The Mac Os still DOESN'T see this drive.
    I will be very happy if some Apple Guru can explain me something about this story, that, to cut a long story short, teached me that a PC fully recovered issues created by a Mac.
    Thanks in advance.
    --------------- SeaTools for Windows v1.2.0.4 ---------------
    16/11/2010 21.33.54
    Modello: ST3320620A
    Numero Seriale: ******
    Firmware Revisione: 3.AAC
    Identifica - Iniziato 16/11/2010 21.33.54
    SMART - RIUSCITO 16/11/2010 21.41.43
    Identifica - Iniziato 16/11/2010 21.41.59
    Rapido Test Automatico Unit - Iniziato 17/11/2010 16.20.18
    Rapido Test Automatico Unit - RIUSCITO 17/11/2010 16.21.34
    Generico Ridotto - Iniziato 17/11/2010 16.23.58
    Generico Ridotto - RIUSCITO 17/11/2010 16.30.17
    Identifica - Iniziato 17/11/2010 16.35.12
    SMART: Supported and enabled
    Caratteristiche indirizzoa 48 bit impostazione supportata: Vero
    Max LBA: 625142448
    Host Protetto Area funzionalità: Supported and enabled
    Gestione di Energia obbligatoria: Supported and enabled
    Protezione Modalità: Supported not enabled
    Inpostazione MAX estensione di sicurezza: Supported not enabled
    Opzioni risparmio Energia Avanzate: Non Supportato
    Scarica Firmware: False
    Supportata autoverifica SMART: True
    SMART registrazione errore supportata: True
    Temperatura dell'unit (C): 38/100
    Power-On Ore: 566

  • HT4623 I upgraded my iphone4S yesterday and Siri response with "having trouble understanding".  Is there an upgrade for Siri?

    I upgraded my iPhone4S to iOs6 and now Siri does not understand me.  Siri responses "having trouble understanding you, try again".  Is there an updgrade for Siri?  I have been searching all afternoon for a glimmer of a solution.  Any suggestions?

    Sure...
    See this Apple article for a Hard reset of a Factory reset.
    http://support.apple.com/kb/HT3728

  • Have Trouble understanding the runnable interface

    Hi
    I am new to java programming. I have trouble understanding threading concepts.When I run the below code,Thread3 runs first. I need a small clarification here- I created two thread objects
    Thread thread1=new Thread(new RunnableThread(),"thread1");
    Thread thread2=new Thread(new RunnableThread(),"thread2");
    As soon as I create these objects -Will the constructor with the string argument in the "RunnableThread" class gets invoked. If so why doesn't System.out.println(runner.getName()); get invoked for the above objects. what is the sequence of execution for the below program.
    /*************CODE****************************/
    class RunnableThread implements Runnable
         Thread runner;
         public RunnableThread()
         public RunnableThread(String threadName)
              runner=new Thread(this,threadName);          //Create a new Thread.
              System.out.println(runner.getName());
              runner.start();          //Start Thread
         public void run()
              //Display info about this particular Thread
              System.out.println(Thread.currentThread());
    public class RunnableExample
         public static void main(String argv[])
              Thread thread1=new Thread(new RunnableThread(),"thread1");
              Thread thread2=new Thread(new RunnableThread(),"thread2");
              RunnableThread thread3=new RunnableThread("thread3");
              //start the threads
              thread1.start();
              thread2.start();
              try
                   //delay for one second
                   Thread.currentThread().sleep(1000);
              catch (InterruptedException e)
              //Display info about the main thread
              System.out.println(Thread.currentThread());
    }

    srinivasaditya wrote:
    Hi
    I am new to java programming. I have trouble understanding threading concepts.I'd consider it to be an advanced area.
    When I run the below code,Thread3 runs first. I need a small clarification here- I created two thread objects
    Thread thread1=new Thread(new RunnableThread(),"thread1");
    Thread thread2=new Thread(new RunnableThread(),"thread2");No, this is wrong. You don't need your RunnableThread. Runnable and Thread are enough. Your wrapper offers nothing of value.
    >
    As soon as I create these objects -Will the constructor with the string argument in the "RunnableThread" class gets invoked. If so why doesn't System.out.println(runner.getName()); get invoked for the above objects. what is the sequence of execution for the below program.did you run it and see? Whatever happens, that's the truth.
    %

  • Having trouble understanding Abstract class. Help!!!!!!

    Having trouble understanding Abstract class. when is Abstract class used and for what.

    Having trouble understanding Abstract class. when is
    Abstract class used and for what.An abstract class is used to force the developer to provide a subclass, to implement the abstract methods, while still keeping the methods that were provided.
    � {�                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Trouble Understanding Logic of Primes Program

    I am reading a book called Beginning Java 7, by Ivor Horton. In his book he has a primes calculation program. The code is below. I am having trouble understanding the logic of the program. I've stared at it for the past several hours with no luck. What I can't understand is how both i and j are both initialized to 2 but the if statement:
    if(i%j == 0) {
              continue OuterLoop;                                         
            }then passes a 2 to the println() function. I am totally lost on this problem. The program below outputs all of the prime numbers from 2 to 50 without any errors. Please help!
    Thank you.
    public class Primes2 {
      public static void main(String[] args) {
        int nValues = 50;                                                  // The maximum value to be checked
        // Check all values from 2 to nValues
        OuterLoop:
        for(int i = 2 ; i <= nValues ; ++i) {
          // Try dividing by all integers from 2 to i-1
          for(int j = 2 ;  j < i ; ++j) {
            if(i%j == 0) {                                                 // This is true if j divides exactly
              continue OuterLoop;                                          // so exit the loop
          // We only get here if we have a prime
          System.out.println(i);                                           // so output the value
    }Edited by: EJP on 27/03/2013 19:54: fixed all the bizarre formatting, spelling, and removed the even more bizarre comment marketers around the text. Please use standard English and its existing conventions here.

    Hi. I did notice that. What I don't understand is how 2 is outputted as a prime number when the Net Beans debugger shows that i's value is 3 in the if statement. Where does the value 2 come from? Thanks.
    Edited by: 996440 on Mar 27, 2013 3:07 PM

  • Trouble understanding KMP algorithm

    If anyone is familiar with the KMP skip search algorithm and cares to shed some light on the subject. I am having trouble understanding how the table is derived, as many examples i come across seem to be using different variations. The table used to control the search.
    Thanks a million in advance, Mel

    JosAH wrote:
    The failure function can be a bit of a burden to fully understand but realize that it gives you the next index of the string to search for if the current match for a prefix of the pattern failed. thats kind of what i wanted to hear lol, thanks both of you
    and i took ur advice, i did the whole example on pen and paper. i would be lieing if i said i fully understand it, but i do have a better understanding now.
    Mel

  • Trouble understanding static objects

    Hello,
    I have trouble understanding static objects.
    1)
    class TestA
    public static HashMap h = new HashMap();
    So if I add to TestA.h from within a Servlet, this is not a good idea, right?
    But if I just read from it, that is ok, right?
    2)
    class TestB
    public static SimpleDateFormat df = new SimpleDateFormat();
    What about TestB.df from within a Servlet? Is this ok?
    example: TestB.df.format(new Date(1980, 1, 20));

    There is exactly one instance of a static member for every instance of a class. It is okay to use static members in a servlet if they are final, or will not change. If they may change, it is a bad idea. Every call to a servlet launches a new thread. When there are multiple calls, there are multiple threads. If each of these threads are trying to make changes to the static memeber, or use the static memeber while changes are being made, the servelt could give incorrect results.
    I hope that helped..
    Thanks
    Cardwell

  • Please send me a ticket sample view so that I understand , structure of tik

    please send me a ticket sample view so that I understand , structure of ticket,
    Points will be awarded,
    Jagrut Shukla

    Here is an eg of a ticket raise:
    End user is not able to 
    1. Create Sales order for a customer from a New plant , since shipping point determination is not happened . ( Without Shipping point the document becomes INCOMPLETE and he will not be able to proceed further like DELIVERY, BILLING).  
    He raises a ticket and the priority is set in one of the below:
    1. Low  2. Medium  3. High.
    Now you need to solve this ticket. You would analyze the problem and identify that the SP configuration has to be done for the new plant.
    You would request a transport for DEV CLIENT to BASIS. You do the change and Request one more Transport to BASIS for QA client. The End user will test the same by creating a sales order for the new plant and approve it.
    Finally, you request a transport to move the changes to PRODUCTION. Once the change is deployed in production the TICKET is closed.  What I have given is a small example. You would get some real issues with severity HIGH in your day-day support.

  • HT5569 I'm having major trouble shooting wifi and when ever I go up stairs I loose connection

    I am having major trouble shooting wifi everytime I go up stairs I loose connection and this never happen until a week ago when I updated to iOS 7.0.4

    Can you rephrase "shooting wifi"? 

  • Trouble Understanding CSS Layout and Padding

    Hi,
    I'm having some serious problems understanding CSS layout techniques and the impact of padding and was hoping I could get some help.
    Here are a couple of pages that show examples of what I don't "get". The first has padding that causes the layout to look right. The second doesn't have padding but doesn't lay out as I would expect. Also, the amount of text affects the "bottom" div as well. I'm an old hand at HTML and could do this layout in my sleep using tables. Css is a different, frustrating story.
    http://www.libertywebmarketing.com/test/1.html
    http://www.libertywebmarketing.com/test/2.html
    Thanks.
    Fitz21

    Thank you for the help.There's a lot of valuable info in these answers that I'm going to have to study. I never thought of applying classes to Div tags, but I guess I have to start learning somewhere. I'm not sure how to use the technique, but I'll definately look into it. If I could wake up tomorrow and know what you all know simply by wishing it, I would.
    I see that there are many things I have to learn about using CSS and I'd really like to see some real world examples that don't look like typical cheesy CSS designs with columns. If I were going to design this page using HTML, I would probably do something like this: http://www.libertywebmarketing.com/test/3.html
    (The last two tables show the table structure and use of a spacer. I know this a seriously antiquated way of doing it, but it's to illustrate what I'm trying to accomplish: Namely, staggered, left/right alternating boxes that will expand properly depending on the amount of copy or the vertical height of the photo in them.) 
    Dreamweaver 101,
    I have "Dreamweaver 8 The Missing Manual" by David Sawyer McFarland, but I find it really concentrates on "typical CSS designs" that look like Content mangement templates. While I agree it's a valuable book, there's nothing in there I have found that addresses anything like what I'm trying to do. Is the Dummies book better for atypical layouts?
    Again, thank you all.
    Fitz21

  • Home Sharing and Airplay: fall 2011 major trouble in iTunes to APTV, IOS devices - detailed run-through.

    Dear all, and dear Apple - as you know flagged trouble regarding Home Sharing to devices and to APTV has grown exponentially this fall and it is high time Apple calmly regained control over the situation. Get a grip, this is a fundamental "it just works" reputational issue.
    Having read lots of community posts I am struck by how many crosschecks I have done and still cannot get Home Sharing to ´just work´ anymore.
    Symptoms of my troubles include:
    (1) In iTunes the Home Sharing house icon is nowhere to be found on the left hand side even though I have turned it on several times.
    (2) Airplay icon was visible in the lower right corner of iTunes for about two minutes last night but then vanishes.
    (3) My iPhone4S cannot find my shared library (under "More" or anywhere else).
    (4) And APTV will occationally load my Mac library to play a purchased tv episode but is highly unstable. 1 in 4 attempts succesful.
    Ah, you say, "this all sounds like your home network is either faulty or the signal is not strong enough", or "you have not set up Home Sharing right".
    OK, let´s see... 
    The Airport Extreme station is right next to APTV, and is itself connected via ethernet to my router - and besindes my Mac can still find a strong signal via wifi. I access internet on my wifi-only iPad2 easily throughout the house, nice and strong signal. The APTV menu tells me the signal strength is excellent, and, most importantly - it worked a couple of weeks ago with no change in settings. I played my iTunes Library on my iPhone via Home Sharing, and I watched APTV TV episodes streamed from my Mac upstairs.  
    So far I have triple-checked the following settings:
    Home Sharing on my Mac turned on under Advanced? yes. (House icon appears - until I press the "Done" button, then it vanishes).
    Even though the House icon is nowhere to be found, is Home Sharing still "On" under iTunes Advanced setting? yes.
    Under Preferences, Sharing, all ticks are carefully turned on? yes.
    APTV Home Sharing: the same ID details, correctly entered?  yes. And for a little while, or on occation we have access to my library on APTV (but not the other mobile devices). Then it vanishes again (Computer menu on APTV telling me to turn on Home Sharing with ID etc.)
    Mobile devices, under Settings/Music, are the Home Sharing details the same as those on your Mac/iTunes? yes. 
    All software on APTV, iTunes, OIS and Lion up to date? yes, as of 18/12 2011. For iTunes I have 10.5.2 (11)
    I also reset Factory Settings on my APTV, which enabled us to watch a TV episode last night, but this morning it is gone again.
    Within limits of how many devices I can share my library or iTunes with ? yes, 2 computers are authorised on my ID, and 3 devices are authorised on iCloud (iPad2, iPhone 4S and this Mac).
    Have you tried the degrading, not-up-to-Apple-standard way of unplugging APTV/Airport Extreme/Mac power, and restarting your iPad/iPhone4S? Yes. 
    Does Airplay work from devices to e.g. APTV? yes it does.
    Can I access the internet or rent a movie on APTV? yes.
    Is this a strength issue with my Mac? Is my Mac fast/strong enough? Yes; it is a 3.06Ghz Intel Core 2 Duo, running 8GB/1067 MHz/DDR3. 100GB of available harddrive space.
    Dear community - what have I forgotten to do, please? Any ideas?
    And Apple: please help your repeat customers with these issues - clearly there are some room for improvement here!?
    Regards and best wishes for the Season.

    I seem to have a similar problem.  I have a Macbook and a PC, both running the current version of iTunes.  On the APTV (also running the current software version), only my Macbook library shows up under "computers".  Home Sharing is turned on for both and my Macbook library shows up under "Shared" on the PC, but the PC iTunes library doesn't show up on the Macbook or the APTV.
    My question then is: How is it that my Macbook iTunes library can show up on the PC and on the APTV, but the PC iTunes library doesn't show up on either?  If the PC can see the shared libraries, doesn't that mean it's on the same network?  Along those same lines, "Shared" libraries do NOT show up on the Macbook.  Again I ask, how is it that I can see the Macbook library on the PC, but the Macbook doesn't show any Shared libraries?
    All of this worked just fine before the upgrade to iOS 5 by the way.  I had no issues seeing any library on any devices and the APTV found both computers.
    Please help.  This is really annoying!

  • Trouble Understanding variables

    I am committed to learning A3, but HOLY CRAP!! I have never
    been a programmer, just a lowly designer. Apparently a pretty dumb
    designer! :)
    I can breeze through this in AS2 with no problem, but AS3 is
    killin' me! I am trying to create a music player that will embed in
    a web page, it will be XML driven and the XML will be populated via
    a database and generated by PHP. I am using a listbox component to
    display the playlist (from the XMLfile). I have figured out how to
    start playing the first mp3 on the list.
    Now when the user click a different button, I can get that
    song to play also, but I ended up created a second sound object, so
    the two play at the same time. Not good. I have tried and tried to
    access the object that is playing the first sound so I can stop it
    and load a new sound into it - I am about to pull my hair out!
    I seem to missing a basic understanding of how to access this
    object and change the variable value so I can play a new song. Any
    help would be GREATLY appreciated!!

    Vern,
    > If I understand correctly: any variable I am going to
    use outside
    > of the function that assigns its value needs to be
    declared OUTSIDE
    > of that function first?
    Yes.
    > Once declared it can be used anywhere, but if it isn't
    declared
    > outside, then the value is stuck inside that function.
    Is that correct?
    Close. In fact, if you're coding in the main timeline,
    you're so close,
    you could arguably define it in those terms and be fine.
    Variables (and
    functions) are available to the scope in which they're
    declared. If you
    declare a variable in the main timeline, then that variable
    is available in
    that frame and any subsequent frame of that timeline.
    Depending on the
    circumstances of your FLA, the main timeline may indeed feel
    like
    "everywhere," to the point where the variable could be said
    to be used
    "anywhere" -- but it's really not much different from the
    restriction a
    variable feels when declared inside a function; it's just
    that the whole
    movie takes place inside that "function"/FLA/SWF.
    > If I got that right, then for my scrubber, I need to set
    up some
    > variables that hold SoundChannel.position, Sound.length,
    > MovieClip.position
    > THEN create a function which assigns values and
    calculate the
    > MovieClip.position
    Yes. That way, any number of functions can use those
    variables. But
    keep in mind, all you really need are variables that point to
    your instances
    of Sound, SoundChannel, and MovieClip. Then use those
    variables to
    reference the necessary properties of those classes. (In
    other words, no
    need to make a mySound variable *and* a mySoundLength
    variable: the mySound
    variable suffices, because it leads to the Sound.length
    property as simply
    as mySound.length.)
    > I never liked how clunky onEnterFrame could is. I assume
    the Timer
    > class is a bit more streamlined?
    It's just another tool in the toolbox. :) Timer is the
    recommended new
    version of setInterval() and setTimeout() combined.
    > I am so used to _root.movieClip.variable=foo; (I mean
    the easy
    > access to any variable from anywhere) but change is
    good, I like
    > change. Change is good.
    I like change in my pocket! ;) The thing about an expression
    like
    _root.movieClip.variable is that you could often just
    reference the variable
    anyway, without the need for the "_root" reference. AS3 has
    root (no
    underscore), which behaves in many ways like _root, but dig
    into that a bit
    ... you'll find some important differences.
    > So it sounds as if, to include the loadbar within all of
    this, then I need
    > to move the playHead along the width of the loadbar, not
    a set length
    > in pixels.
    You could do a set length, but it's much more flexible if
    you use the
    width of some other object, like a track or some other movie
    clip. If you
    go with the width of some object, you can *change* the width
    of that object
    and the code still works.
    > The drag part should be easy enough, but adjusting the
    actual audio
    > from that may give some fits!
    To derive volume, you'll take the position of the draggable
    knob along
    its track and divide that by the width of the track. Assume
    you have a
    ridiculously long volume track, 500px. The volume knob has
    been dragged
    halfway across, to 250px. 250 / 500 is 0.5, which is the AS3
    way of
    specifying 50% volume. Now imagine the track is 50px wide.
    The knob has
    been dragged all the way across (to 50px). 50 / 50 is 1,
    which is 100%
    volume. And so on.
    > But here is my real question about that, will it be OK
    to try and add
    > that functionality in once the actual playHead is
    working, or is
    > that a mistake to not include it from the beginning?
    Ehh, for something like this -- especially if you're
    teaching yourself
    and involved in a learning experience -- I'd say it doesn't
    matter one way
    or the other. Take small steps and master each step. Sooner
    or later, what
    you're doing will "click" for you, and after that, you'll
    find that you can
    add or remove features as you please.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Trouble understanding RH customization when linking FM files

    Is there a video that will help with this, particularly creating and customizing a single CSS for use with my work? I also would like to have an idea of the best workflow.
    Here is what I am doing and some issues:
    Open RH.
    Click File > New > Project.
    What I really want is a bunch of HTML files with known filenames. I know FM 12 can do this without RH, but I want to work this out now so I can take this in a better direction. Anyway, I click Application Help in Project Type.
    Click the Import tab in the New Project dialog box.
    Select FrameMaker Documents as the Import Type, and click OK.
    Select my FrameMaker .book file, and click Open.
    Enter a title for the project, file name for the project (left default), and location for the project.
    Click Finish.
    At this point, my multi-FM-file .book project hangs and never finishes. If I am using a single-FM-file .book project, though, the following happens:
    The Import dialog box opens.
    In the FrameMaker Document area, click Edit. Some scanning happens, and the Conversion Settings dialog box opens.
    Edit paragraph settings.
    Find those paragraphs I don't want output for and select the Exclude from output check box, such as Footer.
    Set each of my four Bulletn styles to Multilevel list. Bullet1, Bullet2, Bullet3, and Bullet4 styles represent decreasing levels of subbulleted lists.
    Set my eight Stepsn styles to Multilevel list. Steps1, Steps2, Steps3, and Steps4 styles represent decreasing levels of subnumbered lists (1, a, I, i). Each of these styles has a corresponding First style that sets the numbering to 1, such as Steps1First.
    Set up cross reference settings to remove page numbers.
    Set the default format for Image to .png.
    Leave Character, and Other settings alone.
    Click OK and Next.
    Leave the Table of Contents, Index, and Glossary Settings turned off.
    Click Finish. Some scanning happens and a result is created.
    Some issues.
    While Mutilevel Numbering creates 4 appropriate levels of bullets based on my styles, it only creates 3 of 4 levels of numbered lists. Levels 3 and 4 are presented identically by RH. How did this happen and how do I fix it.
    Indented body tags are not correct. I can fix this in the CSS. But, then, how do I create and make sure my project uses a new CSS?
    How do I create a delivery package for this? I see what I have in project manager, and want to create a folder that contains my output, that is, HTML, PNG, and CSS files that support my project so I can move these to the target CD or delivery mechanism?
    I have HTML and CSS buried within individual folders with the respective FM source. How do I get these HTML files and images out, and mate them to one and only one CSS for delivery?
    Thoughts?
    Sean

    Thanks. I will choose Blank Project  instead if Application from now on, though I understand that is erased by choosing FM files. I really just want compliant HTML 5 output with a single CSS file that I can deploy with linked files, which will be PNGs.
    So, can you  help with my customization questions?
    Also, another issue I have run into is spacing in the HTML around run-in headings. This is caused by RH adding an extra blank paragraph with a non-breaking space, as show in the following code. I don't need this empty paragraph added, and it was not in the FM source. Thoughts?
    <p class="FM_GlossaryTerm">Term Name Here as a runin in FrameMaker.</p>
    <p class="FM_GlossaryTerm">&#160;</p>  //<-- This line added in RH conversion, and I don't want it.
    <p class="FM_GlossaryDefinition">Term definition paragraph here.</p>
    Cheers,
    Sean

  • Having trouble understanding scancodes (and their udev mapping)

    First off, I know that scancodes are basically the raw byte interpretation of keyboard presses which I can display for example with showkey --scancodes.
    However why does showkey display at least two bytes for each key that I press (is it for press/release?) and for some keys even 4 and more? And how can I dump that down to a single byte which I can specify in a hwdb database for udev?
    For example, this is the output for Fn+Brightness Up/Down:
    showkey --scancodes
    kb mode was UNICODE
    [ if you are trying this under X, it might not work
    since the X server is also reading /dev/console ]
    press any key (program terminates 10s after last keypress)...
    0x9c
    0x1c 0x9c # pressed Enter
    0xe0 0x54 0xe0 0xd4 # pressed Fn+Brightness Up
    0xe0 0x4c 0xe0 0xcc # pressed Fn+Brightness Down
    The according mappings for brightness up/down in the udev database for my keyboard model are:
    KEYBOARD_KEY_88=!brightnessup # Fn+Up
    KEYBOARD_KEY_89=!brightnessdown # Fn+Down
    So assuming 0x54/0xd4 and 0x4c/0xcc are my "relevant" bytes, how do they lead to the scancodes 0x88 and 0x89 in the hwdb?

    Yes thats what I assumed, however what I dont understand is which one do I need in case I want to overwrite or add a new key in a (custom) udev hwdb file.
    The wiki doesn't mention anything specific about the difference between key press and key release and in the example I provided I was wondering how these scancodes for press/release of a key combination from showkey -s (like 0xe0 0x54 0xe0 0xd4) led to the specified value (0x88) in the udev hwdb file, since the wiki suggest that one should use showkey -s[ to figure out the scancode of a key.
    Last edited by Triver (2014-11-23 16:13:07)

Maybe you are looking for

  • Tax statement item missing for tax code V0_During MIRO

    Hi, I am currently working on 6.0 for a client in UAE. I am getting the above error with tax code while passing MIRO. The tax code dwfined is a 0% tax code. System throws an error as ; Tax statement item missing for tax code V0 Message no. FF805 Diag

  • Failed to Verify License File Digital Signature

    We are trying test our license file with our add-on identifier as provided by SAP.  We keep getting a different error each time. Now we are getting "failed to verify license file digital signature" After we did the name substitutions in our license f

  • Creating object class dynamically

    Hi , I need to create object dynamically for a class.eg when i loop thru internal table i need to create an object per pass of the loop and no of entries  in itab can be known at runtime only Any clues Regards Swatantra

  • WL6.1 - browsing and receiving from queues with MDBs

    Hi all,           I have hit on a problem that has been brought up previously without,           as far as I can tell, any conclusive response.           I am using a queue which is processed by message driven beans. This           queue contains job

  • Mime type issues: x-directory/normal vs. inode/directory

    Sorry for the long post. If you have no time, just read the third paragraph, starting with "Of course..." I am using KDE and I have a problem with the mime types for directories. As Gnome, too, KDE manages mime types itself to offer easy customizabil