FDK9: Question about dialog input text (and coding)

Hi all

The other day I met a problem which is driving me a little crazy, so I hope a kind soul help me on track!

When I get a text input in a dialog box, some character combinations (for example the backslash followed by capital F) prove to be scrambled (or at least, I can't understand what the code is supposed to be). It happens regularly, I call a standard dialog via F_ApiPromptString or use F_ApiGetString on an edit box in a custom dialog box. The following example of (micro) illustrates the problem.

I must be missing something very basic here. I would be extremely grateful if someone could explain why the entry is UTF-8, or MakerRoman.

Kind regards

-Mark

PS: I am running Windows XP on a Danish locale. Nothing particularly exotic.

[Console output]

Encoding dialog box is "FrameRoman".
String #1: '\F' (hex: 0x5c 0 x 46)
String #2: "ƒ" (hex: 0xc6 0 x 92)

[Code of plugin]

#include < fdetypes.h >
#include < fapi.h >
#include < futils.h >

VoidT F_ApiInitialize (IntT init)
{
If (init is FA_Init_First)
{
F_FdeInit();
F_FdeInitFontEncs ((StringT) 'UTF - 8');
F_ApiEnableUnicode (True);
F_ObjHandleT mainMenuId = F_ApiGetNamedObject (FV_SessionId, FO_Menu, (StringT) "!) MakerMainMenu");
F_ObjHandleT testMenuId is F_ApiDefineAndAddMenu (mainMenuId, (StringT) "APIMenu", (StringT) 'Test');.
F_ApiDefineAndAddCommand (1, testMenuId, (StringT) "TestStringPromptCMD", (StringT) 'Test string guest', NULL);
}
}

VoidT F_ApiCommand (IntT cmd)
{
If (cmd == 1)
{
StringT s1, s2, encName;
If the user does not change, the "\xfc\x46" string will be returned.
F_ApiPromptString (& s1, (StringT) "Press OK", (StringT) "\\F");
If the user types (or pasta in) \F, the "\xc6\x92" string will be returned.
F_ApiPromptString (& s2, (StringT) "Type \\F and press OK", (StringT) "");
encName = F_ApiGetString (0, FV_SessionId, FP_DialogEncodingName);
F_Printf (NULL, 'dialogue encoding is '%s',' encName);
F_Printf (NULL, "\nString #1: '%s' (hex: 0 x % 02 x 0 x % 02 x)", s1, s1 [0] s1 [1]);
F_Printf (NULL, "\nString #2: '%s' (hex: 0 x % 02 x 0 x % 02 x)", s2, s2 [0] s2 [1]);
}
}

Hello Mark,

the FrameMaker IU transforms certain combinations of characters with the special characters backslash, but not all. They are listed here:

http://help.Adobe.com/en_US/FrameMaker/9.0/using/WSd817046a44e105e21e63e3d11ab7f7862b-7fd5 .html

Certain combinations of extra backslash are valid in the search box:

http://help.Adobe.com/en_US/FrameMaker/9.0/using/WS25F3553F-C76C-4f49-9c16-E251912A7D42.ht ml

If you want your customers to be able to enter the backslashes in a dialog box, they must enter twice.

HTH,

-Michael

Tags: Adobe FrameMaker

Similar Questions

  • Questions about tables in text boxes

    When I convert the text to a table, there is a small space between the text block and the table. I have two questions about this:

    1. Is it possible to remove this gap? I put the text block options set spacing to 0 and gutter to 0 and spacing of table before and after to 0.
    2. Is it possible to create a table that is not in a block of text, especially when converting text to a table?

    Attached is a few screenshots that I hope will be useful. In the first image, East of the limit of the framework text in magenta and the structure of the table is in light blue. The gap between the blue magenta and light vertical lines on the left, that's what I want to remove.

    Screen shot 2012-05-11 at 11.45.46 AM.pngScreen shot 2012-05-11 at 11.50.47 AM.pngScreen shot 2012-05-11 at 11.53.05 AM.png

    Tables are always in a text frame, and in fact, they are part of a paragraph, so I would check the assigned to this paragraph paragraph style and see if there is a left indent applied, or perhaps a paragraph alignment is set to something other than the left.

  • Questions about close cache events and the defeat strategy "ALL".

    I use near cache, and try to determine what defeat strategy would be better for me. My cards before being highly volatile, I'm considering strongly using the strategy of "EVERYTHING" for at least some of my caches.

    This brings me some questions about the event cache stream closely when the strategy using ALL:

    (1) should I expect an event to be published from the back cover when an element is added? (i.e. putAll() called cache before)
    (2) should I expect an event to be published from the back cover when an item is deleted? (i.e. remove() called cache before)
    (3) should I expect an event to be published from the back cover when an element is expelled from the rear because of size constraints?
    (4) should I expect an event to appear from the back cover when an element is expelled from the rear due to the expiry?

    Hi Tom,

    near cache before cards do not store the entries inserted in the back cover, so if you have saved a listener on the front plane, you will get the notification to the listener on the plan before all the inserts in the back cover of other nodes.

    It's a little different for entries that have been asked by the local node through the near cache (not directly on the distributed back cache). If the cache almost didn't get call so far, then they will not go into the front plane, so it's the same as if inserted directly into the back cover. It is the starting of the near cache behavior. After the first EEG puts will be cached in the front plane. Once that puts is cached in the front plane, then the listener before card will see put through the cache close to the same node, but not of other nodes.

    Also, the cache near registers a listener lite, so it becomes not the input values changed, as the keys.

    A listener that you entered on the back cover will see each insertion, if you do not save a MapEventFilter or a MapEventTransformer custom with the listener. A MapEventFilter can filter inserts away (I think, the cache similar to that, too).

    Best regards

    Robert

  • Questions about syncing wireless keyboard and mouse 5000?

    How can I sync my old 5000 for a new mouse 5000 keyboard and the receiver?

    Hello Eamon,

    Welcome to the Microsoft Community Forum.

    According to the description, I understand that you are facing problem when connecting the new Microsoft mouse USB dongle receiver with the old keyboard Microsoft Wireless 5000.

    I suggest you to contact the Microsoft Hardware support for assistance.

    How to contact Microsoft if you have questions about your hardware device.

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

    Thank you

  • Question about the composition settings and make

    I looked for an answer to my question, but had to ask at resort, sorry, it's pretty basic, but a direct response is needed I think.

    I imported a project in Premiere pro with two layers of still images with movement and applied effects. I work for a few weeks now, with variations on these pictures and had many number of exports of EI through the render queue.

    After you import the compositions of first CC my starting point; composition and other settings of composition parameters are all resolved HDTV 1080 25 but the set resolution in which I unfortunately now has, is defined as 'Half' (960 * 540)... New compositions also sets the default resolution somehow half...

    My question is about my previous exports and subsequently.  Together of the composition to "Half" resolution affect the quality of my compositions exported using the render module? So far, all my renders are 1080 p by default and no 960 * 540. These have been uprezed to 1080 of 960? ... - I have not changed any setting on the resolution in the rendering module - they all came out 1080 after.

    Thank you

    Together of the composition to "Half" resolution affect the quality of my compositions exported using the render module?

    N ° except if you change the settings of default rendering, which is "Best settings" in "current Configuration".

  • A few questions about integration between POET and EBS

    Hi you
    I am a new bie BIEE. In those days, have a look at the POET architecture and BIEE components. In the next project, there is some work on the development of POET based on request of the EBS. I have a few questions about integration:

    (1) generally, the POET application and database server is decentralized with application and database EBS? Both BIEE 10g and 11g version can be integrated with EBS R12?

    (2) in the POET administration tool, the first step is to create arrays of physics. If the source application is EBS, is it still necessary to create the physical tables?

    (3) if the physical creation of tables is needed, how to transfer data from the source of BSE BIEE physical tables tables? What ETL tool is preferred for most of developers? generator for warehouse or Oracle data integration?

    (4) during the data transfer phase, there are many many large data to transfer, how to keep the entire? for example, it must transfer 1 million lines of source to physical tables BIEE database, when 50% is completed, users try to open the POET report, they can see the new data of 50% on the reports? is there some transaction in phase control ETL?

    could someone give some pointers for me? I am very appreciated if you can also provide any other information.

    Thanks in advance.

    (1) generally, the POET application and database server is decentralized with application and database EBS? Both BIEE 10g and 11g version can be integrated with EBS R12?

    You shud look at OBI request here that uses OBIEE as a tool for reporting with pre-built modules. 10g & 11g comes with different versions of the applications of BI that supports sources such as Siebel CRM, EBS, Peoplesoft, JD Edwards, etc...

    (2) in the POET administration tool, the first step is to create arrays of physics. If the source application is EBS, is it still necessary to create the physical tables?

    His independent of any source. It comes to OBIEE modeling to create the RPD with all the layers. If you build from scratch, then you will need to create all layers else if BI Apps is used so you can get pre-built RPD and other pre-designed components.

    (3) if the physical creation of tables is needed, how to transfer data from the source of BSE BIEE physical tables tables? What ETL tool is preferred for most of developers? generator for warehouse or Oracle data integration?

    BI apps comes with ETL pre-built mapping to use with the tools majorly with Informatica. Only applications BI 7.9.5.2 comes with ODI, but oracle has the intention of having only ODI for any other versions.

    (4) during the data transfer phase, there are many many large data to transfer, how to keep the entire? for example, it must transfer 1 million lines of source to physical tables BIEE database, when 50% is completed, users try to open the POET report, they can see the new data of 50% on the reports? is there some transaction in phase control ETL?

    User will see still old data because its good enable Cache and serving it after each load.

    See http://www.oracle.com/us/solutions/ent-performance-bi/bi-applications-066544.html...
    and a lot more docs on google

    Hope this helps

  • Question about a default text setting

    When I draw a new text box in InDesign and start typing, can someone please tell me what governs the style the text starts in? It seems to vary. Of course, I can change the style for what suits me, but sometimes a character style is applied by default to one of my character styles and I have to delete it before doing anything else, which causes an additional step for me. I don't know what is governing this. Can someone tell me? Thank you.

    Before you draw a text frame of course you have not selected character or paragraph styles. It's triggered me for about a year, embarrassing. But basically, the character no style and if you like the Basic Paragraph Style.

    What governs is that you have selected a character style until you have drawn a block of text, and it works as the default for new text frames.

  • A question about the input within the PL/SQL block values

    Hi all

    I would be grateful if you could kindly help me with this issue well.

    Consider the following code.
    DECLARE
      myvar1 NUMBER;
      myvar2 NUMBER;
      myvar3 NUMBER;
    BEGIN
      myvar1 := &1;
      myvar2 := &2;
      myvar3 := &3;
      
      DBMS_OUTPUT.put_line('myvar1 = ' || myvar1);
      DBMS_OUTPUT.put_line('myvar2 = ' || myvar2);
      DBMS_OUTPUT.put_line('myvar3 = ' || myvar3);
    END;
    /
    This program reads the three input values and print them. However, I have noticed that if instead of writing
    myvar1 := &1;
    myvar2 := &2;
    myvar3 := &3;
    I am writing
    myvar1 := '&1';
    myvar2 := '&2';
    myvar3 := '&3';
    The program will have the same result. I would like to know if there is a semantic difference between the two syntax,
    in other words, there is no difference between for example & myvar1 and "myvar1?


    Thanks in advance,
    Dariyoosh

    & 1 would be a NUMBER
    ' & 1' would be a TANK, that would be implicitly converted to a NUMBER.

  • A question about the predefined text typewriter and rates.

    How can I do so that I had to have 2 pieces of text separated into 2 layers different length different, the typewriter effect works at the same rate for each of them? As in, I want to ensure that regardless of the amount of text has a line, she always "type" X-characters-per frame. I know how to set individual speed using key frames (text > host > range selector > opacity), but I want to so he types at the same pace.

    If it helps to visualize it easier, I want to replicate the appearance of a of the classic RPG the text like in this video. No matter is the number of characters in each text box, he always hit the same rhythm of characters (unless you decide to speed it up); the only thing I can control is a general speed in which printed characters, but they never print the same pace, just print at a rate so that all characters in the layer out in x-amount of time.

    Sorry if this is a difficult thing to explain, but someone capable of understanding how this is easier? Or do I just manually adjust each keyframe so that it seems to print out to a uniform speed?

    How can I do so that I had to have 2 pieces of text separated into 2 layers different length different, the typewriter effect works at the same rate for each of them?

    under set advanced the 'Index' units, set keyframes for start in the same place in time. your text will be held by index number of characters and not the percentage of all characters = same speed

    I did thousands of transcripts in preset of the typewriter and many years ago, we found that the index is much better than percent for many reasons.

    It is from the help files: text in After Effects animation

    Note:

    You will be perhaps easier to think in terms of number of characters than percentages for the Start and End of a range selector property. To display these properties by number of characters (including spaces), choose Index for units in the advanced properties of a range selector group.

  • Qosmio G20: Question about networking & monitor in and Xbox

    Just bought a G20 last week and I'm in love. First laptop I've ever owned and its worth every penny.

    A few scarecrows.

    I never received an antenna adapter to connect my in arial, but I'm sure I sohuld of fact. In the quick start manual of what it listed everything that I should received in the pack, and who was listed. Was not enough one - if anyone knows a number to contact Toshiba and get one of these sent to me? Can't seem to find one anywhere.

    Second... I'm going to my brother's computer network. Novice course of network, it does not work that well. I'm not sure whether if we need a router? I just want to connect to his computer and use the internet through that. As you would with a network cable. So he bought himself a wireless network card... but we'll be buggered if we can get it too work. Any advice or a definitive guide... or do we this router after all?

    And thirdly, sorry for the long post, but I'm playing my Xbox by the G20, but I'm having no luck what so ever. I plugged the monitor using the three composite cards (white, yellow and red) but nothing that passes through. The only way I've seen a photo is when you set up a decoder and it happens in a small box when its analyses for channels... but I can't select to see and it seems s delay 1 second.

    Sorry for the post long-term... just try to make it all sorted.

    Thanks in advance for any help.

    Hello

    You are right that the Qosmio is a very nice unit.
    But I'm not sure about the antenna adapter. I found the information in the user manual that the antenna adapter is optional. In this case the adapter will not always come with the laptop, but you can ask that the Toshiba service partner.

    Well well, on the network connection: If you want to connect two computer, you need a crossover network cable if you don t use the router. In addition, two laptop computers must be in the same workgroup. In addition, you must manually set the IP address, the default gateway and the subnet mask in the internet protocol TCP/IP properties.

    On the Xbox:
    If you want to know more on the connection of MCE and Xbox, see this Microsoft Web site.
    http://www.Microsoft.com/windowsxp/mediacenter/Extender/mcefaq.mspx

    Check also questions other messages of the forum on the Xbox:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=9575&MessageID=33794#33794

    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=9756&MessageID=34462#34462

    Good luck

  • Questions about serial port read and write at the same time

    Hi I create a user interface for the communication serial port, where there are essentially 2 front panels, where the user enters commands one and the other where the prints of UART is delivered. I thought initially using a state machine but the reading and writing may be independent sometimes and so I can't rely on States. I searched a bit on the forum and he left me even more confused. Help, please.

    (1) in a thread that sessions visa duplicated has been used for writing and reading at the same time, is it recommendable? How will this affect performance?

    (2) essentially when the vi is reading data are it must constantly view as well, however, someone said that it takes too much memory to use shift registers, so how do I go about this? If using a State in queue after the loop of reading it affects the playback loop and be sequential?

    In addition anyway is to move the cursor to the latest data from the indicator

    (3) for the control of the user input, assumes that the user has entered an order in the control and press ENTER, then writing visa is launched, but if it comes in another string and press enter then write must be called again... is - it possible? will detect the previous commands in the control of compensation?

    (4) according to my understand the expectation for the event do not monopolize resources and writing can go in parallel, am I right?

    Thank you. I have attached a very basic vi which took me to the point, but I want to make it more robust. Please help especially in the part of the user interface.

    su_a,

    (1) you can have only one session to a port. Several UART can handle full duplex so performance is not affected.  At flow rates of high data and large amounts of data, buffering and latencies of BONE can become a problem.

    (2) who told you that shift registers using too much memory? Shift registers are usually the best way to transfer data from one iteration to another. String concatenation inside a loop (registry to offset or not) causes the chain to develop and may require re-allocation of memory.  Your VI never clears the string so its cold length become very large.

    Generally, you do not have an active cursor on an indicator.  If you want to always display the most recently received characters and turn on the vertical scroll bar use a property node to keep scrolls to the bottom.  This can be annoying for users if they attempt to manually move the scroll bar and find that the program continues to move it back automatically.

    (3) if the user has changed the value in the chain of command, when he hits enter the modified value event fires.  Simply strike brace does not change the value and does not trigger the event.  Not control need to be erased, but the value that he has to change.  If you want to send the same command again, have a button send a command may be a better choice.

    (4) write is a case of the event.  It is not in parallel with anything.  The structure of the event do not monopolize resources.  The other loop will run while it waits.

    The event loop will not stop when you press the STOP button. Probably it wll take two command: change events of value after JUDGMENT before any loop stops.  Replace the Timeout event (which never expires) with a STOP: value change event and a real wire of this judgment to the Terminal endpoint.  Remove the local variable.  Make mechanical locking when released.

    Lynn

  • question about the input impedance

    Hello world

    I tried to measure a voltage with internal impedance 10kohm source, and I connect to the source directly with the NI USB 6009. When the voltage source is 5.043V, the data recorded by labview are about 4.8V. I checked the manual of the USB-6009 case and found that the input circuit (see attachment). So I guess when the device was taken from data, it actually takes the data on the node of crossing and converted, then return with impedance numbers shown in the graph. That's why I'm given to me below that it should have been.

    I was wondering is it possible to treat it, other than the calculation of return and convert it with correct impedance?

    Kind regards

    Jude

    Hi Jude,.

    you could use an op amp to boost your signal (1:1), one so reduce the impedance seen by the USB6009. You can also use some other DAQ hardware with a higher input impedance.

    In the end, the conclusion is: you must choose your DAQ hardware according to the specifications of the signal source. You have selected the wrong hardware...

  • Questions about JavaFX, Swing, Touch and Netbeans

    Hi all. I'm trying to implement a touch support with JavaFX within a Netbeans application and met with a wall of problems.

    When running through JavaFX, everything works fine. Touch events are recorded and processed as expected. However, it seems that the JFXPanel who lives my scene in, or the Netbeans window system itself, interferes with key events.

    The Panel is multitouch. I mainly work with JavaFX obtaining buttons to work properly.

    • Committee will draw mouse down and mouse released event, but the event of mouse button is raised only AFTER the finger is removed from the Panel. In my mind, the mouse down event should pull your finger touches the Panel, as this event is triggered when you click with the mouse button otherwise. This of course could very well have nothing to do with Java, Swing or Netbeans, since it's the BONE that fires the original event.
    • The Panel goes off the pressed key, touch stationary and released touch events correctly, but these events are not detected with JavaFX in Netbeans/Swing.
    • The onAction event behaves the way the mouse pressed event. Tire only after removing your finger, not to touch.
    • If you move your finger (within the limits of the button) after a touching, onAction and the mouse goes off. But only if.

    Does anyone have experience with the creation of tactile support JavaFX in Netbeans framework?

    It is on 7u25, Win7 Enterprise Java.

    OK, so there's actually a windows control panel to change settings touch. Buried in a settings dialog box is the option to disable press it and hold for right-click fully function. This causes a mouse down event to be fired as planned on the button down.

    So, the solution is to disable the right click of press and hold Windows itself. Just enter 'touch' in the search box and you should see an option "Change touch input parameters" in the control panel.

  • Question about the memory consumed and active

    I have esx4.1 on three dl585 running. I have about 100 active vm running, and I have a small question.

    My vm is all 2008 r2 datacenter and I gave them 1 cpu and 4 GB of ram. When I recover a single virtual machine and look at the summary page, I see the bones of memory consumed host 4075 mb and the active guest memory 81 MB operating system. My question is can I reduce the host cunsumed memory to 2 GB without noticing a difference within the virtual machine?

    It looks like you can.   To be absolutely sure that you'd need monitor assets long enough to have a good idea of what the average is and what are the tops.

  • Questions about the automatic height and display on Firefox

    I'm working on a website and I homepage (with numbers).

    (1) the Interior wrapper is a gradient and has a height of repetition and automatic. They like to look him up and black bar at the bottom of the screen with the red bar. The problem is that it is set to repeat itself so if someone changes the size of the font will display exactly the same thing. How to look the same? All ideas welcome.

    (2) in addition, when you hit more police in the area of text at the bottom of the rounded corners is adopted at a max height, but the text flows into the area, I can prevent this?

    (3) in addition, if you look at it in firefox, it has a white bar at the top. I don't know that I have a bit of coding there that is incorrrect and the cause, any ideas?

    Thanks for all the ideas, attached is my link to the page. Please be nice because this is my second web site.

    http://www.lotusvalleydesigns.com/meixnerconstruction/safety.html

    .oO (new dreamweaver)

    > Thank you very much for the helpful tips. I am a beginner and
    > enjoy all the tips I can get. I'll give these changes a
    > go and see where I end up. I'm sure that I'll be back!

    You are welcome.

    And just ask what you want to know.

    Micha

Maybe you are looking for

  • Screen 'jump' or glitter whilein firefox after update

    Firefox told me that it was up to date. Display of 33.1. When I'm on a page at the top of the screen where the menu and tabs are guard 'jump' or glitter, will now also on the top of the page. I have adobe flash completely off because it crashed often

  • Could not load the pages in Version 23.0.1 I could load in the previous version

    I reinstalled the version 23.0.1 but I can't load http://www.stopyourekillingme.com/. Also some MSDN pages not displayed correctly. I can load these pages in other browsers and I could load these pages correctly in Firefox in the previous version. I

  • The blue print Pixma Pro 100 purple Canon. Help

    I just bought a Canon Pixma Pro 100 and I have problems with the color matching, specifically, fate blue violet.  I have a spyder express and have corrected my monitor color.  I had a problem earlier with this yellow, but I have very close with Print

  • Windows XP crashed, now unable to connect to the net cause usb 760 not register

    Windows xp installed 2 GB high speed, downloaded 99% vzam, froze, rebooted, frozen, restored before installation, froze, now run anything? What should do? Unable to connect to the net cause usb760 will not register...

  • Spontaneous resets

    Starting today, on every half hour, my pre was provided to zero itself. It is a touchstone, plugged into the supplied cable and wall-wart of Palm. Usually about a 3 minute restart a fully functional unit. Single application clock running at the time