[cs5 - JS] How to get the UID

Hello

is it possible to get the UID of the selected pageItem? I get the point/selected items is not a problem, but I can't get the user ID of the selected item.

Thank you

alert (app.selection[0].id);

What seems to be the problem?

Tags: InDesign

Similar Questions

  • How to get the UIDs of pages containing a given PageItem

    Hello

    I have the UID for a PageItem and I'm trying to get a list of UIDS of the article pages.

    I use GetPageUIDs:

    IDocument * doc = Utils < ILayoutUIUtils > ()-> GetFrontDocument();

    If (doc! = nil) {}

    IDataBase * db =: GetDataBase (doc);

    UIDRef itemUidRef = UIDRef (db, itemUid);

    ItemHierarchy InterfacePtr < IHierarchy > (itemUidRef, UseDefaultIID());

    If ((itemHierarchy! = nil) & & (itemHierarchy-> GetChildCount() > 0)) {}

    UIDList onPageUIDs;

    Utils < IFormFieldUtils > ()-> GetPageUIDs (itemHierarchy, & onPageUIDs);

    ...

    }

    }

    For each item, I get an empty list in onPageUIDs.

    I can't find examples for the correct way to use this feature - I use it wrong?

    Thank you

    Liz

    Hello

    I think FormField is a special form of the page element.

    Try GetItemsOnPage for the ISpread interface.

    Concerning

    Bartek

  • [JS CS4/CS5/CS5.5] How to get the return value from Javascript using doScript

    Hi all

    I'm calling javascript from COM (c#) and it works fine. Passing parameters to javascript and playback by using the syntax of the [x] arguments also works very well.

    What I can't seem to get to work is to know how to move something from javascript to the calling COM Summoner, in this case, c#. How and where should I place the return value in javascript?

    Thanks in advance.

    Rachiud

    doScript() evaluates an expression, so just make sure that your Javascript is an expression.

    For instance "(3 + 3)" 6 "

  • How can I download updates for CS5 Extended when I get the error message "this serial number is not for a product calling it"?

    How can I download updates for CS5 Extended when I get the error message "this serial number is not for a product calling it"?

    Updates are not related to series numbers, so you must have done something compared to try to use an upgrade rather than an update.  Adobe not revise older versions of their software to adapt to the latest hardware/devices.  They create/sell new versions of their software for it.  If you subscribe to the Cloud at some point you shouldn't have a problem with the software becomes obsolete.

  • My new Mac does not have the CS5 download, how to get around this problem?  I have th dvd however my Mac Pro doesn't have a hard drive.

    My new Mac does not have the CS5 download, how to get around this problem?  I have th dvd however my Mac Pro doesn't have a hard drive.

    Download from products of CS5 download

  • How to get the update?

    Please tell me HOW TO GET THE UPDATE! I'm pulling out my hair on the Adobe website doing what you can't do. (Sorry I can't help with that.) I have CS5 on Mac OS X and have received a document clearly created in CS5.5. But I can't find the update/update/download on the Adobe site. Thanks for any help.

    If you do not have the upgrade (updates are different and cost nothing... upgrades, you buy, but Adobe does not sell older versions) you may not use, if you could install the trial version which is good for 30 days.

    If you have the upgrade, you can download through one of the following links.  If you want the trial then use the other.

    CS5.5 - http://helpx.adobe.com/creative-suite/kb/cs5-5-product-downloads.html

    You can download the demo version of the software through the page linked below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    CS5.5: http://prodesigntools.com/adobe-cs5-5-direct-download-links.html

  • How to get the pointer to the object anchor

    Hi all


    I have a block of text and and I have an anchor object attached to it. Now I just have to select the text block and get the UID of the text block. Now I would like to get the pointer of ineterface object anchor with attached to the text Frame.How to do?

    Thank you

    Sakthivel.P

    Hi Sarah

    Add SDKLayoutHelper.cpp [from... Adobe InDesign CS SDK\source\sdksamples\common\] to your project.

    Sergiy

  • How to get the text have the same effect as the video?

    Hello

    For the first time post here, but I wonder how to get the text of the titles have the same effect as the video behind her.

    For my video, I use 'bad tv' and other effects such as Gaussian that obviously changes the appearance of video, creating the look of VHS. However, I then inserted text via the title, but it normally appears. How can I make this text have the same effects as the video behind it?

    A friend told me I might need to add text to the video first, then do the effects, I have not tried, but wonder if there is an easier way, as this would require me to restart.

    EDIT: That's what I'm looking for. https://youtu.be/7_2PHQI89dI?t=24s The text has the same effect as the video.

    Thank you

    One way is to create a clip made up based on the title and the original clip. Then apply the effect.

    Another way is to use an adjustment layer.

    Good luck.

    Russ

  • How to get the podcast of the website on the phone

    I was told to put that feed into the PODCASTING app on your iOS device.

    The site in question is https://randirhodes.com/how-to-get-the-podcast/

    I paid for a premium podcast, now how o I get this podcast to appear on my iphone 6 s more in the podcast app?

    Podcasts > select my Podcasts > press the '+' > Add Podcast > paste the URL that you got on the site.

  • How to get the video intro off my google home screen I already saw it, where is the firefox logo used to be.

    How to get the video intro off my google home screen I already saw it, where is the firefox logo used to be. I started with the last update that I rebooted.

    Hello
    to change the homepage when opening firefox-press 'Alt' and click on tools-> Options.

    Main menu, you can change the URL.

    If the problem persists, you can follow these simple steps:

    Enter about: config in the address bar and press ENTER. Accept the message of 'dragons' to see the Advanced preferences screen. Use the above search box to enter the below pref.

    You can assign an empty string to stop your Firefox to retrieve "extracts" and brandLogo changes the browser.aboutHomeSnippets.updateUrl pref. Right-click this pref and select Edit then clear the value as pref in the box that appears, and then click OK. Who will also disable "snippets" that appear under the container of the research on the default home page.

    Then you must open the folder of your profile, via help > Troubleshooting Information > profile folder > > button view folder. Then close Firefox. Your profile file open with Firefox closed (Firefox '3-bar' menu key > exit/Quit), wait or two minutes, then remove the storage\moz-safe-about + home folder in the Firefox profile folder to remove the brandLogo and stored in IndexedDB code snippets to make Firefox use the default brandLogo and a defined default code snippet.

    If you later change your mind about these changes, you can reset the pref browser.aboutHomeSnippets.updateUrl via the context menu and Reset allows to retrieve the default value using the storage\moz-chest-fort-about + home folder again.

  • where and how to get the new Firefox add - one of who is spying on us. Please mail to...

    Heard speak adds the new on Fire Fox. Where and how to get the new Firefox add - one of who is spying on us. Please mail to maheshubhayakar at rediffmail.com

    edited by email address - moderator

    It is helpful if you provide a link to the article you were reading.

  • Re: How to get the Tempo to work properly?

    Hello

    I have problems with the service of Tempo.

    I don't get updates via this application (all the settings of this application are accurate, i.e. "full control"). I know this because there are updates available online to my laptop via the pilot site of toshiba.

    When I installed first Tempo, updates for about a month, I received, and then all of a sudden, no update came through. My firewall is blocking either of this application.

    I tried to reinstall the application, but no change in the situation.

    Does anyone know if ALL updates are available via the website of driver toshiba out tempo? Because, in the month that this service worked, I got an update of the bios, but I recently saw a bios update online and Tempo has not always reports that it is available.

    Any ideas on how to get the Tempo to work properly?

    Thank you.

    I saw in your other thread you have installed SP1 on your Vista laptop.
    There may be some compatibility problems between SP1 and Tempo

    And Yes, as far as I know Tempo bring all available updates!

  • I rolled again Firefox 4.0 to 3.6 and now my navigation bar still looks like instead of 3.6 4.0 how to get the old layout back?

    I rolled again Firefox 4.0 to 3.6 and now my navigation bar still looks like instead of 3.6 4.0 how to get the old layout back?

    The fastest way is to use the option 'Restore the default toolbar set' as shown here - https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • How to get the physical credit iTunes gift card?

    How to get the physical gift card iTunes on your iTunes store account balance?

    • You cannot buy an iTunes gift with in-store credit.

    See the link below to buy physical gift cards for iTunes.

    http://www.Apple.com/shop/gift-cards

  • Satellite Pro M50 with Vista: how to get the S-video on the job?

    Hi all

    I have a vista equipped Satellite Pro M50. Does anyone know how to get the S-video on the job? I can't understand.

    Inadvance, see you soon

    Phil

    Did you look in the user manual?
    This doc is always pre-installed on laptop and provides useful information. Also how to connect a TV and use simple notebooks ports.

    A hint; You must use an s-video cable to connect the laptop to the TV.
    Then use the FN + F5 key combination to switch between display devices.
    Sometimes the special s-video option must be enabled on the TV.

    I would recommend consulting the manual of the TV also.

    Good bye

Maybe you are looking for