Help with retrieiving texts

I am working with the invoic02 idoc.  In my example, I have an idoc with two E1EDP01 segments.  The first item contains one E1EDPT1 segment with three lines of text (three E1EDPT2 segments).  The second item contains two text segments (E1EDPT1), the first with three E1EDPT2 segments, the second having only one.  Below is a 'snapshot' of what I am talking about. 
I want to map only the ZBLT text to the special instructions at the line item of a chemXML Invoice.  When I do a straight mapping, where the context is set to E1EDP01, the first line item works fine (as there is no ZBLT), however the second line item returns the wrong text.  It returns (below) "ADJUVANTS 5".  I assume this is due to ZBLT being the second item, telling XI to return the second text item (of the four) regardless to which E1EDPT1it's related to.
I attempted to use UseOneAsMany, however I could not get it to return what I needed.  I followed some instructions on this function.  For the three items, I used TDID (with context on E1EDPT1), TDLINE (with context on E1EDPT1) and tried to use TDLINE (with context on E1EDP01 to get the two contexts).  This failed.  I couldn't use UseOneAsMany unless the final items's context was E1EDPT1 or E1EDPT2, which does me no help.
Any ideas on what I can do?
The first line item:
               <E1EDPT1 SEGMENT="1">
                    <TDID>Z034</TDID>
                    <TSSPRAS>E</TSSPRAS>
                    <TSSPRAS_ISO>EN</TSSPRAS_ISO>
                    <E1EDPT2 SEGMENT="1">
                         <TDLINE>ADJUVANTS 1</TDLINE>
                         <TDFORMAT>*</TDFORMAT>
                    </E1EDPT2>
                    <E1EDPT2 SEGMENT="1">
                         <TDLINE>ADJUVANTS 2</TDLINE>
                         <TDFORMAT>*</TDFORMAT>
                    </E1EDPT2>
                    <E1EDPT2 SEGMENT="1">
                         <TDLINE>ADJUVANTS 3</TDLINE>
                         <TDFORMAT>*</TDFORMAT>
                    </E1EDPT2>
               </E1EDPT1>
The second line item:
               <E1EDPT1 SEGMENT="1">
                    <TDID>Z034</TDID>
                    <TSSPRAS>E</TSSPRAS>
                    <TSSPRAS_ISO>EN</TSSPRAS_ISO>
                    <E1EDPT2 SEGMENT="1">
                         <TDLINE>ADJUVANTS 4</TDLINE>
                         <TDFORMAT>*</TDFORMAT>
                    </E1EDPT2>
                    <E1EDPT2 SEGMENT="1">
                         <TDLINE>ADJUVANTS 5</TDLINE>
                         <TDFORMAT>*</TDFORMAT>
                    </E1EDPT2>
                    <E1EDPT2 SEGMENT="1">
                         <TDLINE>ADJUVANTS 6</TDLINE>
                         <TDFORMAT>*</TDFORMAT>
                    </E1EDPT2>
               </E1EDPT1>
               <E1EDPT1 SEGMENT="1">
                    <TDID>ZBLT</TDID>
                    <E1EDPT2 SEGMENT="1">
                         <TDLINE>140.000</TDLINE>
                         <TDFORMAT>*</TDFORMAT>
                    </E1EDPT2>
               </E1EDPT1>

Hi Larry,
Use a simple if then with no else part and map like this:
e1edpt1(context to ededp01) --> exists --> splitbyvlaue(each value)  --> this is first input to and
tdid (context to ededp01) equals to ZBLT --> exists --> splitbyvlaue(each value) --> this is second input to and
in the above the output --> if
then TDLINE (context to e1edpt1)
The output of if then to remove context and then to target.
If this doesnot work then give chemXML inovice xsd or from location where we can download and a sampel input payload for invoice so that somebody can help you.
Regards,
---Satish

