Skip navigation
Currently Being Moderated

Can I Script the function of overlay creator panel?

Jun 8, 2011 4:00 AM

Can I control from script (with javascript) the function of overlay creator panel of ID CS5.5?

Where can I found documentation?

 

Thanks

 
Replies
  • Currently Being Moderated
    Aug 3, 2011 4:36 AM   in reply to LeonardoAgosti

    Hi Leonardo, I have the same problem. Did you find an anwser?

     

    Thanks in advance, Paul :-)

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 3, 2011 5:05 AM   in reply to LeonardoAgosti

    The level of scriptability is probably very limited because it's a Flash panel.

     

    That said, what are you trying to do?

     

    Harbs

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 3, 2011 12:53 PM   in reply to Harbs.

    Hi Harbs,

    i’ve the same question. Im my case i want to set anchor frames from xml via script and assign a URL in the webview panel to the anchored frame.

    Thanks for your help!

     

    Best regards

    J. Puff

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 8, 2011 3:40 AM   in reply to J.Puff

    I found a way to overcome this.

    Export the object as a snippet.

    Now you have an XML text file that represent the object.

    Open it in your code and replace the

    <KeyValuePair Key="Type" Value="Panorama"/>

    etc

    with the values that you wish to.

    Now import this snippet and you can actually script the overlay creator.

     

    Regards,

    Eli

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 8, 2011 4:06 AM   in reply to Eli.Shklovsky

    Well, I found a better way:

    Just because all the data of the object is actually KEY/VALUE labels:

    We can simply do it like this:

     

    myObj = app.selection[0]

    myObj.insertLabel("Type","Panorama")

    myObj.insertLabel("AssetList","C:\\myFolder\\")

    myObj.insertLabel("InitialFOV","70")

     

    This is for panorama, we can do it for the rest of the overlay ojects like pan-zoom etc.

    Of course we should get the KEY/s for each object and immitate the code that stands behind the flash overlay creator panel

     

    Regards,

    Eli

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points