Paste found text in new frame

I have this script to find my desired text:
var myDoc = app.activeDocument;
// Creates  service Text Frame
myDoc.textFrames.add({
    geometricBounds: [50,-300,740,-70], fillColor: "C=100 M=0 Y=0 K=0", fillTint: 20, name: "Summary"
//Find  text
app.findGrepPreferences = null;
app.findGrepPreferences.findWhat = "(.+\\r)(\\+.+$)";
found = app.activeDocument.findGrep ();
alert (found.length)
var new_grep = new Array()
for(a=0; a<found.length; a++)
new_grep[a] = found[a].contents
Now, what I'd like to know is how to paste the found text (the contents of new_grep) into my textFrame "Summary".
Additionally, I should erase substring #2 (\\+.+$) from the original frame...
Trying and trying but I can't find my way, I know, it should be damn simple...
Thanks,
Guido

Hi Jongware,
after a bit I returned to my script and, of course... it doesn't work anymore!
This is what I'm up to:
var myDoc = app.activeDocument;
// Creates  service Text Frame
myDoc.textFrames.add({
    geometricBounds: [50,-300,740,-70], fillColor: "C=100 M=0 Y=0 K=0", fillTint: 20, name: "Summary"
//Find text
app.findGrepPreferences = null;
app.findGrepPreferences.findWhat = "(.+\\r)(\\r\\+.+$ \\r)";
myFind = app.activeDocument.findGrep ();
var myCount=0;
for (i=0; i<myFind.length; i++)
alert (myFind)
myDoc.textFrames.item ("Summary").contents=myDoc.textFrames.item ("Summary").contents+myFind[i].contents+"\r";
myCount++;
// Delete "+ foto"
app.findGrepPreferences = null;
app.findGrepPreferences.findWhat = "(\\r\\+ FOTO.+$)";
myDoc.selection[0].changeGrep();
The new frame is created, but nothing gets pasted in it.
I DO REMEMBER it used to work (that was before my hard disk crashed and I had to open my iMac to replace it...), God knows what I've done wrong.
Suggestions?
Thx,
g

Similar Messages

  • Why does a Flash movie whose frames were just cut & pasted on a new frame act funny when tested?

    Why is that whenever I cut a frame, clear the frames in a timeline, paste it in new frame then test the clip, the whole thing starts to act funny?
    I just don't understand why that happens - it's supposed to run smoothly though it's on a new frame, right? Is there a way to maintain the movie clip when tested though some frames were cut then pasted on a new frame?

    I should've posted up screenshots of my project in the message but I thought the site wouldn't allow to post external links.
    Anyway, when the frames are "as is", the file runs normally when tested...
    http://i429.photobucket.com/albums/qq19/tsujzpie/whenframesareasis_itisnormal.jpg
    But when I cut the frames in question, clear the frames, then paste them onto a new frame...
    http://i429.photobucket.com/albums/qq19/tsujzpie/cutremovepaste.jpg
    ...the movie now acts weird. I just don't understand why - it shouldn't do that, right?
    http://i429.photobucket.com/albums/qq19/tsujzpie/themovieactsfunny.jpg
    By the way, I used Flash Macromedia 8 for this - is that an issue related to this problem?

  • Paste text within "new folder" dialogue box not working

    (Mac) If I'm taking a file and saving it, or exporting a file, etc., when I am in the dialogue to actually do so and click "new folder" then try to paste simple text here with "command+v" it doesn't work. Right-clicking and choosing paste does work. This isn't an OS X issue, because it works fine in AI and PS CS4. I need to paste a name into a new folder dialogue many many times a day, so this gets quite tedious right-clicking all the time.

    I did a remote session with Adobe yesterday. I was able to show him the problem with the complex mask around the person that I was using, but we did a simple oval around one persons face and it created all the key frames. He suggested that only simple oval or rectangle masks are supported and that I open a feature request for a more complex mask. I realized I wasn't going to get any further help or research from this person and filed a feature request that PR should track any mask I'm allowed to create. I used around 75 added points to the rectangle mask to cover a person from the waist up who was not very animated. Still seems like a bug and I hope we can get an Adobe employee to test it out and acknowledge that it's a pretty big issue with their new feature and get a fix soon.

  • Paste image into new frame with same offset

    InDesign CS4-- I'm trying to copy an image from one frame and Paste Into another frame on the same page, and have it appear in the same position within the frame. I want it to adhere to the offset coordinates of the previous frame, but instead, it uses the offset coordinates of the page, or centers the image within the new frame. As I recall, CS2 or CS3 had a feature that allowed me to do this, but I cannot figure it out in CS4. Please help! Thanks.

    Thanks, Rob. Unfortunately, I got a new error with the latest script you posted (sorry--not trying to be a pest!!). It says,
    Apple Script Error!
    Error Number: -2753
    Error String: The variable myRend is not defined.
    (One thing that's different is I'm working on a different machine than I was the first day I posted about this, but I'm using the exact same version of InDesign. Would this make a difference? I forgot to copy the original script file from the other computer before coming to work today... If I need to do that, I can.)
    Thanks for your continued help!

  • IDCS3 - Paste image into new frame with same cropping offsets?

    Anyone know if there's a better way do to this?<br />It used to work in CS2, and (I know this comment won't be popular, but since half the studio I'm trying to convert brings up this point, I'll pass it along <G>), it's always worked in Quark. <G><br />http://indesignsecrets.com/paste-image-into-new-frame-with-same-cropping-offsets.php<br />Be nice to get this to work without having to jump through hoops.<br />(And please, please don't tell me I need to update to CS4 to get this basic functionality BACK).<br />k.

    Thanks, Rob. Unfortunately, I got a new error with the latest script you posted (sorry--not trying to be a pest!!). It says,
    Apple Script Error!
    Error Number: -2753
    Error String: The variable myRend is not defined.
    (One thing that's different is I'm working on a different machine than I was the first day I posted about this, but I'm using the exact same version of InDesign. Would this make a difference? I forgot to copy the original script file from the other computer before coming to work today... If I need to do that, I can.)
    Thanks for your continued help!

  • How do I create a new frame using Flash CS5 on a Mac so I can add more pictures to my website?

    I have what I hope is a fairly straight forward question that I hope you can answer if you write code with a Mac or are at least familiar with the process on a Mac?  The person I have been working with to create my photography website uses a PC.  Here is the problem.  I am trying to use my Mac in order to create frames so that I can add 5 more images to a portfolio that presently has 15 images.  The code is in an index.fla file.  If I want to create a new frame in the index.fla, let's say LOAD CODE 381 and want to use the same text that is already present in LOAD CODE 380 but with a few edits, I have no trouble going to the Action-Movie Clip and finding LOAD CODE 380 in the left hand column.  The problem is, on a Mac, how do I create frame LOAD CODE 381 and then how do I copy and paste the text from LOAD CODE 380 into LOAD CODE 381?  It looks like on a PC one can open LOAD CODE 380 in the Action-Movie Clip, highlight the text then right click on the red rectangular box in the timeline.  By doing so (on a PC) one sees a drop down menu that gives the option to "copy key frame".  What is the equivalent of the "copy key frame" on a Mac?  I can see where on the Mac you can go to Edit >copy.  Is this the equivalent of "copy key frame" on a PC?  If so, once I "copy" the text how do I create the new LOAD CODE 381 so that I can paste the text into the new frame?
    I WOULD BE EXTREMELY GRATEFUL TO ANYONE WITH THE ANSWER TO THIS QUESTION!  THANK YOU!!!!!

    Sorry not to be more clear.  It is a name assigned to one of the 
    frames by the person who originally designed the website and is shown 
    in the list of about 150 action frames that were created in this 
    particular fla document.  This "list" comes up in the left hand column 
    of the Action-Frame box. When I click on Load Code 380 which is half 
    way down the column of frames, the following text comes up on the 
    large screen to the right of the column of 130 frames.
    IMAGE.gotoAndPlay("start");
    loadVariables("data/series01/15title.txt", "_root.IMAGE.TITLE");
    loadVariables("data/series01/15price.txt", "_root.IMAGE.PRICE");
    loadMovie("data/series01/about.swf", "_root.IMAGE.ABOUT");
    IMAGE.mc_pic.attachMovie("pic","pic",1,)
    IMAGE.mc_picTHUMB.attachMovie("pic","pic",1,)
    This text is what I am trying to transfer to copy then paste into a 
    new frame after which time I want to slightly edit the text.  I am not 
    a programer so I apologize if I am not using all of the correct 
    terminology.
    Thank you again,  Jon

  • How to paste a text in a selected textframe

    Hi, for a new script I would like to paste some text in a textFrame.
    I would like to select my text, copy it and run my script.
    My script locate a textframe, select it.
    I don't know how to paste in the content of the selected textframe.
    app.paste();
    Paste is OK, but it create a new textframe while the block is well selected.
    Can you help me?
    thx!

    So it works the same as it does in the interface itself. Try it: copy text, select (but do not enter) a text frame, hit Paste. A new text frame appears.
    To get what you want, you need to put the text cursor inside your selected frame. That's not a function but fortunately this weird-looking command works:
    app.selection[0].insertionPoints[-1].select();
    app.paste();

  • Pasting big text in text area

    Hello everybody,
    I have a simple program:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    public class TextPane extends JFrame {
    JButton b = new JButton("Add Text");
    JEditorPane tp = new JEditorPane();
    public void init() {
    Container cp = getContentPane();
    tp.setSize(200,200);
    cp.add(new JScrollPane(tp);
    public static void main(String[] args) {
    TextPane frame = new TextPane();
    frame.init();
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    frame.setSize(500,500);
    frame.setVisible(true);
    I start it with -Xmx48m and if I try to paste 5mb text in the JEditorPane I have OutOfMemory. With 64MB I succeed to paste it, but Task manager shows that the program is using 80 MB of memory (before the paste it uses 13MB)! If I want to paste 10MB I need to start the program with 128MB heap and if I paste it consumes 150MB memory (again 13MB before this)! I have the same results with JTextArea and JTextPane.
    Why these text components need so much memory to handle big text areas and is there a way to avoid this?

    What's going on here, nobody can answer this....
    I tried with 3 different SUN JDK versions, I tried with IBM JDK, the results are the same. It seems that it's not a problem of the JDK, but a problem of the language itself. If you want to work in your text editor with more than 1 MB text don't use JAVA.... Or use a machine with 4-5 GB RAM at least....

  • PRE10 - Pan and Scan Default New Frame Size

    Is there a way to change the Default New Frame size for a project? I have about 4 or 5 frames per page all of which need to be enlarged and my project has a total of 90 pages. So a lot of extra time is spent resizing frames. I can set the default pan and scan times under settings but I have not found a way to start off with the correct size frame.
    Thanks,
    Joe..

    Just wanted to thank you guys again. This all worked out perfectly. I had 92 photos which previously took me three days to put together and I did not like the results. Tonight it took me two hours and it came out ok (IMHO).
    Resized all photos to 1000x751 (200dpi, 1.0 pixel size). They were 2832x2128 with 1.0 pixels
    Created a new project with a default DV NTSC Standard format
    Imported them into the project
    Placed the first photo\scene in the timeline
    I set 5 pan\scan keyframes. One overall and then 4 quarter frame size
    Adjusted the lenth of the scene and pan and scan durations and saved it
    Added the other 90 photos to the timeline
    Copied the completed scene and then pasted the attributes to all the other photos except a few I didn't want to pan\scan
    I selected the clips that had the attributes pasted to them and used the TIme Stretch to set the duration the same as the first pan\scan clip
    Dragged and dropped a different transition in between each
    Added titles to the beginning and end
    Added sountrack music to the entire video
    Shared\Exported out to MPEG with NTSC Standard 4:3 format
    It took about 10 minutes to render instead of a couple hours
    Is it great, to me, no. I need to work on a few things and perhaps even reshoot the pages of the album to get better originals (or take them somewhere and scanned on a larger scanner then I have to accomodate them). My wife loved it and on average I think it looks pretty good. But the process works and the time savings are incredible so the next one will be that much better.
    So thanks again. I have lots more to learn but at least progress is being made.

  • Cutting and Pasting Formatted Text

    I have a script that searches for text with an outline color, removes the outlnie color, cuts it from the main "body" text, adds an anchored frame, applied an object style to that frame and pastes the cut text in the frame.
    Everything works great except that it is REALLLLLLYYYY SSSSSLLLLLOOOOOWWWWW.....
    I'm wondering two things. 1, is there a way to cut text without havnig to select it first (which seems to be a slow point) and keep any current formatting, and 2, is there a way to get InDesign to stop jumping to the page on which the cutting is occurring? It looks like InD scrolls the pages when the cut occurs.
    My code looks roughly like this (VBA, InD CS3).
    I define the text area so search
              Set SChar = InD.Selection(1).ParentStory.Characters(InD.Selection(1).InsertionPoints(-1).Index)
              Set EChar = InD.Selection(1).ParentStory.Characters(-1)
              Set SrchTxt = InD.Selection(1).ParentStory.Texts.ItemByRange(SChar, EChar)
    Set up my search stuff here...
    Then execute the search as such:
              Set Foundd = SrchTxt(1).FindText
    I thought about using something like Foundd(i).cut or trying to simply set the text of the new frame to the text of the old frame but didn't see a way to do that and keep any potential formatting.

    WOW! Between not having to select the item and InD no longer scrolling through the pages I'm getting at least double the speed! Never thought of the move function in relation to text.
    Thanks much!
    Now maybe the only other thing that might get a little more speed is adding the frame at the initial size I need rather than adding it then resizing it. Any thoughts on that would also be greatly appreciated.
    Thanks again!
    Ken

  • I get this message when trying to past simple text into an e-mail document. The Web-Based Email plugin has crashed. I have run out of options...please help.

    The Web-Based Email plugin has crashed. I get this message when trying to paste simple text into an email document. I have updated plugins and have run out of options. If I use another browser I have no problem. Please advise.

    UPDATE
    Compiling from command line I found out that the class definition for oracle.oats.scripting.modules.basic.api.IteratingVUserScript is missing. Do you know what .jar file contains this class?
    Thanks.
    Fede.

  • How can I keep my text format after pasting a text with a different format?

    No matter when and where I start to write some text (whether it is a SImpleText, E-Mails, or anyother application's doc), if I have to cut and paste a text from a different source that is formatted differently than my original text (ie. the one I am already using ), once I have pasted the differently formatted text in my doc, the typeset changes while it continues to type with the same formatt used in the text I just pasted.
    How can I continue typing with the same text formatt used before pasting the new text, after pasting the new text, without having to change size, font style etc. Is there a short cut?
    What I have been doing to avoid this problem is: I usually type my entire text content (whether it is an E-Mail, or other doc) then, once I am done typing, I paste the text that was cut from a differently formatted document, so that my text remains with the same formatt in its integrity, while the pasted text stands out differently, but it is a bit complex doing that , because I not only have to remember to paste the other text when I am done typing (I run the risk of forgetting to paste the text I need to insert--which has happened already) or I keep struggling with my formatt change after the pasting of the new text, so my document text starts looking like the same text as the one which was just pasted.
    Thanks for your time reading this!

    KerrBr wrote:
    How can I continue typing with the same text formatt used before pasting the new text, after pasting the new text, without having to change size, font style etc. Is there a short cut?
    (1) First, let's make sure we're talking about the same thing. By "SImpleText, E-Mails" you mean TextEdit and Mail, right?
    (2) Some apps (TextEdit, Mail) use the text engine provided by Mac OS X. By and large, these apps will behave in a similar manner. Others (eg, MS Word) use their own text engine, and their behaviour can be quite different. For such an app you need to consult its manual.
    (3) In TextEdit, if you want the pasted text to adopt the current style, then use kurt188's tip.
    (4) However, if you may want the pasted text to retain its own attributes, while you continue to type in the previous style. I don't know of any shortcut or command that will achieve this. However, you can try to work around it.
    (4.1) TextEdit has the Copy Style (⌘⌥C) and Paste Style (⌘⌥V) commands. If you haven't yet used it, ⌘⌥V will insert the default style. So type, paste, ⌘⌥V, then continue typing. If you have used, it will insert whatever style was copied. You can, type, ⌘V, click somewhere before the pasted text, ⌘⌥C, click after the pasted text, ⌘⌥V, and continue typing.
    (4.2) Alternatively, type your text. Then type one more character, eg, "x". Then ←, ⌘V, ⇧→, and start typing. The new text should adopt "x"'s format. (This should work in Mail, too. I don't know, because IMHO e-mail should always be plain text.)

  • I want a proper update for my phone (intex cloud fx).i want to copy and paste the text,keyboard is very hard to type.need some main appswhich available inplystr

    i have some some main problems with this phone . the browser is not good . i want opera or uc browser in store . i not able to copy or paste any text msgs ,this is a problem. i have seen that when i try to update my phone , it showing error . i seen something is there that is too gud in this phone . i requisted firefox to increase its problem solving and make good and user friendly os like android . there are many things which i like very much on this phone but , on the same side there are lots of backlogs are there .
    such as :
    1)no whats app (connect a2 app is there but i didnot like it .bec its very slow n giving me too much problem)
    2)keyboard is very hard to type because its width is low ,so i cant able to type gud . atleast chage it in u r next update.
    3)the browser is not good . giving many problem in downloading and looses its data after i close it . its forfotting my data like passwords every time.
    4) file manager is too slow .( taking much time for loading ).

    Hi rajkumarukkuturi,
    Thank you for your feedback, however all of the feedback for the developers can be submitted at input.mozilla.org.
    If you need any support, please consider creating a new thread containing the specific details of your issue.
    Doing so will allow the Mozilla volunteers to give you solutions that are more helpful to you. This may help them to solve your problem faster and more efficiently.
    Please, feel free to post the link to your thread on this thread for volunteers interested in assisting you.
    Thank you.

  • I'm in trouble with copy paste some text from Word to DW mx 2004

    I'am a new developer in webdesign. I'm doing my first site to
    a cliente. I'm in trouble with copy paste some text from Word to DW
    mx 2004. In the Edit / Preferences / General category i have the
    spelling dictionary in Portuguese (Brasilian). If I wrote the text
    in Portuguese directly from DW i can see the letters with ( ç
    ã é ... ) and in the browser testing ( IE 6.0.2 with sp2
    and FireFox 1.0.7 ), but with copy paste from the text in Word in
    Portuguese when i bring it to DW i can see the ( ç ã
    é ... ) in the beginnig but in the Browsers testing i can't,
    and then after a while i lose the ( ç ã o ...). Can
    anyone help me !?
    I need the work finish in next monday. Thanks a lot.

    Your line breaks will most likely be incorrect if you don't turn on the Japanese Composer.
    It is almost absolutely impossible to accomplish your goal without having a font - any font - installed on your system that has that glyph. However, if it's showing up in Word, than means that you must have that glyph installed, right? What font are you trying to use in InDesign? You might already know that Word will auto-substitute fonts when it encounters a missing glyph, so we really don't know what font is being used to render that one glyph. The whole sentence might be in MS Mincho but one glyph might be pulled from another font if MS Mincho doesn't have that glyph.
    That being said, you're going to break it if you don't know how to set Japanese type in ID. It's not something where you can just copy text out of email and paste into your English layout.

  • Format bold text in field and putting some text on new line - Help!

    I am lost.  I found the rich text formating item to click.  But after that, I don't know what to do next.  I want to bold some characters and I want some reponses on separate lines as I asked previously.  As to spans and the commands - I have no programming experience.  I have just been using what George has given me.  It has worked well, but I just need the bold text in some of the field text to be printed and I need some items to be on separate lines.  But I have no idea where to put the information you are saying about spans and I do not know the script to use to bold text or to start text on new line.  Am I to insert it in the calculation box of the text box?  Sorry to be so lame, but I am void in programming skills.  Help!
    For example, here is the script.  In aISOreq{0], if I want to bold "Patter#1 Check:", where do I put the span and what script do I use to say to bold it.   Could you give me an example, please.  Also, if I want to put "a. Medications on weekend?" on one line and "b. Activities on weekends? Types of activities? Supervision? With who?" on the next line, where do I put the span and what script do I use to say to put on separate lines?  Could you give me an example for this also, please.  I have literally just used the scripts George has given me and they work great - but that is all I know how to do.  Thanks.
    (function () {
        // Set up an array to hold the individual paragraphs of text
        var aISOfreq= [];
        // Populate the array with paragraph text
       aISOfreq[0] = "Pattern #1: Multiple Isolations on Mon & Tues decreasing to Fri.  Pattern # 1 Check: a. Medications on weekend?  b. Activities on weekend? Types of activities? Supervision? With who?";
       aISOfreq[1] = "Pattern #2: Multiple Isolations on specific days.  Note days.  Pattern #2 Check:  a.  Different schedule on these days? Different adult? Block schedule? May need consistent schedule w/same adult.  b.  Are accommodations/modifications occurring? More group v. individual instruction? Does the student need warm-up drills or a specific job?  Does student need a specific lesson routine? c.  Previous night's activities?  Need calming activities before bed?  Need earlier bedtime? Need additional evening structure?";
       aISOfreq[2] = "Pattern #3: Isolations are grouped in intervals.  Note interval.  Pattern #3 Check:  a.  Cyclic behavior?  Review assessment.  Need Mental Health referral for meds and/or therapy intervention?  b.  Medication: supervision? Self-medicating? Taking consistently? Need medication check with physician?  Share concerns with physician?  c.  History of legal/illegal drug abuse?  Share cyclic pattern with physician.  On probation?  Share concerns with PO?";
      aISOfreq[3] = "Patterns #1 & #2: Multiple Isolations on Mondays & Tuesdays decreasing to Fridays AND Multiple Isolations on specific days.  Note days.  Pattern #1 Check:  a. Medications on weekend?  b. Activities on weekend? Types of activities? Supervision? With whom?  Pattern #2 Check:  a. Different schedule on specific days? Different Adult? Block schedule? May need consistent schedule with same adult.  b. Accommodations/modifications occurring? More group v. individual instruction? Need warm-up drills or specific job?  Need a specific lesson routine?  c. Previous night's activities? Need calming activities before bed? Need earlier bedtime? Need additional evening structure? ";
       aISOfreq[4] = "Patterns #1 & #3: Multiple Isolations on Mondays & Tuesdays decreasing to Fridays AND Isolations grouped in intervals.  Note intervals.  Pattern #1 Check:  a. Medications on weekend?  b. Activities on weekend? Types of activities?  Supervision? With whom?   Pattern #3 Check:  a. Cyclic behavior?  Review assessment.  Need Mental Health referral for meds and/or therapy intervention?  b.  Medication supervision? Self-medicating? Taking consistently? Need med check with physician?  Share concerns with physician?  c.  History of legal/illegal drug abuse?  Share cyclic pattern with physician.  On probation?  Share concerns w/PO?"
      aISOfreq[5] = "Patterns #2 & #3: Multiple Isolations on a specific day AND Isolations grouped in intervals.  Note days & intervals.  Pattern #2 Check:  a.  Different schedule? Different Adult? Block schedule? May need consistent schedule w/same adult.  b.  Accommodations/Modifications occurring? More group v. individual instruction? Need warm-up drills or a specific job?  Need a specific lesson routine? c.  Previous night's activities?  Need calming activities before bed?  Need earlier bedtime? Need additional evening structure?  Pattern #3 Check:  a. Cyclic behavior? Review assessment.  Need Mental Health referral for medication and/or therapy intervention?  b.  Medication supervision? Self-medicating? Taking consistently? Need medication check with physician?  Share concerns with physician?  c. History of legal/illegal drug abuse?  Share cyclic pattern with physician.  On probation?  Share concerns w/PO?";
       aISOfreq[6] = "Patterns #1, #2 & #3: Multiple Isolations on Mondays & Tuesdays decreasing to Friday, Multiple Isolations on specific days AND Isolations grouped in intervals.  Note days and intervals.  Pattern #1 Check: a. Medications on weekend?  b. Activities on weekend? Types of activities? Supervision? With whom?   Pattern #2 Check:  a. Different schedule? Adult?  Block schedule?  May need consistent schedule w/same adult.  b.  Accommodations/Modifications occurring? More group v. individual instruction? Need warm-up drills or a specific job?  Need a specific lesson routine? c.  Previous night's activities?  Need calming activities before bed?  Need earlier bedtime? Need additional evening structure?  Pattern #3 Check:  a. Cyclic behavior? Review assessment.  Need Mental Health referral for medication and/or therapy intervention?  b.  Medication supervision? Self-medicating? Taking consistently? Need medication check with physician?  Share concerns with physician?  h.  History of legal/illegal drug abuse?  Share cyclic pattern with physician.  On probation?  Share concerns w/PO?";
       aISOfreq[7] = "No Pattern";
         // Get the selected item, which is the export value of the selected combo box item
        var item = getField("ISO Frequency Pattern").value;
        // Display the text corresponding to the selected item in the text field
        event.value = aISOfreq[item];

    Look at the reference of the richValue property of the Field object. It contains a couple of examples of how it should be done. Also read the reference of the Span object.

Maybe you are looking for

  • 2013 Backup and Restore

    When I go to my backup and Restore and check the job status it tells me there is a backup in progress: A backup or restore is currently in progress How do I reset this as there is no backup that I have run for some time?

  • Office install on Windows 8 - validation problem

    Help Bought Microsoft Office 2013 Professional but it said the License Key would be invalid; so I started googling and it says the License would have been blocked...  Diagnostic Report (1.9.0027.0): Windows Validation Data--> Validation Status: Valid

  • Unable to post data to a database via JDBC adapter in PI 7.1

    Hello experts, The scenario I am trying to implement is Proxy -- to -- JDBC. Earlier it was assumed that the table has primary key and therefore I started with UPDATE_INSERT structure but later on we came to know that the table does not have any prim

  • Airport express refuses to reset password--solution

    For awhile I've been bedeviled by an older Airport Express that could not be accessed via password in order to update firmware. Again and again we tried to reset the password, without success. In searching through the Apple forums I found several peo

  • Linux script - disable ZEN-Partition

    we have found out that we start with the zupdate.sig for activating some new jobs. But what we need is a 2-3 line script to disable the zen- partition and activate the windows-partition. Beat