Similar Messages

  • I need help with my text tone and I have ring tone. no text tone for the 4s.

    I need help with my text tone. I have ring tone no text tone. I have a 4s.

        Hi Sarar2333!  Let's get your text tones working again!
    Here's a link with instructions how to enable and change your alert sounds for your text/notification settings on your iPhone 4S: http://vz.to/1stiF8a.  You can ensure text tones are enabled by selecting a tone in the "Text Tone" setting.  Let me know how that works out for you.  Thanks!
    AnthonyTa_VZW
    Follow us on Twitter @VZWSupport

  • Help with Replacing text in a file using a vbscript

    I have the following script which I am wanting to
    1. Take the prf file and read it
    2. Edit a line in the  outlook .prf file replacing it with the text I have asked it to replace which is the full name of the user pulled from the currently logged on user
    The problem I am seeing is that when the temp file is being generated it is throwing off the formatting of the file hence the script doesn't work. Can anyone help me please.
    set objSysInfo = CreateObject("ADSystemInfo")
    struser = objSysInfo.Username
    set objUser = GetObject("LDAP://" & strUser)
    strFullName = objUser.Get("displayName")
    Const ForReading=1
    Const ForWriting=2
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    folder = "C:\test"
    'filePath = folder & "file.txt"
    filePath = "c:\test\test2007_3.prf"
    Set myFile = objFSO.OpenTextFile(filePath, ForReading)
    Set myTemp= objFSO.OpenTextFile(filePath & ".tmp", ForWriting, True)
    Do While Not myFile.AtEndofStream
    myLine = myFile.ReadLine
     If InStr(myLine, "MailboxName=%UserName%") Then
      myLine = "&strFullName"
     End If
     myTemp.WriteLine myLine
    Loop
    myFile.Close
    myTemp.Close
    objFSO.DeleteFile(filePath)
    objFSO.MoveFile filePath& ".tmp", filePath
    Christopher

    Sorry Irv,
    Here is the code I have and then after that is the prf file. I think there is an issue with the file structure because if I take a regular text file and add the lines in there myself it replaces the lines, but with the prf file or even the prf file as a
    text file it gives me the invalid argument message
    Const filePath = "c:\test\test2007_3.txt"
     Set objFSO = CreateObject("Scripting.FileSystemObject")
     Set myFile = objFSO.OpenTextFile(filePath)
    fileText = myFile.ReadAll()
    myFile.Close
    fileText=Replace(fileText,"%UserName%","THIS_IS_THS_REPLACEMENT_TEXT")
     Set myTemp= objFSO.OpenTextFile(filePath, 2, True)
     myTemp.Write fileText
     myTemp.Close
    ;Automatically generated PRF file from the Microsoft Office Customization and Installation Wizard
    ; Section 1 - Profile Defaults
    [General]
    Custom=1
    ProfileName=Somthing
    DefaultProfile=Yes
    OverwriteProfile=Yes
    ModifyDefaultProfileIfPresent=false
    DefaultStore=Service1
    ; Section 2 - Services in Profile
    [Service List]
    ServiceX=Microsoft Outlook Client
    ServiceEGS=Exchange Global Section
    Service1=Microsoft Exchange Server
    ServiceEGS=Exchange Global Section
    ; Section 3 - List of internet accounts
    [Internet Account List]
    ; Section 4 - Default values for each service.
    [ServiceX]
    CachedExchangeMode=0x00000002
    CachedExchangeSlowDetect=true
    [ServiceEGS]
    CachedExchangeConfigFlags=0x00000900
    MailboxName=%UserName%
    HomeServer=
    RPCoverHTTPflags=0x0027
    RPCProxyServer=
    RPCProxyPrincipalName=
    RPCProxyAuthScheme=0x0001
    [Service1]
    OverwriteExistingService=No
    UniqueService=Yes
    MailboxName=%UserName%
    HomeServer=
    OfflineAddressBookPath=%USERPROFILE%\local settings\application data\microsoft\outlook\
    OfflineFolderPathAndFilename=%USERPROFILE%\local settings\application data\microsoft\outlook\outlook.ost
    AccountName=Microsoft Exchange Server
    DefaultAccount=TRUE
    ;[ServiceX]
    ;FormDirectoryPage=
    ;-- The URL of Exchange Web Services Form Directory page used to create Web forms.
    ;WebServicesLocation=
    ;-- The URL of Exchange Web Services page used to display unknown forms.
    ;ComposeWithWebServices=
    ;-- Set to true to use Exchange Web Services to compose forms.
    ;PromptWhenUsingWebServices=
    ;-- Set to true to use Exchange Web Services to display unknown forms.
    ;OpenWithWebServices=
    ;-- Set to true to prompt user before opening unknown forms when using Exchange Web Services.
    ; Section 5 - Values for each internet account.
    ; Section 6 - Mapping for profile properties
    [Microsoft Exchange Server]
    ServiceName=MSEMS
    MDBGUID=5494A1C0297F101BA58708002B2A2517
    MailboxName=PT_STRING8,0x6607
    HomeServer=PT_STRING8,0x6608
    OfflineAddressBookPath=PT_STRING8,0x660E
    OfflineFolderPathAndFilename=PT_STRING8,0x6610
    [Exchange Global Section]
    SectionGUID=13dbb0c8aa05101a9bb000aa002fc45a
    MailboxName=PT_STRING8,0x6607
    HomeServer=PT_STRING8,0x6608
    RPCoverHTTPflags=PT_LONG,0x6623
    RPCProxyServer=PT_UNICODE,0x6622
    RPCProxyPrincipalName=PT_UNICODE,0x6625
    RPCProxyAuthScheme=PT_LONG,0x6627
    CachedExchangeConfigFlags=PT_LONG,0x6629
    [Microsoft Mail]
    ServiceName=MSFS
    ServerPath=PT_STRING8,0x6600
    Mailbox=PT_STRING8,0x6601
    Password=PT_STRING8,0x67f0
    RememberPassword=PT_BOOLEAN,0x6606
    ConnectionType=PT_LONG,0x6603
    UseSessionLog=PT_BOOLEAN,0x6604
    SessionLogPath=PT_STRING8,0x6605
    EnableUpload=PT_BOOLEAN,0x6620
    EnableDownload=PT_BOOLEAN,0x6621
    UploadMask=PT_LONG,0x6622
    NetBiosNotification=PT_BOOLEAN,0x6623
    NewMailPollInterval=PT_STRING8,0x6624
    DisplayGalOnly=PT_BOOLEAN,0x6625
    UseHeadersOnLAN=PT_BOOLEAN,0x6630
    UseLocalAdressBookOnLAN=PT_BOOLEAN,0x6631
    UseExternalToHelpDeliverOnLAN=PT_BOOLEAN,0x6632
    UseHeadersOnRAS=PT_BOOLEAN,0x6640
    UseLocalAdressBookOnRAS=PT_BOOLEAN,0x6641
    UseExternalToHelpDeliverOnRAS=PT_BOOLEAN,0x6639
    ConnectOnStartup=PT_BOOLEAN,0x6642
    DisconnectAfterRetrieveHeaders=PT_BOOLEAN,0x6643
    DisconnectAfterRetrieveMail=PT_BOOLEAN,0x6644
    DisconnectOnExit=PT_BOOLEAN,0x6645
    DefaultDialupConnectionName=PT_STRING8,0x6646
    DialupRetryCount=PT_STRING8,0x6648
    DialupRetryDelay=PT_STRING8,0x6649
    [Personal Folders]
    ServiceName=MSPST MS
    Name=PT_STRING8,0x3001
    PathAndFilenameToPersonalFolders=PT_STRING8,0x6700 
    RememberPassword=PT_BOOLEAN,0x6701
    EncryptionType=PT_LONG,0x6702
    Password=PT_STRING8,0x6703
    [Unicode Personal Folders]
    ServiceName=MSUPST MS
    Name=PT_UNICODE,0x3001
    PathAndFilenameToPersonalFolders=PT_STRING8,0x6700 
    RememberPassword=PT_BOOLEAN,0x6701
    EncryptionType=PT_LONG,0x6702
    Password=PT_STRING8,0x6703
    [Outlook Address Book]
    ServiceName=CONTAB
    [LDAP Directory]
    ServiceName=EMABLT
    ServerName=PT_STRING8,0x6600
    UserName=PT_STRING8,0x6602
    UseSSL=PT_BOOLEAN,0x6613
    UseSPA=PT_BOOLEAN,0x6615
    EnableBrowsing=PT_BOOLEAN,0x6622
    DisplayName=PT_STRING8,0x3001
    ConnectionPort=PT_STRING8,0x6601
    SearchTimeout=PT_STRING8,0x6607
    MaxEntriesReturned=PT_STRING8,0x6608
    SearchBase=PT_STRING8,0x6603
    CheckNames=PT_STRING8,0x6624
    DefaultSearch=PT_LONG,0x6623
    [Microsoft Outlook Client]
    SectionGUID=0a0d020000000000c000000000000046
    FormDirectoryPage=PT_STRING8,0x0270
    WebServicesLocation=PT_STRING8,0x0271
    ComposeWithWebServices=PT_BOOLEAN,0x0272
    PromptWhenUsingWebServices=PT_BOOLEAN,0x0273
    OpenWithWebServices=PT_BOOLEAN,0x0274
    CachedExchangeMode=PT_LONG,0x041f
    CachedExchangeSlowDetect=PT_BOOLEAN,0x0420
    [Personal Address Book]
    ServiceName=MSPST AB
    NameOfPAB=PT_STRING8,0x001e3001
    PathAndFilename=PT_STRING8,0x001e6600
    ShowNamesBy=PT_LONG,0x00036601
    ; Section 7 - Mapping for internet account properties.  DO NOT MODIFY.
    [I_Mail]
    AccountType=POP3
    ;--- POP3 Account Settings ---
    AccountName=PT_UNICODE,0x0002
    DisplayName=PT_UNICODE,0x000B
    EmailAddress=PT_UNICODE,0x000C
    ;--- POP3 Account Settings ---
    POP3Server=PT_UNICODE,0x0100
    POP3UserName=PT_UNICODE,0x0101
    POP3UseSPA=PT_LONG,0x0108
    Organization=PT_UNICODE,0x0107
    ReplyEmailAddress=PT_UNICODE,0x0103
    POP3Port=PT_LONG,0x0104
    POP3UseSSL=PT_LONG,0x0105
    ; --- SMTP Account Settings ---
    SMTPServer=PT_UNICODE,0x0200
    SMTPUseAuth=PT_LONG,0x0203
    SMTPAuthMethod=PT_LONG,0x0208
    SMTPUserName=PT_UNICODE,0x0204
    SMTPUseSPA=PT_LONG,0x0207
    ConnectionType=PT_LONG,0x000F
    ConnectionOID=PT_UNICODE,0x0010
    SMTPPort=PT_LONG,0x0201
    SMTPSecureConnection=PT_LONG,0x020A
    ServerTimeOut=PT_LONG,0x0209
    LeaveOnServer=PT_LONG,0x1000
    [IMAP_I_Mail]
    AccountType=IMAP
    ;--- IMAP Account Settings ---
    AccountName=PT_UNICODE,0x0002
    DisplayName=PT_UNICODE,0x000B
    EmailAddress=PT_UNICODE,0x000C
    ;--- IMAP Account Settings ---
    IMAPServer=PT_UNICODE,0x0100
    IMAPUserName=PT_UNICODE,0x0101
    IMAPUseSPA=PT_LONG,0x0108
    Organization=PT_UNICODE,0x0107
    ReplyEmailAddress=PT_UNICODE,0x0103
    IMAPPort=PT_LONG,0x0104
    IMAPUseSSL=PT_LONG,0x0105
    ; --- SMTP Account Settings ---
    SMTPServer=PT_UNICODE,0x0200
    SMTPUseAuth=PT_LONG,0x0203
    SMTPAuthMethod=PT_LONG,0x0208
    SMTPUserName=PT_UNICODE,0x0204
    SMTPUseSPA=PT_LONG,0x0207
    ConnectionType=PT_LONG,0x000F
    ConnectionOID=PT_UNICODE,0x0010
    SMTPPort=PT_LONG,0x0201
    SMTPSecureConnection=PT_LONG,0x020A
    ServerTimeOut=PT_LONG,0x0209
    CheckNewImap=PT_LONG,0x1100
    RootFolder=PT_UNICODE,0x1101
    [INET_HTTP]
    AccountType=HOTMAIL
    Account=PT_UNICODE,0x0002
    HttpServer=PT_UNICODE,0x0100
    UserName=PT_UNICODE,0x0101
    Organization=PT_UNICODE,0x0107
    UseSPA=PT_LONG,0x0108
    TimeOut=PT_LONG,0x0209
    Reply=PT_UNICODE,0x0103
    EmailAddress=PT_UNICODE,0x000C
    FullName=PT_UNICODE,0x000B
    Connection Type=PT_LONG,0x000F
    ConnectOID=PT_UNICODE,0x0010
    Christopher

  • Need help with cleening text during ExportAllStories (JS-CS4)

    I have altered the ExportAllStories.jsx script for CS4 to export the selected TextFrame(s).
    The main function are the same as in the original.
    It works fine, but I need advice on how to clean the text before it gets exported to a text file.
    I have tried to pass the TextFrame object myStory, as in the original script, to a function like this:
    myStory = cleantext(myStory)
    The function cleantext works with a text string passed to it,like this:
    function cleantext(s) {
    s.replace(/\u2011/g,'-');
    I guess I have to extract the myStory object to a text string but haven’t succeeded yet.
    Maybe the solution is to do some search and replace with GREP or other techniques?
    All tips on how to proceed would be appreciated.

    This is how i solved my problem.
    With the help from Peter Kahrels function
    function replace (f, r)
       app.findGrepPreferences.findWhat = f;
       app.changeGrepPreferences.changeTo =r;
       app.documents[0].changeGrep ()
    And in my script I could easily do this:
    app.findGrepPreferences = app.changeGrepPreferences = null;
    story = app.selection[0].parentStory;
    // Sample: Replace non-breaking hyphen (8209 -> \u2011) with a regular hyphen.
    replace("/\u2011/g",'-');
    app.findGrepPreferences = app.changeGrepPreferences = null;
    And thereafter proceeding with the exporting stuff.
    Thank you all contributors in this forum!

  • Help with Scrolling Text

    I am a big iMovie fan, but I have just had a problem while attempting to create a video game trailer. I have never experienced this before, and I do not know how to get by it.
    Ok. So I have 20 seconds of scrolling text, and about 28 lines of text. 247 characters with no spaces if you really want to know. I have 20 seconds of video behind it.
    Here's the problem: The last five lines of text are cut off. They are completely normal: Helvectia, Bold, 16 size, Left sided, white. There is no fancy text or images around it besides for the video behind it. (It played fine before with no video behind it).
    I've tried resizing the video, the text length, everything I can think of, and nothing works. Please help ASAP.
    I am running this on a MacBook, iMovie '08, the total time of video is 41 seconds. The video behind the scrolling text is a .mov file.
    Thanks!

    Note: The problem seems to have fixed itself. I do not know what the problem was, but I was messing around with the text and I noticed the missing lines were back. If anybody knows what the problem was, or wants to contribute to this post, please do so.
    Thanks!
    Contact: jomskylark [AT] gmail [DOT] com
    Message was edited by: sky_lark

  • Help with Scrolling Text Item.

    Hi , need help with making a text item scrollable.
    i.e. A field is 30 characters and i can only display 10
    characters, now what I would like is a scroll bar under the text
    item.
    Is this possible. I am using Forms 5.
    Thanx for any help.
    Pankaj Patel.
    null

    Petr Valouch (guest) wrote:
    : Pankaj Patel (guest) wrote:
    : : Hi , need help with making a text item scrollable.
    : : i.e. A field is 30 characters and i can only display 10
    : : characters, now what I would like is a scroll bar under the
    : text
    : : item.
    : : Is this possible. I am using Forms 5.
    : : Thanx for any help.
    : : Pankaj Patel.
    : Hi
    : You need that scrollbar under the item? You can set length
    of
    : text item and its size independently, so you can have text
    item
    : char(30) with size of 10 characters.
    An alternative is to declare the item as a multi-line text item
    with wrap set on. This would give you a vertical scroll bar on
    the item.
    Another option is to programmaticaly pop up an Editor, each time
    focus is moved to the item, or to actually change the width of
    the item when focus moves to it (and shrink it back when focus
    moves away.
    Simon Hedges
    Gloucester
    UK
    null

  • Value help with short text

    Hi gurus,
    I'm trying to create a input value help with the records from my internal table but I woulkd like also to put the short when the popup displays.
    Actually I only have the records.
    SELECTION-SCREEN BEGIN OF BLOCK ref WITH FRAME TITLE text-t03.
    SELECT-OPTIONS:
                    s_kstar FOR i_cska-kstar.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_kstar-low.
      PERFORM search_kstar USING s_kstar-low.
    FORM search_kstar
                     using kstar type cska-kstar.
      SELECT * FROM cska
                   INTO CORRESPONDING FIELDS OF TABLE i_cska
                   WHERE kstar LIKE '08%'
                   OR    kstar LIKE '008%'
                   OR    kstar LIKE '0008%'.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield    = 'KSTAR'
          dynprofield = 's_kstar'
          dynpprog    = sy-cprog
          dynpnr      = sy-dynnr
          value_org   = 'S'
        TABLES
          value_tab   = i_cska.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION 'HELP_VALUES_GET'
           EXPORTING
                fieldname        =  'KSTAR'
                tabname          =  'i_cska'
           IMPORTING
                SELECT_VALUE     =   kstar.
    ENDFORM.                    " SEARCH_KSTAR
    Anybody would a solution.
    Thx in advance for your help.
    Mohamed.

    Hi Mohamed,
    Check the Following.
    "  Implement your own search Help as below
    PARAMETERS : carrid TYPE spfli-carrid,
                 connid TYPE spfli-connid,
                 fldate TYPE sflight-fldate.
    DATA : itab TYPE TABLE OF sflight WITH HEADER LINE.
    DATA : fmap TYPE TABLE OF dselc WITH HEADER LINE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR carrid." If it is a selection Screen
    else in PROCESS ON VALUE REQUEST
      SELECT * FROM sflight INTO TABLE itab.
      SORT itab BY carrid connid fldate.
      DELETE ADJACENT DUPLICATES FROM itab
      COMPARING carrid connid fldate.
      fmap-fldname = 'CARRID'.
      fmap-dyfldname = 'CARRID'.
      APPEND fmap.
      fmap-fldname = 'CONNID'.
      fmap-dyfldname = 'CONNID'.
      APPEND fmap.
      fmap-fldname = 'FLDATE'.
      fmap-dyfldname = 'FLDATE'.
      APPEND fmap.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
         ddic_structure         = 'SFLIGHT'
          retfield               = 'CARIID'
    *     PVALKEY                = ' '
         dynpprog               = sy-repid
         dynpnr                 = sy-dynnr
         DYNPROFIELD            = 'CARRID'
    *     STEPL                  = 0
    *     WINDOW_TITLE           =
    *     VALUE                  = ' '
         value_org              = 'S'
    *     MULTIPLE_CHOICE        = ' '
    *     DISPLAY                = ' '
    *     CALLBACK_PROGRAM       = ' '
    *     CALLBACK_FORM          = ' '
    *     MARK_TAB               =
    *   IMPORTING
    *     USER_RESET             =
        TABLES
          value_tab              = itab
    *     FIELD_TAB              =
    *     RETURN_TAB             =
         dynpfld_mapping        = fmap
    *   EXCEPTIONS
    *     PARAMETER_ERROR        = 1
    *     NO_VALUES_FOUND        = 2
    *     OTHERS                 = 3
                ." Just Execute this pilot program and verify
      IF sy-subrc  0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Cheerz
    Ram

  • Help with dynamic text and and css !

    My second question of the day.
    I'm trying to build a feature in my app in which the user can
    hide/reveal
    bolding and or
    italics and or
    underlining. The text is being loaded in from an xml file
    and I was thinking about styling it with css in order to get the
    underlining. My problem is that the only way I can think about
    pulling this off is to have a css style sheet that has a defined
    bold,italic and underline class defined- - then another one that
    just has a italic and underline class defined -- then another one
    that has just a bold and underline class defined . . . and so on
    and so on. You can see why I would prefer a much more streamlined
    system. Unfortunately my experience with dynamic text styling is
    somewhat limited. Hopefully someone can help me out here.

    Perfect. I knew it was some little snippet that I was
    forgetting. I made a temporary fix of creating a 0% alpha box over
    the button like a fake click area above the text, and that worked
    but I know that it was a half-arsed way of working around it.
    Thanks.

  • Requied help with WWV_FLOW_ITEM.TEXT

    Hi Forum,
    This one is bothering me a lot. I am in need of your help with his. Hope i get one sooner... :)
    Well, actually If you look at the code, you would get what i am trying to do here. "RIE.DESIGN + RIE.TEST_CASE_PREP + RIE.DESIGN_REVIEW + RIE. DESIGN_REWORK + RIE.TEST_CASE_REVIEW + RIE.TEST_CASE_REWORK" are the columns of a single table and i am trying to display it by adding them all.(row based addition).
    I have a submit button.
    The Process happens normal when the page is loaded. It adds all the 6 columns and displays correctly. but when i do some process in the page and click submit button, the value in the "TOTAL WORT is added once again and i get the values added twice.
    eg : on load the value of TOTAL WORK is 10 and on click of submit button, it keeps adding 10 more.. like 20. 30 40 and keeps going.
    I just want this to be constant. Please help me out with this.
    wwv_flow_item.TEXT(4,(RIE.DESIGN + RIE.TEST_CASE_PREP + RIE.DESIGN_REVIEW + RIE. DESIGN_REWORK + RIE.TEST_CASE_REVIEW + RIE.TEST_CASE_REWORK) "TOTAL WORK".
    Thanks,
    Vikram

    Hi Vikram,
    What is that you are doing in the process which alters the value?
    Thanks
    Satty

  • Need help with optimizing text appearance when exporting video

    Here's what I'm trying to do:
    1. Convert a Powerpoint presentation to an MP4 (AVC) file, frame rate 30 (actually defaults to 29.97) and video bit rate of 1200kbps,using Wondershare PPT2VideoPro.  (There are no actual video clips contained in the original PPT file).
    2. Import the newly created MP4 video into a new project in Premeire Elements.
    3. Add audio files (WAV) created by Audacity.
    4. Export the final product as a video.
    Here's the problem:
    The text quality in the final exported film is very poor, and the screen occasionally seems to sublty flicker once and a while.  I've tried multiple different settings, but all with the same result.
    Can anyone offer suggestions on optimal settings for exporting the final product such that the text is as clear as possible?  (The text in the MP4 file created by Wondershare looks great.)
    Thanks!
    - Ernest

    One option would be to create the Text Images in Photoshop, and Save_As a PSD.
    For large sets of Titles, I do the text portion in Word/WordPerfect, so I can use Spell-Check. Then in PS, I just Copy/Paste the text into an Image, where I apply all of the PS Styles that I need. Because I use PrPro for most of my NLE work, I will often do the Titles with Layered Text, and Import those as a Sequence, so that the Layers are not Flattened. This allows me to independently animate each Layer, as I need. Unfortunately, PrE does not allow one to Import the Layered PSD's, Unflattened, as it does not have Sequences.
    Also note that PrE's Titler's Styles are just a starting point. Once applied, one can alter most aspects, and when they are satisfied with the changes, they can then Save the new Style and re-use it over and over. Do not forget the ability to modify those Styles.
    From PowerPoint, and this depends on the version, the best that one can usually do is to Export each "slide" as a TIFF, and Import those into the NLE program.
    Good luck,
    Hunt

  • Help with printing text to Text Edit

    -- Here is a applescript that generates prime numbers up to a certain number. I tried to get the script to print out every number up to the number defined in a text edit document. I got a -1700 error that says (error "Can’t make result of 3 into type Unicode text." number -1700 from result of 3 to Unicode text). If anyone has any help that they can offer me it will be greatly appreciated.
    Heres the Script
    local min, max, neverZero, maxDiv, divTry, res
    set {min, max} to {1, 503}
    set res to {}
    if min = 1 then set min to 2
    if min = 2 then set {res, min} to {{2}, 3}
    if min mod 2 = 0 then set min to min + 1
    repeat until min > max
        set maxDiv to intsqrt(min)
        set {neverZero, divTry} to {true, 3}
        repeat until divTry > maxDiv
            if min mod divTry = 0 then
                set neverZero to false
                exit repeat
            end if
            set divTry to divTry + 2
        end repeat
        if neverZero then
            set res to res & min
            log min
            set resultinfo to "" & result of min
            tell application "TextEdit"
                activate
                set nme_file to ""
                set the_file to (open for access nme_file with write permission)
                write "" & resultinfo to the_file
                write return & resultinfo to the_file starting at eof
                close access the file
            end tell
        end if
        set min to min + 2
    end repeat
    on intsqrt(N)
        return (do shell script "echo 'sqrt (" & N & " )' | /usr/bin/bc")
    end intsqrt

    You're confusing two different steps.  If you want to write the data to an open textedit window, you build a text string of the integers and then write it out to the window like this:
    tell application "TextEdit"
              set text of document 1 to text_string
    end tell
    After that you'll have to save the document.  On the other hand, if you want to write directly to the file on disk, don't use a textedit tell block - just write to the file at the script level (i.e. your code looks correct, but shouldn't be in a tell block).  then you'll have to convince the open textedit window to refresh (which might be a bit tricky).

  • Help with adding text please.

    Hi- Im new to the forum and even newer to Dreamweaver.
    Ive just started putting a site together using a youtube
    tutorial which has gone really well. Ive designed my layout in
    photoshop, then put it into imageready to edit/slice, saved as
    html- then opened with dreamweaver. I found it easy this way, and
    rollovers can be made within the html file in image ready.
    Anyway- heres where the problems started- Im trying to add
    text over on image. The tutorial I went off said to cut the image
    from the Src then paste it into the Bg field so that you can type
    over it- but it goes nuts! When you enter at the end of text lines
    the image begins to repeat itself underneath and white blocks show
    up at the side of the image!?
    Is there a way to just easily type over on image- i tried
    doing this in image ready which works, but saves the text as an
    image, but I want the text the be recognised by google- Im
    confused- please help.
    I was reading about tables and adding the image as a table
    background- but positioning the table in the correct place is
    confusing too- told you i was a newbie!
    Thanks in advance for any help!
    Claire

    Universal wisdom, except of course, at this NG. :-)
    Walt
    "Nancy O" <[email protected]> wrote in message
    news:[email protected]...
    > At YouTube, you get what you pay for. ;-)
    >
    > --Nancy O.
    > Alt-Web Design & Publishing
    > www.alt-web.com
    >
    >
    > "Walt F. Schaefer" <[email protected]> wrote
    in message
    > news:[email protected]...
    >> I confess I've never been to YouTube but I don't
    think it would be my
    > first
    >> choice for DW tuts.
    >>
    >> --
    >>
    >> Walt
    >>
    >>
    >> "Nancy O" <[email protected]> wrote in
    message
    >> news:[email protected]...
    >> > Walt is 100% correct. Image Ready code - yuck!
    >> >
    >> > To give you a basic idea of how to work with
    image slices in DW, have a
    >> > look
    >> > at this page:
    >> >
    http://alt-web.com/Image-slices-in-a-CSS-based-layout.html
    >> >
    >> > Also this: Taking a Fireworks (or Pshop) comp
    to a CSS based layout in
    > DW
    >> >
    >
    http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt1.html
    >> >
    >> > If none of this makes any sense to you, start
    here:
    >> > www.w3schools.com
    >> >
    >> >
    >> > --Nancy O.
    >> > Alt-Web Design & Publishing
    >> > www.alt-web.com
    >> >
    >> >
    >> > "claire 83"
    <[email protected]> wrote in message
    >> > news:[email protected]...
    >> >> Hi- Im new to the forum and even newer to
    Dreamweaver.
    >> >> Ive just started putting a site together
    using a youtube tutorial
    > which
    >> > has
    >> >> gone really well. Ive designed my layout in
    photoshop, then put it
    >> >> into
    >> >> imageready to edit/slice, saved as html-
    then opened with dreamweaver.
    > I
    >> > found
    >> >> it easy this way, and rollovers can be made
    within the html file in
    > image
    >> > ready.
    >> >> Anyway- heres where the problems started-
    Im trying to add text over
    > on
    >> > image.
    >> >> The tutorial I went off said to cut the
    image from the Src then paste
    > it
    >> > into
    >> >> the Bg field so that you can type over it-
    but it goes nuts! When you
    >> > enter at
    >> >> the end of text lines the image begins to
    repeat itself underneath and
    >> > white
    >> >> blocks show up at the side of the image!?
    >> >> Is there a way to just easily type over on
    image- i tried doing this
    > in
    >> > image
    >> >> ready which works, but saves the text as an
    image, but I want the text
    >> >> the
    >> > be
    >> >> recognised by google- Im confused- please
    help.
    >> >> I was reading about tables and adding the
    image as a table
    >> >> background-
    >> > but
    >> >> positioning the table in the correct place
    is confusing too- told you
    >> >> i
    >> > was a
    >> >> newbie!
    >> >> Thanks in advance for any help!
    >> >> Claire
    >> >>
    >> >
    >> >
    >>
    >>
    >
    >

  • Need help with creating text anchors with tagged text.

    Can anyone tell me how to determine the correct value for a "Hyperlink Dest Index" value?
    I have a script which creates a tagged text file that specifies about about 280 pages of tables (thank heavens for autoflow) , and would like to add live links between different parts. I can create a text anchor and a hyperlink to it in InDesign. The tagged text definition for the link source is simple and in-line and exports and imports nicely as tagged text. However, I see that all the link destinations, aka  text anchors, are all exported at the very end of the tagged text files as global definitions, and thier location iin the document is specified by the property HyperlinkDestIndex. However, I can't figure out how to set this value progammatically. I've spent over an hour exporting links, and it sure isn't anything as obvious as character index in the story.
    Any advice appreciated,
      Read Roberts

    Read, I'm not sure the following is going to help you. It works for external hyperlinks, but you want internal links, right? Anyway, it might give you some clues.
    A funny thing: I was reviewing some script where I got links to work, and I spotted a tiny coding error. Links seemed to be defined by two separate identifiers: a "link name", which is what appears in Edit Hyperlink dialog, and a "Dest Key", which seems to be a simple increasing number. However, due to aformentioned coding error, the dest keys between the actual link and its definition were off by '1', so there was no way that ought to have matched. But it still worked! So "Dest Key" is a red herring ...
    As far as I understand, it works like this (for hyperlinks): in your text, you have
    HplName -- this is actually the 'title' that appears in the Hyperlink palette
    HplDest -- this is the 'internal name'
    DestKey. Hm. Perhaps you could omit this, per above obsvn.
    CharStyleRef, the name of the auto-applied style
    Hid -- seems to be always '0'
    HplOff: the "offset" from this entire command to the start of the hyperlink, in InDesign characters.
    HplLen: the "length" from the hyperlinked text, in InDesign characters.
    and in the list of 'proper' definitions, those that appear at the very end of your file:
    HplDestDfn -- the internal name again
    DestKey -- see above
    HplDestUrl -- finally! A real URL! (But you must escape lots of characters, such as the forward slash and colon.)
    Hid -- again, always seems to be '0'.
    Some of these items are perhaps optional, but experimenting with what may be left out only lead to frustration The Tagged Text guide is far from complete, as I'm sure you already knew.
    As noted, some (or all) of the named items need a backslash escape for a few characters, but I can't find a definitive way to determine in advance what is 'good' and what is 'not good'.
    The following script creates a Tagged Text file with a couple of working hyperlinks in it -- I don't know if this is of any help for your internal links.
    var hyperlinkDest = [];
    var text = "This is some text with a link [http://www.jongware.com/idjshelp.html] and another one [http://forums.adobe.com/thread/1014617?tstart=0] in it.";
    var tagtext = text.replace (/\[(.+?)\]/g, function (full, match)
                        return makelink (match, 'title:'+match, match, match);
    // When done processing plain text, add the destinations at the end:
    tagtext += hyperlinkDest.join('');
    tagFile = File(Folder.myDocuments+'/__tmp.txt');
    if (tagFile.open('w') == false)
              alert ("Unable to create temporary file!");
              exit();
    if (File.fs == "Windows")
              tagFile.write ("<ASCII-WIN>\n");
    else
              tagFile.write ("<ASCII-MAC>\n");
    tagFile.write ("<dcs:HYPERLINK=<cu:1>>\n");
              tagFile.write (tagtext);
    tagFile.close();
    // 'text' is the actual text that will be clickable
    // 'title' is what will appear in the Hyperlinks palette
    // 'name' is the internal name in the Edit Hyperlink dialog
    // 'url' is the actual URL that will be linked to
    function makelink (text, title, name, url)
              var destkey = hyperlinkDest.length;
              // In URL you must escape forward slashes and colons
              // .. and some other characters as well, by the way. There seems to be no list
              url = url.replace(/\//g, '\\/').replace(/:/g, '\\:');
              hyperlinkDest.push ('<HplDestDfn:=<HplDestName:'+name+'><DestKey:'+String(destkey)+'><HplDestUrl:'+url+'><Hid:0>>');
              return '<Hpl:=<HplName:'+title+'><HplDest:'+name+'><DestKey:'+String(destkey)+'><CharStyleRef:HYPERLINK><Hid:0><Brdrv:0><HplOff:0><HplLen:'+String(text.length)+'>>'+text;

  • Need Help with Arrays/Text

    I'm trying to create a flash program that uses it's own code to send and create images. Each square has a colour and that colour gets added into the array. A black, then grey, then white is:
    filecode = ["Bl", "Gr", "Wh"];
    That works fine, but when I try to paste it into an Input text box it will only fill in the first part of the array.
    filecode = ["Bl,Gr,Wh"];
    So the program has NO idea what I want.
    The only ways I can think of fixing this is by putting in 402 text boxes to suit every box...But every one of them needs a Variable Name.
    Or by sending the information straight into the array. But this way you are just looking at what you just drew, and that is not at ALL practical.
    Helping me with this headache will be greatly apprectiated.
    FlashDrive100.

    If you can explain the first part of your posting it might become a little clearer what you are trying to do and what isn't working... particularly this...
    " when I try to paste it into an Input text box it will only fill in the first part of the array."
    I can't speak for anyone else, but at this point, I share your file's problem... not knowing what you want.

  • Need Help with parsing text

    Hello all, I hope this is an easy question....
    I have a string similar to
    <li><span class="RandomInformation">the latest news on my site</span></li>
    I am currently geting a string where each new line is a new <li> from a pure http call. what I need to do is split this down into an array of strings (Yes this is my website, and no im not trying to rebrand other's work...:) ) delimeted on :
    - each line needs to be a separate element within a multidimensional array
    - Can't split on CrLf because further up and further down I have other entries I dont care about, so I need to use the <li></li> as indicators that they contain the information I want.
    - out of each line, I need to separate them into multiple 'columns' within the array
    - one for the contents of the span clas (in this case "RandomInformation"
    - one element for the contents of the link (in this case my url, http://www.w2gas.com, but will be sub pages later like http://www.w2gas.com/page2.html)
    - most importantly one element for the text between anchor tags (this case it is "the latest news on my site")
    I tried a Regex for stripping the HTML tags out, however all I was left with was the text between anchors. I know I could do it based on character by character looping (have done that) but its terrible slow. I know there must be a way to accomplish this, however Im just too new to figure it out. (maybe?)
    Thanks in advance
    Lee

    Would something like [this |http://htmlparser.sourceforge.net/] help?

Maybe you are looking for

  • Changed DC IP address, still wrong in DNS

    Hi I've been banging my head for a few hours on this and can't seem to correct it. Here's what's going on: We have 2 domains in our forest. The DC with the problem is part of the child domain. It's IP changed from a 10.90.0.x to 10.238.0.x static IP.

  • Where is my autofill for Firefox 5.01

    I can't locate the autofill program that I installed on Firefox. Where is it? How can I access it? It would be a convenience if it were on my toolbar and it would also be a convenience if I could uninstall the mapquest toolbar since it won't print ou

  • Table content vertical alignment issue in Dreamweaver cs4

    Hello, I can't figure this one out. I made a sample file (code below) to debug my problem. I have a table inside a table. Both have no cell padding or spacing and top alignment, yet, the text appears to the top but there's a gap between the top of th

  • Media Browser Server for Mac now available!

    Finally! Media Browser Server for Mac is now available for download from the media browser website. Enjoy everyone.

  • Can't find iPhone in iTunes

    I have my phone plugged into my computer but I can't find my phone anywhere on iTunes.  It used to be simple: placed on the left sidebar with all of the other iTunes functions so I could quickly find it and choose it.  Then they placed the iPhone ico