Listing (for further action) all page items that have a certain script label

hello from France,
Well the question is essentially in the subject line: how to find and work on all page items of a document (or a page/spread) that have the same script label (or better: whose script label contain the same word)?
I tried some variations around something like that, with no results:
set list_pageitems to every page item of page i whose label is "product"
Any clues?
Thanks for your help
Vincent

I found the answer (for those who might be interested), but still have a question (for those who know).
The solution:
set list_pageitems to page item "product" of page i
If you want to do it for a whose document (in may case, deleting some page items):
delete page item "product" of document 1
Strange syntax but it works :-)
The remaining question:
How to find page items whose label contains a certain string: it would be like selecting page items by tags (every word of the script label would be considered as a tag)?
Thanks

Similar Messages

  • Listing (for further action) all page items that have a certain custom label

    Hi again,
    Same question as before (see my previous post today), but now with custom labels.
    Who has already use the custom labels and how?
    I found it easy to write and read custom labels on a item basis (via a loop inside a list) but what if i want to get a list based on a custom label?
    Thanks for any help

    I found the answer (for those who might be interested), but still have a question (for those who know).
    The solution:
    set list_pageitems to page item "product" of page i
    If you want to do it for a whose document (in may case, deleting some page items):
    delete page item "product" of document 1
    Strange syntax but it works :-)
    The remaining question:
    How to find page items whose label contains a certain string: it would be like selecting page items by tags (every word of the script label would be considered as a tag)?
    Thanks

  • Ability to globally delete all text/topics that have a certain conditional tag?

    When deleting a conditional tag in FrameMaker, there is an option to either delete all tagged text, or make the text unconditional. But in Robohelp, it seems the only option is to make the text unconditional. Is there any way to delete all the text with a specific conditional tag, other than deleting it manually? I am using Robo 7. Is there an option to do this in the newer versions? Thanks!

    If you are bringing in content from FrameMaker and want to delete (not bring) certain content having a conditional text applied in the FM source, then while conversion there is a simple way to achieve it, apply "FrameMaker condition text build Expression" during Import/Link FM source.
    If you use this option while you import or Link any FM source with conditions, then all the text/content having condition set as hidden in FrameMaker will get remove from the topics generated
    but inside RoboHelp you dont have this option to directly remove content from topic, but while generating any output you have the option to exclude any content with a condition applied over it!
    Hope this will help
    Ashish

  • This column cannot enforce unique values because this list or document library may contain items that are not viewable by all users.

    The above error occurs when I place unique constraint on a column in a custom list. This error only occurs because the custom list has been configured to only allow creaters to view and edit their own list items.
    I just can't see why that should prevent SP from placing a unique value constraint though.
    One easy workaround would be to place the unique constraint on the SQL Server table that represents this list. However, in a hosted environment, it is not always possible to gain access to the backend server. What is more, I am uncomfortable with this
    approach as it may break other parts of SP 2010.
    Is there any other approach?

    Hi,
    If SharePoint were to enforce uniqueness on a column in a list where users are only allowed to see and edit list items that have created, then you could have a scenario where -
    a. user1 tries to add a new item to the list which violates the uniqueness constraint
    b. SharePoint reports an error
    c. user1 gets to know that there is another item containing the same value in this list
    d. this violates the security settings that you configured (each user should be allowed to only see the items that they have created). Now if you change the permissions settings to allow users to SEE all items, but only
    edit items that they have created, this error disappears (obviously).
    Now getting to the workaround you mentioned (creating a unique constraint on the SQL Server table). This is not going to be possible for numerous reasons -
    a. Modifying (or for that matter, even performing SELECT operations on) the SQL Server tables is an unsupported operation and it will definetely break other things in SharePoint, not
    to mention that you will lose all support options from Microsoft. However if you don't care about this, then it will still not be technically possible because...
    1. SharePoint does not create a new SQL Server table for every list/library. 
    2. If you did get around to enforcing a unique constraint in the one single table that SharePoint uses for all lists, then you will be enforcing this constraint on each and every list in all the sites and in all the site
    collections that are assigned to that content database.
    Please "Mark as Answer" if a post has answered your question or "Vote as Helpful" if it was helpful in some way. Here's
    why

  • [AS CS3] Bug? All Page Items - grouped items w labels

    Can anyone confirm this behaviour for me. I would classify it as a bug, but maybe the logic for it not being a bug escapes me.
    The command "all page items" is supposed to return a (flat) list of every page object, right? I would suspect that I should be able to address any object in the list. But I can only seem to address an object when it's inside of a group.
    I am trying to get the text of a text frame that has a label. It may or may not be inside a group. I can certainly do a try/error block to try a script statement for objects in a group or not in a group. But I think that "all page items" should be able to handle it directly.
    Here's a test script: ------
    tell application "Adobe InDesign CS3"
    tell document 1
    get label of all page items
    set myUngrouped to contents of text frame "some label" --only works when objects ungrouped, this is expected
    set myText to (get contents of text frame "some label" of all page items)
    --both statements work ONLY when objects grouped
    set myText to (get contents of every page item of all page items whose label is "some label")
    end tell
    end tell
    Steps:
    Make a new document.
    Draw a text frame. Type some text into it.
    Label the frame "some label".
    Draw another empty graphic or text frame.
    Run script
    -->result is, myText statements error out. Why is this?
    Now group all items on page.
    Run script.
    -->result is, myUngrouped can't continue. This is expected.
    Comment out myUngrouped statement
    Run script.
    -->result is, myText statements work OK.

    On 19/8/08 1:14 AM, "SuperMacGuy" <[email protected]> wrote:<br /><br />> set myText to (get contents of every page item of all page items whose label<br />> is "some label") <br /><br />The syntax is a bit tricky. The key is that all page items returns a list,<br />so what you want is certain items -- not page items -- from that list. So:<br /><br />set myText to (every item of all page items whose label is "some label")<br /><br /><br />-- <br />Shane Stanley <[email protected]>

  • AS - all page items, access not allowed

    I am upgrading an AppleScript from working with InDesign CS5.5 to CS6.    When I recompile I get the syntax error:
    "Can't set <<constant dpvtdppv>> to <<class aPgi>>.
    Access not allowed."
    My statement is a simple
    "set pList to get all page items" within a tell myDoc section.
    In reviewing the AS guide for InDesign CS6, the notes say that Chapter 4, covering all page items,  was not changed in CS6.  Page 113 of the guide phrases the statement without a "get", so my statement would be
    "set pList to all page items".  This fails with the same error.  As my code gets plenty of use under CS5 and CS5.5, I suspect a dictionary error from Adobe.
    Anyone with ideas?

    G'day
    try :
    set pList to every page item
    m.

  • How do you change the color of a page item that is a static source

    I have a page item that does not have a label but the source of the item is always static. It will always show INCOMING in this source. INCOMING is hard coded under Source in the Source value or expression. The customer wants the word INCOMING to be bolded. I added the ccss code to bold the value but it matter where I put it the value will not be bolded.
    Thank you,
    Patti Spycher

    Put the following in the HTML Form Element Attributes of your
    style="font-weight:bold;color:darkblue;font-family:Courier"See this example:
    http://apex.oracle.com/pls/otn/f?p=31517:68
    by picking any of the employees from the select list and running "Search"
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Is there any list for out of the box portlets that come with portal installation.

    Is there any list for out of the box portlets that come with portal installation?
    Ramesh

    Yes - it's in the online help, on the Learning About Your Portal : About Portlets page. Here is the content:
    Portlets Created Upon Install
    The following portlets (and their necessary portlet Web services and Remote Servers) are created when you install the portal:
    Folder Expertise:This portlet displays the list of folders for which the user is an expert. It is added to the User Profile page by default.
    General Information:This portlet displays the default Profile Page. It is added to the User Profile page default.
    Managed Communities:This portlet displays the list of communities managed by the user. It is added to the User Profile page by default.
    Portal Login:This portlet allows users to log in to the portal. You probably want to add this to the guest user's home page so that users can log in from the default page displayed when they navigate to your portal.
    Portal Search:This portlet allows users to search your portal and access their saved searches. Users might want to add this to their home page for easy access to their saved searches.
    The following portlet templates (and any necessary portlet web Services and Remote Servers) are created when you install the portal:
    Community Links:This template is used by the portal to create portlets that display the links saved in a Community Knowledge Directory folder. To learn more about Community Links Portlets, see Community Links Portlets.
    Content Snapshot:This template is used by the portal to create portlets that display the results of a Snapshot Query.
    You can also install the following functionality as part of the Optional Enterprise Web Components:
    [url[/url]Stored Content:This portlet template allows you to create portlets that display stored content that is periodically refreshed. You might use this type of portlet to display content that is resource-intensive or takes a long time to generate. To learn more about Stored Content portlets, see Stored Content Portlets.
    [url[/url]XML Source:This portlet template allows you to create portlets that can collect XML content from an external source and display it in the portal as HTML. To learn more about XML Source portlets, see XML Source Portlets.

  • Getting letters for items that have been removed from my credit report

    I have gotten several credit cards in the past month as I have been working on rebuilding my credit. Over the past few weeks I have been receiving letters from collection agencies for items that have been removed from my credit report. Has anyone else had this issue? Should I just throw this stuff away since it's not longer being reported on my credit report and the collections are so old they've been removed from the report? I am freaking out a bit. Any advice is welcome.

    wonderwoman1970 wrote:
    They were removed because they are over 8 years old.They can still try to collect, they just cannot place it on your reports. If its also beyond SOL in your state, you have to option to sent them a Cease Communications letter, charmingly refferred to as a FOAD letter. (Google it to find the meaning of that acronym).They will just sell it to another JDB, who may send you another collection notice. Keep all correspondence regarding this debt in order to keep track of it. You also have the option to settle it for a small percentage - I would suggest offering no more than 5-10% of the original amount (not some inflated "new balance"), and in your offer letter refer to it as "old, time barred debt, that is not a current financial obligation" but that you are willing to settle only to close out the account.

  • Query to list out shared components and page number that used them

    Hi all,
    I created report queries and report layouts under apex shared components for BIP printing purpose. To match them correctly, I always make sure query and layout files have the same name.
    But as the nubmer grew, I like to know if there is a systematic way to query out the queries and associated layout files plus the page number that have print buttons point to these shared components. Can you help ?
    Thanks
    Munshar

    Hi Munshar,
    you can use APEX Views to query this information.
    To get an overview on what Views are available go to Application Builder and choose "APEX Views" from the right sidebar.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at and http://www.wirsindapex.at

  • For some reason all my ringtones that I have purchase have disappered on my iphone and itunes on my computer.

    For some reason all my ringtones that I have purchase have disappered on my iphone and itunes on my computer. How do I get them back? They are not on my purchase list.

    Welcome to the Apple Community.
    The easiest thing to do would be to sign into your iTunes account on your computer, connect your phone and sync. iTunes should copy anything from your phone that isn't already in your library on the computer.

  • [AS] Change Colour of  all page items on layer

    Hi
    I am trying to set up a script to change the colour of fill, stroke and text of page items on one layer, and having very little luck, what I have so far is below, as it stands I seem to only be creating the swatch, could I get a few pointers on how to do this correctly please?
    I have three attempts as below, which return pretty much the same result, nothing?
    (1)
    tell application "Adobe InDesign CS3"
    set myDocument to active document
    activate
    tell document 1
    try
    set _Swatch to make color with properties {name:"PANTONE Blue 072 U", color:spot, color value:{100, 88, 0, 5}, model:spot}
    set _NewColour to swatch "PANTONE Blue 072 U"
    set swatch _NewColour to every page item whose fill color is swatch "Black"
    set swatch _NewColour to every page item whose stroke color is swatch "Black"
    end try
    end tell
    end tell
    (2)
    tell application "Adobe InDesign CS3"
    set myDocument to active document
    activate
    tell document 1
    try
    set _Swatch to make color with properties {name:"PANTONE Blue 072 U", color:spot, color value:{100, 88, 0, 5}, model:spot}
    set _NewColour to swatch "PANTONE Blue 072 U"
    set _Colour to swatch "Black"
    set _Fill to every page item whose fill color is swatch "Black"
    set _Fill to _NewColour
    set _Stroked to every page item whose stroke color is swatch "Black"
    set _Stroked to _NewColour
    end try
    end tell
    end tell
    (3)
    tell application "Adobe InDesign CS3"
    set myDocument to active document
    activate
    tell document 1
    try
    set _Swatch to make color with properties {name:"PANTONE Blue 072 U", color:spot, color value:{100, 88, 0, 5}, model:spot}
    set _NewColour to swatch "PANTONE Blue 072 U"
    set _Colour to swatch "Black"
    set _Fill to every page item whose fill color is swatch "Black"
    set _Stroked to every page item whose stroke color is swatch "Black"
    set _All to _Fill & _Stroked
    set swatch of _All to swatch _NewColour
    end try
    end tell
    end tell
    Cheers
    Kev

    Try this:<br /><br />tell application "Adobe InDesign CS3"<br />    set myDocument to active document<br />    activate<br />    tell document 1<br />        try<br />            set theLayer to layer 1 -- or whatever<br />            set _Swatch to make color with properties {name:"PANTONE Blue<br />072 U", color:spot, color value:{100, 88, 0, 5}, model:spot}<br />            set _Colour to swatch "Black"<br />            set fill color of every item of all page items whose fill color<br />is _Colour and item layer is theLayer to _Swatch<br />            set stroke color of every item of all page items whose stroke<br />color is _Colour and item layer is theLayer to _Swatch<br />        end try<br />    end tell<br />end tell<br /><br />-- <br />Shane Stanley <[email protected]>

  • I'm swapping my iphone 4S for a iphone 5, I can enjoy all the apps that have old phone?

    I'm swapping my iphone 4S for a iphone 5, I can enjoy all the apps that have old phone?

    Just be sure to do a complete sync using iTunes and storing the backup locally on the computer. A local copy of every app will be stored, together with the rest of the stuff from the phone. Later, when you get the new phone, plug it in immediately with iTunes running: it will recognize that the phone is new and offer to restore from the stored backup. Those apps that don't get installed automatically as part of the restore, you can manually install from the local copy.
    Works flawlessly on a Mac. I guess same thing should occur on a Windoze PC, but I don't sleep with the Enemy.
    Edit: be sure the computer has enough juice to finish the restore. On another thread, a participant tried to do the above, computer died midway, screwed the process up.

  • Assigning View permission to all the users that have been selected in contact selector - SP 2010, InfoPath 2010

    I have a SharePoint InfoPath 2010 browser form with item level security. Only submitter
    and approvers has access to the form.  This form contains a people picker that is populated with the names of attendees
    for the meeting they attended (which
    I am able to store in Field2 below). I want to allow attendees to be able to view (grant view permission) the InfoPath form. Field 2 has the users in form of domain\user1;domain\user2; etc. Following the below step, I am getting error when I ADD or REPLACE
    permission on current item. How do I go about assigning view permission to all the users that have been selected in contact selector?
    Jitu

    Hi ,
    i understand that the text box and the people picker hold multiple user names and you want to grant user permission based on the user in the text box.
    I have a test based on your description,the results are: When there are multiple users in the text box, the workflow will throw an error'Error Occurred'.It is the same with the people picker column.
    You need to limit the peopel picker to only allow to select one user,in this way the text box will only hold one user.Then you can use the people picker or the text box to grant user permission.
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • Why isn't Taiwan listed for iTunes U educational content?  We have content ready, but nowhere to put it.

    Why isn't Taiwan listed for iTunes U educational content?  We have content ready, but nowhere to put it.  What do we need to do to get Taiwanese schools affiliated?  Asia in general is underrepresented and Apple should be pro-active and get more schools from this part of the world involved in iTunes U.

    Sorry, but none of us here, who are all just fellow users, know why Apple has not yet expanded iTunes U to other countries. All we know is that they haven't. When, or indeed if, they will expand to Taiwan is unknown.
    Regards.

Maybe you are looking for

  • Displayed nodes in a JTree

    Hi, i'm creating a JTree with TreeModel, and make the root as my c: drive. when the tree displayed, i found that it display some files that are actually not available in my c: drive. so, can anyone please tell me what's wrong in this case? thanks in

  • Implicit character or charactered structure -- to String  Conversion

    Hi everybody, that sounds trivial but i am struggeling.... which is the most elegant way to do a implicit "To-String" Conversion in ABAP Objects... I have e.g.     data lok_string type string.     lok_string = wa.     m_object->addline( lok_string ).

  • Any fix for 0xE8000003 error ??

    i've just installed iOS 7.0.6 on my iPhone 4 and iTunes won't recognize it anymore, i keep having the 0xE8000003 error whenever i plug my device ... please help it started to get in my nerves

  • ABUnknownPersonViewController will not behave like unknown, recent call

    I'm trying to take a recent call/phone number and give the user the option to "Create New Contact" or "Add to Existing Contact" (just like the view controller that is presented for recent calls that are not listed in your address book). Unfortunately

  • Microsoft Visio 2010 - error 128 - corrupt file cannot open

    I've tried everything in the Microsoft self-help article and nothing has worked. I'm assuming that keeping the Visio file on a flash drive and hibernating the laptop with the file open might have caused this. Does anyone know how to fix it? Do I need