How to correct no text displayed in "alert();" function?

Hello AEScriptingComm,
                                       you were highly recommended by David of Pro Video Coalition.
I hoped you could help using the alert(vals) in ExtendScript in After Effects.
When i run the script all works but,..
1)
a) ..the resulting Script Alert contains no text or numeric info, AND,..
b) its not the "AE" style alert window the tutorial shows when alert(vals) is used?
Here is the .jsx script code:
var prop1 = app.project.item(1).layer(1).property("ADBE Transform
Group").property("ADBE Position");
var keyLength = prop1.numkeys;
var vals      
   = new Array();
for(var k=0; k<keyLength; k++)
vals[vals.length] = prop1.keyValue(k+1);
alert(vals);
Any help or instructions greatly appreciated,
J

Really appreciate and will use your instructions and code segments ID1215.
As much as i loved assembly, VXD and c++ games/graphics coding with ring 0 access, i should have known to debug the most obvious error in my AE project that failed an otherwise functional script.
Part B)
If i may guys i have one last question the tutorer will hopefully answer soon, and which is the ultimate goal and reason i'm learning ExtendScripts:
I have a few dozen AI, imported Shape Layers with paths "Created..from Vector Layers" in After Effects.
In order to use a .jsxbin script to change every path to the same number of verticies i must 1st convert them to Keyframes on the same Mask Path property.
1) could you please show\send an example showing how to,..
a) Get\Retrieve "KeyValue" from multiple, single (Shape Layers):Outlines > Contents > Group > Path > Path as shown in screenshot "4-CreateShapeFromVecLyr2Outlines.JPG",
and then,..
b) "SetValue" from those paths into Mask > Mask Path keyframes also in screenshot "1-ExtendScript_ShapePathsTOMaskPathKeyframes.JPG"?
esp. appreciate your patience in light of my most resent fumble, there go my wide reciever dreams, lol,
Jeff

