Can't retrieve item indexes for app.project.selection[x]

Hello, I'm relatively new to scripting.  I'm trying to write a script that dupliates the selected comps in the project window a number of times and then modifies each of the dupliates.  How do you retrieve the item index for each app.project.selection[x] ?  Please let me know if there's a better way to select each of the duplicated comps rather than using item indexes.  Thanks in advance!
Dave

Very simple
app.project.selection[x].id
var newComp = app.project.selection[0].duplicate()
var theID= newComp.id;
Check out the scripting guide, assumption that the selected item is a comp.
For your duplicates you just need to store the item id's in variables or as an array of items.

Similar Messages

  • Can we create an index for a list of itmes in a single object?

    Can we create an index for multiple values in a single object. We have an object Order that contains list of items. I like to get all orders for a specific item. I want to create an index to speed up the query. Is it possible? What are the other alternatives?
    My Order object is as follows:
    Orders
    Item List
    Shipping Address
    Example:
    Order 1
    i1, i2, i3, i4
    123 some way, city, 12345
    Order 2
    i2, i3
    333 some other way, city2, 33333
    order 3
    i2, i4, i7
    My search would be, give me all orders that has item i2. It should return Order 1, Order 2 and Order 3.
    Thanks

    Hi,
    I think that this will work ...
    ValueExtractor extractor= new ReflectionExtractor("getItemList");
    cache.addIndex(extractor, true, null);
    Set setKeys = cache.keySet(new EqualsFilter(extractor, i2));
    In this case, the Collection value extracted by the ValueExtractor is treated as a Collection of contained attributes when the index is created.

  • Can I retrieve my you tube app

    Can I retrieve my you tube app?  I downloaded iOS 6!

    Expanding on what Shellz said, YouTube app is not included with iOS 6. Google offers their own app for free via the iTunes Store, though they do not yet have an iPad version. The iPhone version will work, though not at the full screen size. There are also third-party alternatives, one of which may suit you better. Jasmine is one that a number of people are recommending.
    Regards.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • Can I use touch ID for App Store without using a passcode?

    It seems that the ony way I can use the touch ID for App Store and iTunes is if I have a passcode to get into my phone. I don't want a passcode, it get in and out of my phone too often to have to unlock it all the time and I hate manually typing in my password for App I buy. Why can't it do both, isn't the touch ID just as secure for purchases even if you don't have to unlock the phone to get to it??

    From the article:
    You can set up Touch ID in iOS Setup Assistant or by tapping Settings > Touch ID & Passcode. To set up Touch ID, you must first set a passcode. Touch ID is designed to minimize the input of your passcode, but you need a passcode for additional security validation, such as enrolling new fingerprints.
    So yes, that's how it's designed. You must have a passcode, though as long as you understand the caveats:
    In addition, you will need to enter your passcode to unlock your iPhone in these conditions:
    After restarting your iPhone 5s
    When more than 48 hours have elapsed from the last time you unlocked your iPhone 5s
    To enter the Touch ID & Passcode setting
    and
    You can't use Touch ID for purchases if Require Password in Settings > General > Restrictions is set to Immediately.
    you should be able to use Touch ID without needing your passcode. If none of those circumstances is true and you're still being asked for your passcode to make a purchase from the iTunes Store, it would seem that something is amiss with your iPhone.
    Regards,

  • HT1904 How can I get a refund for apps in the apple App Store that do not work and are not what they said they wer

    How can I get a refund for apps in the apple App Store that do not work and are not what they said they wer

    You've tried deleting and redownloading them and seeing if they then work and tried contacting the developers ? If you have and they can't/won't help then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • I forgot my apple id password and i already deleted my yahoo account for that apple id. When i try resetting it for security question, my birthday verification says invalid. How can i retrieve my password for a swleted yahoo account?

    I forgot my apple id password and i already deleted my yahoo account for that apple id. When i try resetting it for security question, my birthday verification says invalid. How can i retrieve my password for a swleted yahoo account?

    http://support.apple.com/kb/ht5312
    Note: The option to send an email to reset your security questions and answers will not be available if a rescue email address is not provided. You will need to contact iTunes Store support in order to do so. 

  • Can we create secondary index for a cluster table

    hi
    can we create secondary index for a cluster table

    Jyothsna,
    There seems to be some kind of misunderstanding here. You <i>cannot</i> create a secondary index on a cluster table. A cluster table does not exist as a separate physical table in the database; it is part of a "physical cluster". In the case of BSEG for instance, the physical cluster is RFBLG. The only fields of the cluster table that also exist as fields of the physical cluster are the leading fields of the primary key. Taking again BSEG as the example, the primary key includes the fields MANDT, BUKRS, BELNR, GJAHR, BUZEI. If you look at the structure of the RFBLG table, you will see that it has primary key fields MANDT, BUKRS, BELNR, GJAHR, PAGENO. The first four fields are those that all cluster tables inside BSEG have in common. The fifth field, PAGENO, is a "technical" field giving the sequence number of the current record in the series of cluster records sharing the same primary key.
    All the "functional" fields of the cluster table (for BSEG this is field BUZEI and everything beyond that) exist only inside a raw binary object. The database does not know about these fields, it only sees the raw object (the field VARDATA of the physical cluster). Since the field does not exist in the database, it is impossible to create a secondary index on it. If you try to create a secondary index on a cluster table in transaction SE11, you will therefore rightly get the error "Index maintenance only possible for transparent tables".
    Theoretically you could get around this by converting the cluster table to a transparent table. You can do this in the SAP dictionary. However, in practice this is almost never a good solution. The table becomes much larger (clusters are compressed) and you lose the advantage that related records are stored close to each other (the main reason for having cluster tables in the first place). Apart from the performance and disk space hit, converting a big cluster table like BSEG to transparent would take extremely long.
    In cases where "indexing" of fields of a cluster table is worthwhile, SAP has constructed "indexing tables" around the cluster. For example, around BSEG there are transparent tables like BSIS, BSAS, etc. Other clusters normally do not have this, but that simply means there is no reason for having it. I have worked with the SAP dictionary for over 12 years and I have never met a single case where it was necessary to convert a cluster to transparent.
    If you try to select on specific values of a non-transparent field in a cluster without also specifying selections for the primary key, then the database will have to do a serial read of the whole physical cluster (and the ABAP DB interface will have to decompress every single record to extract the fields). The performance of that is monstrous -- maybe that was the reason of your question. However, the solution then is (in the case of BSEG) to query via one of the index tables (where you are free to create secondary indexes since those tables are transparent).
    Hope this clarifies things,
    Mark

  • Hello, I closed unintentionally 10 files and I can't retrieve the history for each file.Is there a solution ?

    Hello, I closed unintentionally 10 files and I can't retrieve the history for each file.Is there a solution ?

    Hello, do you mean 10 tabs ? check in [http://kb.mozillazine.org/Viewing_the_browsing_history_-_Firefox#Library Library] menu to view the browsing history (except if you [https://support.mozilla.org/en-US/kb/Clear%20Recent%20History Clear Recent History] ).
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • Why can't I see reviews for app updates on iPad 3rd gen since iOS 7 update?

    Why can't I see reviews for app updates on iPad 3rd gen since iOS 7 update?

    AAfter an hour with Apple chat, I figured out what to do on my own.  When the iPhone and iPad go to autolock, press home key and do not open- streaming will be on the screen and I turned it back on.  No more stops.

  • Can anyone write a actionscript for flash project

    Hi All,
    Can anyone write a Actionscript for my project.
    I want to develop my project with the flash.
    My project scenario is, I have total no of 60 (.swf) flash
    movies and are about to take 4 to 5 minutes each, my aim is to
    display 20 .swf files randomly at a time on the screen.
    i.e., if we click on a button for the first time, it should
    display a 20 flash movies on the screen and when we click for the
    second time it should display other set of 20 flash movies it may
    or may not repeat the previous ones. It means every person should
    be displayed with a different set of flash movies, no two persons
    can get the same set of movies. The movies should be randomly
    selected.
    Could you please direct me to meet my scenario, could you
    please write a script for my flash.
    Thank you for your precious time.

    Ndippy,
    Folks on here are pretty good about helping out others who
    are trying to learn actionscript, or have trouble with
    understanding concepts. They are less likely to volunteer to do an
    entire project for you. I'd suggest trying to do it yourself, and
    asking specific questions about the process. Both of your posts are
    way to general to allow anyone to give advice that would be
    worthwhile. You have said that you have 60 .swfs in your first
    post. However, in your second, you said they were 60 quicktime
    files. There are very different processes for each option there.
    Are you planning to display 20 at once, or let people scroll
    through them? What size are your clips and what size are you
    developing for?
    Start small, like just trying to load one movie clip
    randomly, and then work your way up. Experiment with changing the
    positions, sizes, etc. When you run into trouble, ask a specific
    question about what you are trying to do, and people will be happy
    to help.

  • HT1911 how can you retrieve your passcode for your ipod if you have forgotten it?

    how can you retrieve your passcode for your ipod touch if you have forgotten it and it became disabled?

    You cannot retrieve it.
    You can do as the manual tells you to do and restore the ipod.
    If you are unable to restore, then type "unable to restore" into the search bar at the top of this page by Support and read the resulting help articles.

  • Can i retrieve items from time machine into mavericks

    Dear people
    I am looking to install mavericks but don't want to do a clean install, ( i will if it messes my machine up though ).
    If i install mavericks i take it that;
    A: all the apple apps will still work.
    B: if it is messed up then i wil be able to retrieve items from time machine back up.
    C: is it worth doing a seperate back up to a hard drive other than by time machine.
    D: i previously installed my last software via a clean install, as the upgrade to mountain lion messed up my emails
    is it better to do a clean install or are the problems with email boxes etc not relevant in this up date.
    Thank you

    All the Apple apps will still work- that's a very positive, hopeful statement. Probably they will.
    You should be able to retrieve something from your TIme Machine backup. Yes.
    A duplicate backup: it depends on how criticially important your data is, and how paranoid you are. One backup is good enough for me.
    I am a fan of the clean install. However, I did not do one this time with Mavericks. Lazy. But it works fine.
    I would suggest that you restart in safe mode, though, before running the installer. I couldn't get the installer to work until I did.
    Regarding a clean install vs. an update install, I think you are asking the wrong question. My opinion is that the vast majority of problems that people have with their Macs are due to:
    crapware. I will elaborate on this if you want more. If not, stop reading now.
    Crapware = unneeded "haxies", "cleaners", "optimizers", "defragmenters", antivirus software, and GUI modifiers. These are usually poorly written, typically ports from the Microsoft world. They are unnecessary and usually cause problems. They can be impossible to uninstall. They are popular with recent converts from the Microsoft world. I avoid them. My mac almost never, ever has any kind of problem, and I use it a lot, and not just for word processing and checking my email. I do audio recording and editing and some video editing too.
    So I do not think the problems people report are due to the OS itself. People want to blame the OS, but I think it's unreasonable for Apple to be able to control and supervise every software developer on the planet.
    I would suggest: if you have crapware on your computer, do a clean install, and then don't reinstall the crapware. Just my 2 cents.
    If you don't have crapware, the Mavericks upgrade will probably work fine.
    a good backup, Time Machine or otherwise, is always a good idea, especially when installing a new OS.

  • TS3274 How can I retrieve the iTunes and App icons to my home screen?

    How can I retrieve the missing iTunes and App icons to my iPad home screen?

    If you can't find them on any of your homescreens or app folders, and you can't find them via the spotlight search screen (swipe your first home screen to the right), then are they hidden by Settings > General > Restrictions > Installing Apps and iTunes being set 'off' ?
    If not then have you tried a reset to see if you can find them after the iPad has restarted ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Search and index for child projects

    Hello I have a merged RoboHelp 9 project.  Is there a way I can setup the project so that when the user does a search, the child projects are searched as well as the master?  Is there a way that I can used the Smart Index Wizard from the master project to produce an index which includes the child projects as well as the master.  Thank you for any help you can provide.

    Welcome to our community, Steven
    Sorry for slowness, forums seem hit or miss today.
    What you are describing is exactly how a merge should operate. All projects that are part of the merge should be properly searched and an Index would work across all projects. Because of this, I'm struggling to see a need to index everything from only the Master.
    As you likely already know, the Smart Index Wizard simply scans topics and auto-maps them to keywords in whatever project you have open.
    Sorry, but there is no way I'm aware of for the Smart Index Wizard to be used from the Master and coax it to index child projects. It's an interesting thing to consider and I would heartily encourage you to submit a Wish Form to ask for this functionality to appear in a future release. You do this using the Wish Form. (link to the Wish Form is in my sig)
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • So my sister created an iCloud account for me but she has forgotten the password...she has also forgotten the password for the associated email such that I can't retrieve the password for that account...how do I delete the account ?

    so my sister created an iCloud account for me but she has forgotten the password...she has also forgotten the password for the associated email such that I can't retrieve my password....how do I delete the old account so that I can create a new one???

    Content and Apple IDs -
    Content is forever tied to the Apple ID that bought it. Apple does not transfer content from one Apple ID to another. Apple does not merge Apple IDs. You will never be able to access your content bought with one Apple ID with a new Apple ID.

Maybe you are looking for

  • Cannot login to network accounts from client computer

    Hi. I'm setting up my first OS X Server setup for home use...I'm not creating a very complicated setup, but I've been working through the setup one step at a time. Right now, I'm just running the DNS, File Sharing, and Open Directory services. I setu

  • Problem with Deleting in ADF

    I am ysing JDeveloper 10g v.10.1.2 Mr.Steven When you do step by step of how Deleting in ADF , it is not deleting right away. Is there any solution you have it . I do this but it is not work ( maybe there is changing in the new version of JDeveloper

  • Blue Screen of Death when transferring via USB - "DRIVER_IRQL_NOT_LESS_OR_EQUAL"?

    So I have very recently built a computer, and I've noticed that when I'm transferring files via USB the computer will BSOD.  I'm completely perplexed. All my drivers are up to date, as is my BIOS, and I don't know what to do.  Here's the minidump. ht

  • Template Expressions in Library Items?

    Hi All, The quick question is this: can template expressions be made to work inside library items? Here's the situation- The page: http://www.fretbank.com/basics/intervals/index.html I have a 3-tier template structure in place – 1-Root, 2-General Pag

  • Clearfloat problem-extra space remains in IE

    Hi, I've worked on this problem, did the Google thing, but I just can't resolve it. There is extra space remaining under the image even after using clearfloat. I want the bottom border to snug up to the bottom of the image, but somehow in IE I keep g