Similar Messages

  • How to correct bad PDF display of Excel 2007 graph-Adobe Pro X?

    Just installed Adobe Acrobat Pro X; previously had Adobe Pro 8, which worked fine.  Have Excel 2007 files with an Excel graph and a JPG image on the spreadsheet tab.  Both the graph and the JPG are too big, are displaced, and hide spreadsheet data, when the Excel file is Saved As a PDF using Adobe Pro dialog or Excel dialog, or the Excel Plug-In to Create PDF.  For some strange reason, printing to PDF works, although that is limiting.  All of the settings are the same for the Adobe Printer as Adobe Pro settings.  Changing them or going to default did not help.  Just did the latest update; that did not help.
    The graph and JPG are too large for the PDF page.  Paper printing from Excel still works fine. Producing a PDF on another machine with Pro 8 still works fine.  Could not find this problem discussed anywhere.  Using XP, fully patched.  This should not be a complicated process, nor a complex spreadsheet. What is going on?
    Thanks

    Regardless of the method and Adobe product used to create the PDF, including the Excel tool button, the single common factor whether the PDF correctly displays a JPG or graph in the Excel file that is being done at anything other than 100% size is whether the Adobe Printer or a Physical Printer is selected as the default printer in the Windows Printers and Faxes-Settings.  This is true even though the printer is not being used. I have created the same PDF using every method/product and the results are always the same, and only properly display when either the setting is 100% size or the system printer is selected as Adobe Printer.  This is true only after installing Adobe X (8 was previously installed, and worked as expected).
    Jeffry Calhoun
    Workforce Analytics Manager
    Ohio Department of Job & Family Services
    P.O. Box 1618, Columbus, OH 43216-1618
    InterAgency: F376, 4020 E. 5th Avenue
    614-644-0564
    Fax 614-728-5938
    [email protected]
    OhioMeansJobs.com -
    The next best thing to having an HR department.
    OhioMeansJobs.com -
    Ohio's premier website for connecting businesses and job seekers - quickly, easily, and for free!
    >>> "Bill@VT" <[email protected]> 4/7/2012 7:21 AM >>>
    Re: How to correct bad PDF display of Excel 2007 graph-Adobe Pro X? created by Bill@VT ( http://forums.adobe.com/people/Bill%40VT ) in Creating, Editing & Exporting PDFs - View the full discussion ( http://forums.adobe.com/message/4319297#4319297 )
    You say the settings for the printer work fine, but do not for PDF Maker (I am assuming this is what you meant). PDF Maker no longer uses the printer and the settings are independent. Check the settings for PDF Maker under the create PDF menu.
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4319297#4319297
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4319297#4319297. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Creating, Editing & Exporting PDFs by email ( mailto:discussions-community-acrobat-creating__editing_%[email protected] ) or at Adobe Forums ( http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerType=14&contain er=4697 )
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
    Ohio Means Jobs
    You're looking for something unique. Use more than an ordinary site.
    http://www.ohiomeansjobs.com
    This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain private, confidential, and/or privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, employee, or agent responsible for delivering this message, please contact the sender by reply e-mail and destroy all copies of the original e-mail message.

  • How to center the text displayed in a JList

    Hi,
    The width of the JList display area is wider than the text displayed. I tried to center the text displayed to make it look nicer. I had tried using "setAlignmentX(Component.CENTER_ALIGNMENT)" in my own ListCellRenderer class but did not work. Any idea how to center the text?
    Fai.

    Yes, I am using JLabels in my renderer and the following is the code:
    public class MyCellRenderer extends JLabel implements ListCellRenderer {
         private static final Color HIGHLIGHT_COLOR = new Color(0, 0, 128);
         public MyCellRenderer() {
              setOpaque(true);
              setIconTextGap(12);
         public Component getListCellRendererComponent(
              JList list,
              Object value,
              int index,
              boolean isSelected,
              boolean cellHasFocus)
              String entry = (String)value;
              setText(entry);
              setFont(new Font("Ariel", Font.BOLD, 18));
              setAlignmentX(Component.CENTER_ALIGNMENT);
              if(isSelected) {
                   setBackground(HIGHLIGHT_COLOR);
                   setForeground(Color.white);
              } else {
                   setBackground(Color.white);
                   setForeground(Color.black);
              return this;
    Can you point out where to implement the centering logic?
    Thanks,
    Fai.

  • How to influence the text display of key figures in the interarctive DP

    Hello all,
    Does anyone know if there is a possibility (BADI, etc.) to change the text display of key figures (not characteristics!) in a planning book/data view?
    I know that you can define a free text in the data view but still, this is only one fixed text and it cannot be changed.
    Reason for the request: We would like to use the same key figure (and hence, indicate 2 different texts) for two different purposes (in different selections) without having to create a new data view.
    Kind regards,
    Klemens

    if you dont want a new data view and might even go to the extent of creating a user exit for this ... here is an idea
    - just create auxillary KF ( or use spare Temp KF depending on what you want to do with the data in the view) for each of these KF with the text
    lets say you have KF1 and KF2 - create KF1A and KF2A
    Make sure KF1A = KF1 and KF2a = KF2
    Now depending on user you can display KF 1 and KF2 or KF1a and KF2a depending on the user by using macros USER() and ROW_VISIBLE(0)

  • How to edit the text displayed in KM Upload link?

    Hi All,
            I want to edit the text displayed in KM Upload link ie "You can upload a file to the repository from your computer. Click "Show Properties" to assign another name or to change the settings".
    I tried searching for the resource bundle from which the above text is displayed but couldnt find it.
    Can anyone help?
    Thanks in advance.
    Regards,
    Pooja.

    Hi Pooja
    You can find the text in <b>ResourceEditControl**.properties</b> file, which is available under   <i>com.sap.km.cm.ui\lib\km.appl.ui.edit_api\com\sapportals\wcm\control\edit</i>..
    The text is represented by the key <b>txtUploadControl</b>..
    Regards,
    Sandip

  • How to make the text displayed on JLabel verticaly

    As the Titile!
    thanks a lot

    One way is to add the rotated text to an icon, and then add the icon to the label. See other postings at this forum!

  • "NO TEXT DISPLAY"

    In selection parameter "NO TEXT DISPLAY" is appearing against some fields. But selection options are coming rightly.How to remove "No Text Display".
    thanks in advance AND I PROMISE TO RETURN AND REWARD THE ANSWERS

    Hi,
    Also check which description is being used in BEx, short, medium or long and also text for which ones is loaded.
    You can check the info object setting in the BEx tab.
    Cheers,
    Kedar

  • How can I get text from a text field and display it in an alert?

    Hello!  I am BRAND NEW to Objective-C and Xcode and iOS, so PLEASE be forgiving of what is going to be a stupid question.  I have a text field.  I want to enter some text, click "return", and see my text in an alert.  It doesn't serve any useful purpose, but this is how I learn.  So far, I am unsuccessful.  Here's my function from my HelloEarthViewController.m file:
    -(IBAction)showInputMessageUITextField *)textField
    if ([textField.text isEqualToString:@""])
        return;
    UIAlertView *helloEarthInputAlert = [[UIAlertView alloc]
                                         initWithTitle:@"Name!" message:[NSString stringWithFormat:@"Message: %@", textField.text]
                                         delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
    // Display this message.
    [helloEarthInputAlert show];
    Then I go option+click the text field and drag it to File's Owner and connect it to "showInputMessage:"  Then I run it and the build succeeds, but nothing happens when I click my "return" button on the iPhone simulator.
    What have I missed?  Where have I gone wrong? 

    Okay, here's where I am.  I have this in my view controller .h file:
    @interface HelloEarthViewController : UIViewController <UITextFieldDelegate>
        IBOutlet UITextField *textFieldTest;
    @end
    And this in my view controller .m file:
    -(IBAction)showInputMessage
        if ([textFieldTest.text isEqualToString:@""])
            return;
        UIAlertView *helloEarthInputAlert = [[UIAlertView alloc]
                                             initWithTitle:@"Name!" message:[NSString stringWithFormat:@"Message: %@", textFieldTest.text]
                                             delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
        // Display this message.
        [helloEarthInputAlert show];
    And I have connected the text field to showInputMessage.  When I hit "return", however, I still get nothing.
    Is an "action button" a real button?  From my limited understanding, the alert should launch when I click "return" since showInputMessage is attached to Editing Did End on the text field.
    Thanks for the help.  The transition from writing C# for web applications to writing Objective-C for iOS applications is not going as smoothly as I'd anticipated.

  • How to display an alert message on click of link in tableview

    Hi,
    Following is the code for a tableview in layout section of a BSP( i have specified only one tableview column here). The requirement is to display an alert message on click of link in the first column that is "evbeg". Can anyone please help me how to achieve this? Appreciate quick response on this.
    CREATE OBJECT lr_dateiterator TYPE cl_lso_bsp_it_trdates
                EXPORTING im_application = application
                im_tform = trainingform.
            <htmlb:tableView id            = "dates"
                                 table         = "<%= dates %>"
                                 iterator      = "<%= lr_dateiterator %>"
                                 width         = "100%"
                                 rowCount      = "<%= lp_len %>"
                                 footerVisible = "FALSE"
                                 sort          = "SERVER" >
                  <htmlb:tableViewColumn columnName    = "evbeg"
                                         type          = "user"
                                         title         = "<%= otr(LSO_FRONTEND/schedule) %>"
                                         tooltipHeader = "<%= otr(LSO_FRONTEND/schedule) %>"
                                         sort          = "TRUE" >
                  </htmlb:tableViewColum>
    Thanks and Regards,
    Archana.

    you have to code in the iterator for this.
    in the render_cellstart method of the iterator you need to code.
    this is for a column.
    when 'MATNR'.
    data: text type string.
    text = 'disp_alert()'.   "this java script i placed in the page
    data: lo_link type ref to cl_htmlb_link.
      create object lo_link.
         lo_link->id = p_cell_id.
         lo_link->onclientclick = text.
         lo_link->text = <fs>-matnr.
         p_replacement_bee = lo_link.
    below is the java script i added in my page..
    <  sc ri   pt type="text/javasc ript"   >
    f u n  ction disp_alert()
    a  l e  rt("helloworld");
    < /s  c ript >

  • How can I correct "hidden" text in a searchable PDF file?

    This seems like a simple question. However, the answers are invariably complex, do not yield the desired result, and often answer a different question entirely. I say all that just to warn people up front that the "problem" is easier than how many people and PDF application developers, including Adobe, typically understand it while the proposed "solutions" are invariably a total...well, botch is a reasonable word if a bit understated.
    Here is the actual problem:
    I have "searchable" PDF files created by scanning documents and running them through an OCR process. I create "searchable" PDF files in order to archive, index, and eventually enable searching for the documents scanned. A "searchable" PDF satisfies those criteria better than any other commonly used, "portable" archive format -- though I would be happy if someone could point out an obvious alternative I may have overlooked. I do not need perfect OCR results. If I need a document to edit or perhaps feed into a spreadsheet or database, I expect to be able to reprocess the page images in a given "searchable" PDF file to OCR and convert the contents to Word, RTF, Excel, or another file format as necessary with more care for the results than for the archived document itself. Therefore, the "searchable" PDF document is the scanned page images which compose it while the OCR generated "searchable" text is secondary, but still important. Therefore, each file must contain scanned page images of sufficient detail to be efficiently converted by OCR if possible and legible enough for whoever views the images to be able to work out what an OCR process may fail to understand. Once scanned, those pages are the "document" and therefore "immutable." However, OCR is imperfect. For a searchable document archive, it does not have to be, but some errors are significant in that they may prevent the document from being found by a search. Therefore, there must be a way to view and, if necessary, edit the "hidden" text in a "searchable" PDF without altering the visual display of a document or how it is printed. No strike-throughs. No visible "corrections." None of the stuff PDF editors want to insert into a PDF file when editing it. I do not want to edit the document without exporting it to a format appropriate for an editable document. I just want adequately "correct" hidden text in a "searchable" PDF file.
    I apologize for the length and redundancy in my description of the problem. However, past attempts to explain my problem and objectives as well as what I have seen in reply to similar queries across the Internet indicate that most people trying to answer this question come at it from the same point of view shared by most, if not all, PDF tool or application vendors. They seem to think that any desire to edit a PDF file is a desire to have a PDF word processor of some sort. Or, they assume that the OCR process employed may need tweaking of the means by which people apply it and then a process like "find suspects" is adequate to deal with any errors. But no, those are not what I am trying to accomplish and answers which address those topics do not answer this question.
    In short, which tool or application from any vendor will reveal the "searchable" hidden text in a PDF produced by any OCR or other process and then enable corrections to the hidden text without changing any document display parameters at all? Note, hidden text typically includes bounding box information denoting the portion of the image from which the text was recognized. That information must not be lost or changed when editing the "searchable" text.
    So, any tools or applications capable of doing this? If Adobe Acrobat XI Pro can (use of a trial copy demonstrated that the hidden text content can be reviewed, but editing did not work by any straight-forward means I could work out while trying out the application), fine. However, $500.00 list or even a $200.00 possible upgrade from a copy of Adobe Acrobat X Standard which came with my scanner is a lot of money for personal use when review and edit of the OCR generated hidden text in a "searchable" PDF file is the only function I require. Therefore, other suggested tools or applications which do what I need for less would be greatly appreciated.

    My "claim"? Actually I've made no "claim" such as you've mentioned.
    Simply stated your OP has foundational premises that presume as factual what is not.
    Here, we're in Adobe's hosted user forum for Acrobat.
    Any other application use is not material. 
    Acrobat XI provides 3 OCR methods.
    Searchable Image, Searchable Image (Exact) & ClearScan.
    Only the first two provide the "hidden" text output.
    (Glyphs have no stroke, no fill)
    From back to the Acrobat 3 product family the design functionality of Searchable Image and Searchable Image (Exact) has been to facilitate the use of Find / Search.
    The "hidden" text is can be touched up. Acrobat Pro provides the facility to view the hidden text.
    So you can see what the OCR output that correlates to the bit-map images of the characters that are present.  
    With Acrobat XI Pro use Tools - Protection -Remove Hidden Information
    In the Remove Hidden Information pane select "Hidden text" then "Show preview".
    The default for the preview is "Show Only Hidden Text".
    Back in the PDF --
    You'd select some of the hidden text and retype what you suspect is the correct string of characters.
    Save and return to the preview of the hidden text.
    If you got it right, good. Continue.
    If not, darn - try again.
    Plug 'n chug -- somewhere over the rainbow it'll be done eh.
    Full disclosure -- this is something I've done (enquiring minds don't you know).
    I've found it to be a rather Sisypean undertaking.
    So, "doable" but not practicable.
    This is to be expected because such touchups are not the concern / focus of the output from Searchable Image or Searchable Image (Exact) - (the names tell it all).
    To have touchup "editablity" of an OCR output using Acrobat make use of ClearScan.
    ClearScan replaces recognized character bit-maps with a character from an Acrobat internal font.
    The character strings can be selected to change to a generic, system available font.
    Something that is good to know when embarking on the "tweak the PDF" journey is that PDF (the file format / technology as defined by its ISO Standard, ISO 32000-1) does not tolerate "editing". PDF is decidely not a word processor file format and "editing" can quickly render a PDF unusable.
    Minor touchups can be made and your best "tool" for this is still Acrobat Pro. (Save As often and periodically "bank" the PDF via some file rename scheme.) 
    Be well...

  • How to prevent a text in script from displaying if its value is zero

    Dear all,
    How to prevent a text in script from displaying if its value is zero
    for eg   Price  = 0.00
    if price is 0 it should'nt appear in output.
    I tried with    if price ne 0.
                       price = &price&
                        endif.
    but it's not working.
    Regards
    Raj
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jan 20, 2009 8:59 AM

    Hello Nagaraju,
                           What you were doing is partially right.
    The correct format to write in the script is as follows :
    /:  if &PRICE& ne 0.
      &PRICE&
    /:  endif.
    This should work. Let me know how it goes.
    Nayan

  • How displaying an alert message called from a database procedure

    Hi,
    How can I display an alert message that is called from a database procedure.
    I've tried the following code:
    l_al_button NUMBER;
    l_al_message VARCHAR2(80);
    l_al_id ALERT;
    Set_Alert_Property(l_al_id, alert_message_text,l_al_message);
    l_al_Button := show_alert(l_al_id);
    When trying I receive an error that says that the word ALERT need to be declared.
    Any suggestions?
    Thanks

    Hi,
    leave the procedure without error handling.
    This is what you can do:
    1.Inside the database procedure-
    BEGIN
    RAISE_APPLICATION_ERROR (-20001, 'The chosen length of the Public Key Exponent ....');
    END;
    2.Into your Form -
    BEGIN
    EXCEPTION
    WHEN OTHERS THEN
    IF sqlcode = '-20001' THEN
    Display Your Messages.
    END IF;
    Monica
    END;

  • I'm having problems (1)selecting onscreen text, (2) having problems resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    I'm having problems (1) selecting onscreen text, (2) resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    1) This is because of software version 1.1. See this
    thread for some options as to how to go back to 1.0,
    which will correct the problem...
    http://discussions.apple.com/thread.jspa?threadID=3754
    59&tstart=0
    2) This tends to happen after videos. Give the iPod a
    minute or two to readjust. It should now be more
    accurate.
    3) This?
    iPod shows a folder icon with exclamation
    point
    4) Restore the iPod
    5) Try these...
    iPod Only Shows An Apple Logo and Will Not Start
    Up
    iPod Only Shows An Apple Logo
    I think 3,4, and 5 are related. Try the options I
    posted for each one.
    btabz
    I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again

  • TS3899 Suddenly, when I check my email, the screen does not rotate to the direction the phone is being held.  How can I correct this?  (Displays horizontally rather than vertically.)

    My phone has suddenly started to display my emails horizontally and does not self-correct when I am holding it vertically.  I have tried to correct this - to no avail.  Does anybody know how to correct this?

    Hi Sylver123,
    Thanks for posting, please use the 'contact the mods' link in my forum profile to send in your details and we'll get this issue with your email looked into further. You can find the link by clicking on my username.
    Thanks
    Neil
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • How to display an Alert synchronously ?

    The Alert.show() function displays an alert asynchronously in
    Flex (the code line which follows the Alert.show() statement is
    executed well before the alert actually appears on screen).
    Anybody knows a way to force this alert to show itself
    syncronously instead please?
    Thank you in advance.

    In the following example an Alert box is popped up with a
    Yes/No question. At no time is the Flash Player (your Flex SWF)
    paused or waiting. This is purely event driven.
    private function showChoiceAlert() : void
    Alert.show("This is a choice. Either pick Yes or No,
    please", "Choices",
    Alert.YES | Alert.NO, null,
    alertHandler);
    You call this function as the result of some action, such as
    a button click. When either of the Alert's Yes or No buttons are
    picked, the function, alertHandler(), is called:
    private function alertHandler( event:mx.events.CloseEvent ) :
    void
    // the event.detail indicates which button was pressed.
    Compare it
    // to the static values in the Alert class.
    if( event.detail == Alert.YES ) {
    result.text = "You picked Yes";
    } else if( event.detail == Alert.NO ) {
    result.text = "You picked No";
    } else {
    result.text = "I don't know what you picked!";
    In this example, the alertHandler fills a Label component's
    text property.
    In other words, you cannot 'wait' for the user to do
    something. The 'waiting' is simply the Flash Player doing whatever
    it does until the user picks a button on the Alert dialog which
    fires an event.

Maybe you are looking for

  • Using Mail with both pop and imap accounts

    I have a Q to better understand how the Mail app. works in Lion so there is better coordination among my devices and mail = I'd like to lay out how it is now set up and see whether or not I'm right about how to handle them - and how to do things bett

  • [GeForceFX] Difference Between DVI-I And DVI-D

    I have a FX-5200-TD128 video card that is marked DVI-I and looking at LCD monitors I noticed some of them are marked DVI-D.  Is there a difference?

  • How to adjust photo to detect oil or fuel leak?

    I'm wondering if there is any way to use a picture of an engine, where I suspect a leak is coming from, to detect fuel or oil. Is there a way to adjust the settings of a picture in Photoshop, to bring out or highlight, residue of fuel or oil? I know

  • Capacity limit has been reached

    Hi Team, When we run a payment proposal through F110 its internally triggering Function module FI_PAYM_XML_WRITE, Through the transfer statement in the function module its placing the data in the designated path of application server (The folder is l

  • Address Book Automatic Fill as you type

    A ver versions of the Mac OS X ago, I remember that when I typed a name, address, zip code, etc. into a field in a new contact within Address Book it would automatically begin to pre-populate the field based on data already within Address Book. In ot