CS4: Get all the UIDS of pages containing a page element
Hello
How can I get all the UIDS of page, which contains a page with a specified UID element?
For example: I have two UIDS of pages if a page item is placed on two pages.
Thank you
Hans
Jongware probably confuses the problem with page elements spread master.
I think you talk page possibly items on several pages in a spread.
ILayoutUtils::GetOwnerPageUID is a good start.
If you want more details, browse the pages of your broadcast and match covering them for the bounding box of the element on the page.
Dirk
Tags: InDesign
Similar Questions
-
I need to get all of the tables on a particular page. The document consists of a bunch of unrelated text blocks. I use this to retrieve the tables:
var doc = app.activeDocument;
page var doc.pages = [54];var tables = page.textFrames.everyItem ().tables.everyItem () .getElements ();
Alert (tables. Length);This page (page 55) has 3 tables on it, but my code returns only 2 tables. A table can be placed directly on a page and not be in a block of text? If Yes, what is the best way to get all the tables in a page? Thank you very much.
Rick Quatro
Ah, I don't know who. "Tables" is a collection, not a simple table and a reckless experimentation of shows that you can't simply use .concat glue them together.
I'm sure I've seen a couple of workarounds for a situation like this. Maybe it's time to read "[CS3] [JS] everyItem() and getElements()"-i.e. of Marc Autret posts on this subject, at the end of this thread.
In other words, if you stick to use everyItem()! It is perhaps easier to build a table "the old-fashioned way". Copy the following code is based on my earlier assumption you officials texts bound in management of related texts, but you can rewrite it to accommodate groups, thus:
t = app.layoutWindows[0].activePage.textFrames.everyItem().tables; tableList = []; for (i=0; i
-
I want to get all the paragraphs in a document
Hello
I want to get all the paragraphs of a document (document has table and cell and it contains a few para as well)
Here is my script.
var objDoc = app.activeDocument;
var objDocName = objDoc.fullName.toString ();
var a = objDoc.stories.everyItem ().paragraphs.everyItem () .getElements ();
var paraLength = per .length;
$.writeln (paraLength);
for (j = 0; j < par.length; j ++)
{
$.writeln (j);
var text = nominal .silence [j];
var IpFin [j] =.insertionPoints.firstItem ();
var endTF = endIP.parentTextFrames [0];
var endCitationPage = endTF.parentPage;
var index = endCitationPage.index;
var offset = endCitationPage.documentOffset;
~ $.writeln (text + "Page:" + endCitationPage.name);
~ $.writeln (index);
}
This script does not give me the text which is part of the cells.
Is there a property where we can get all the para doc as:
var a = objDoc.paragraphs.everyItem () .getElements ();
Try this,
var objDoc = app.activeDocument; var par=objDoc.stories.everyItem().paragraphs.everyItem().getElements(); var paraLength=par.length; $.writeln(paraLength); var b = 0; for (j = 0;j
=1) { var a = j; for(var i=0;i Kind regards
Cognet
-
Satellite L500 - can I get all the instruments and the driver for Win 7?
good then I got this Toshiba Satellite L500 with Intel... its installed with Windows Vista Home Premium...
The first problem I had with it was that the Toshiba programms stoped working and reformatting the drive and put it back, then I 'solved' this part...
Now, the second is that RUNDLL32.exe stops working after that the pc started motor pump and the computer stops responding or becomes slow...
I tried to format the drive but is still of problems.... more the toshiba programms are defective...After research I did his seems to have a place of Vista so I asked of upgrade me to windows 7 and then I also had a few questions?: :|
1. is it possible to get all the programms Toshiba Windows 7, flash cars, webcam etc.
2 does windows 7 run all the programms vista only?
3 - is so great that I heard?
Thank you! {for your help, I really need some help... thank you: 8}
Hello
I put t know why you have software problem with the Vista OS preinstalled but my Toshiba tools and utilities work fine! Once the control buttons stopped working, but I could fix it reinstall the VAP.
Back to your question:
Yes, you can get all the Win 7 drivers and tools for the L500 series. Why not?
If you would take a glance on the Toshiba page you would find all the stuff for download! -
original title: Auto Adjust
Hello.
Whenever we start to use our computer, the screen goes black and the message 'Auto adjust is in Prgress'. Then, all of our screen is small and all the icons and pages are smaller than before.
I tried restoring the system that works and that gets our screen back to normal but every day that this Auto setting is coming and we can't seem to stop it.
Any help would be appreciated... Thank you
Try this:
Go to the Web site of the manufacturer of your laptop computer-graphics/computer card > drivers and downloads Section > key in your model number > look for the latest Vista drivers > download/install them.
Then:
http://Windows.Microsoft.com/en-AU/Windows-Vista/change-screen-resolution
Change the screen resolution
Screen resolution refers to the clarity of the text and images on your screen. At higher resolutions, items appear sharper. They appear also smaller, so more items adapted to the screen. At lower resolutions, fewer items adapted to the screen, but they are larger and easier to see. At very low resolutions, however, images may have serrated edges.
See you soon.
Mick Murphy - Microsoft partner
-
How can I get all the file in a directory name?
Purpose:
Try to get all the file in a directory name.
My code:
FileConnection fconn = (fileDirectory) Connector.open (FileConnection);
Listing files = fconn.list ();
Listing files = fconn.list ("*", true); Try
_SCREEN.updateDisplay (files); txt shows unreadable.
String filename = fconn.getName ();
_SCREEN.updateDisplay1 (fileName); Show WMMS.Try using fileconnection.getName (). -->, But fail.
Could someone give a tip to solve the problem?
Thank you for your attention,
You cannot print just an enumeration.
It is a collection that contains objects, in this case of strings, as you can see on http://www.blackberry.com/developers/docs/7.1.0api/javax/microedition/io/file/FileConnection.html#li...You can use a while construct to browse the enum, as:
While (files.hasMoreElements ()) {}
System.out.println (files. NextElement());
}
(do not know if you do not cast explicitly to a string for sysout, iirc) -
without the license key can we get all the features of the ips
Hi all I have a sensor ips 4215. I don't have the installed license key is to have the 5.0.1 image inside. Thus, it comes with the default signature. I want to know I will get all the features of IP 4215 even without the license key. can u pls someone help me with that.
concerning
Assane
Yes, you will get all the features of IPS sensor - its fully functional devices, you don't only have latest signatures (against the latest attacks - but anyway IPS uses also heuristic analysis to detect attacks)... and 5.0.1 contains a lot of signatures in order to have the right IPS device
Signatures can be downloaded from EAC, if you smartnet - location even agreement as with IOS... :))
M.
Hope that helps the rate
-
Using {module_data}: is it possible to get all the customers who are subscribers to 2 specific secure areas?
That is to say: the list of all customers who subscribe to the secure area 51 and 6387 id.
I am trying the configuration that you can see in the link below but is not working - I think that each customer is listed separately for each secure area, rather than listing a single customer and subscribed them to safe areas.
2015-10-02_16-01 - 54.png - Google Drive
I want to all clients in the CRM that match the criteria, not just check if the user matches the list.
I can get it working for a secure or using GOLD, but the operator AND does not work in this case.
Any thoughts?
Do I have to run two separate (one for each secure area) calls, then compare the two somehow? Keeping in mind the 500 limit because it will look at the whole CRM.
Hi Adam,.
and do not work, as the system is testing to see if there is an object with two identity documents at the same time.
What you can do, is useas follows:
{module_data resource = "zonecustomers" version = "v3" fields = "customerId, IDZone" skip "0" limit = "100" = where = "\ {"IDZone": \ {"$dans": \ [51, 6387\] \} \}" order = 'zone ID' collection = "twoSZ" "}
Yes, this will get duplicated in the result. Simply add the ID to a string, split to table and sort. Just made this to get unique products of 2 catalogs converted for your use case.
EDIT (added a quick feature to find all of your customers)
{module_data resource = "zonecustomers" version = "v3" fields = "customerId" skip = '0' limit = '1' where = "\ {"IDZone": \ {"$dans": \ [6524, 6664\] \} \}" order = 'zone ID' collection = 'howMany' "}
{assign % max = howMany.totalItemsCount-%}
Total customers: {{max}}
{% assign limit = 500 - percent}
{% assign moduloCheck = max: modulo: limit %}}
{% If moduloCheck == 0 %}
{% assign totalPages = max | divided_by: limit %}}
{% other %}
{% assign totalPages = max | divided_by: limit: more: 1 %}}
{% endif %}
Total pages: {{totalPages}}
{% assign string = ' '-%}
{% for i % (0.totalPages)}
{module_data resource = "zonecustomers" version = "v3" fields = "customerId" skip = "{{limit |}}"} "{{time: I}}" limit = "{{limit}}" where = "------{'IDZone':------{'$dans':------[6524, 6664\]------}-}" order = 'zone ID' collection = "twoSZ"} "
{% for article on twoSZ.items-%}
{capture string %} {{item.customerId}},{{string}}{% endcapture-%}
{% endfor}
{% endfor}
{% assign array string = | split: ',' |} Tri-%}
{% assign UniqueId = ""-%}
ID sorted
{{ array | json }}
{% assign index = 0-%}
{% for a table-%}
{% If index ==-%}
{capture UniqueId %} {{a}}, {{uniqueIds}} {endcapture %}
{endif %}
{% index assign = a %-}
{% endfor}
Your customers
{{ uniqueIds | split: "," | sort | json }}
I had over 1000 clients. For me it loads quite fast...
-
Get all the elements of a spread
Hi all
How to get all the elements (images, etc.) of the current spread?
I know we can get the items on a page by < ISpread > GetItemsOnPage(), but how to get ALL the items (including who are located outside of the page but on the spread)
Thank you
Hello Shawn,
You can browse all the pages on the spread and call GetItemsOnPage with the parameter bIncludePasteboard = kTrue.
Markus
-
get all the vertices of a geometry of polygons
I tried to use sdo_util. GetVertices to retrieve all vertices of a geometry column. Some of the geometry of gType 2007 which contains several elements. GetVertices function seems to give the vertices of the first item only. How can I get all vertices then?
Published by: 937152 on May 29, 2012 11:56Why you all NULL values in your sdo_elem_info_array and sdo_ordinate_array? It's very very bad - see http://docs.oracle.com/cd/E11882_01/server.112/e17766/e12700.htm#sthref3897
Despite this, I can get all the 'tops' return of the geometry of your sample - notice that I changed your SELECT a little statement.
jot_test@JOHNOT> create table assessment_parcel_merged ( 2 id number, 3 geometry sdo_geometry); Table created. jot_test@JOHNOT> jot_test@JOHNOT> insert into assessment_parcel_merged 2 (id, geometry) 3 values 4 (506833, 5 mdsys.sdo_geometry(2007,82232,null, 6 mdsys.sdo_elem_info_array(1,1003,1,13,1003,1,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null), 7 mdsys.sdo_ordinate_array(632941.3695,5536245.0144,632939.95209944,5536241.97593627,633251.020958124,5536096.38289373,633369.443364573,5536040.95632826,633371.0274,5536043.9168,632941.3695,5536245.0144,631892.0616,5536736.1337,631892.8842984,5536702.62493823,632873.47478553,5536243.66593412,632884.740084103,5536267.81696815,632886.1576,5536270.8559,631892.0616,5536736.1337,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null))); 1 row created. jot_test@JOHNOT> jot_test@JOHNOT> select sdo_geom.validate_geometry_with_context(geometry, 0.0005) as geom_validate 2 from assessment_parcel_merged; GEOM_VALIDATE ------------------------------------------------------------------------------------------------------------------------ 13033 1 row selected. jot_test@JOHNOT> jot_test@JOHNOT> set null null jot_test@JOHNOT> select o.x, o.y 2 from assessment_parcel_merged a, table(sdo_util.getvertices(a.geometry)) o 3 where a.id = 506833; X Y ---------- ---------- 632941.37 5536245.01 632939.952 5536241.98 633251.021 5536096.38 633369.443 5536040.96 633371.027 5536043.92 632941.37 5536245.01 631892.062 5536736.13 631892.884 5536702.62 632873.475 5536243.67 632884.74 5536267.82 632886.158 5536270.86 631892.062 5536736.13 null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null 50 rows selected.
John
-
I use 5s iPhone and upgrade to iOS 9.3.1 but he can't get all the features...
What features Miss do you?
-
Hi, I am told by a website mFirefox is out of date so I can't get all the features. I continue to download an update, but it continues still to be. Could you please help me. Thank you.
Download the latest version of Firefox to:
- http://www.Mozilla.com/en-us/Firefox/new/
- http://www.Mozilla.com/en-us/Firefox/Central/
- http://www.Mozilla.com/en-us/Firefox/all.html
Uninstalling Firefox
- https://support.Mozilla.com/en-us/KB/uninstalling%20firefox
- DO NOT SELECT DELETE YOUR DATA AND USER SETTINGS
Install Firefox on Windows
Check and tell if its working.
-
I don't get all the sounds from my speakers
Original title: sound recording play
I don't get all the sounds from my speakers... the icon has an x through it... said that they don't are not hooked... shouldn't have internal sound
Hello
1. what version of operating system you are using?
2. What is the full error message that you receive?
You can try the procedure in the below mentioned link and check if it helps.
No sound in WindowsHope this information is useful.
-
my printer keeps printing a previous page all the time so page is double printed
my printer keeps printing a previous page that all the time so page is double printed, so essentially 2 info pages are printed on one page. How can I erase the old off page
keep a few pages print themselves with my new job, so I can't read my new job, because he has an old page of work prined. If I call this double printing. or ovwerlap of print. How can I stop, is a previous job stuck in the qque. Help me
Hi dax222,
· What is the number and model of the printer?
· This happens with all the application you are trying to print from?
· What is the service pack installed on your computer?
You can follow the steps in the below link to cancel printing or to delete a print job that is stuck in the print queue in Windows XP: http://support.microsoft.com/gp/pc_print_introductiontocanc
Link for reference: resources for the resolution of the printer in Windows XP problems:http://support.microsoft.com/kb/308028
With regard to:
Samhrutha G S - Microsoft technical support.
Visit our Microsoft answers feedback Forum and let us know what you think.
-
computer crashed, have windows vista, indented leave, all the documents lost, can I get all the files, how to do it, in simple terms,
Thank you.
If by "computer of new beginning" you mean that you have started your recovery or disk restore factory set and reinstalled Windows, then the ability to recover your files is practically zero. You can try a utility like Recuva (http://www.piriform.com/recuva) but since you have rewritten the entire hard drive, it is highly unlikely that anything will be recoverable.
Maybe you are looking for
-
Load Firefox on Amazon Fire TV Stick - side does not fit screen
Aside I loaded Firefox apk on Amazon fire t tv to activate my fire t tv in a device capable of web browser. Works fine, but the image on the TV screen is about 2% to 4% too large for the screen. Kodi (other side responsible apk) allows photo 'zoom' t
-
OK, now my login and my password must be defined.If I do my main browser Mozilla it replaces Bing, right?All my emails are always going to my Yahoo account?Is anything going to change? If Mozilla become my main browser and my email account still work
-
How spin-up retractable hard drives from my laptop to view files.
Hi, I have problems with my laptop and the video card (motherboard builtin embedded) is probably bad. This isn't what I'm asking here. I'm just a little impatient and thinking that I can't fix it (cost ineffective). So, is there a way I can take 2 ha
-
I am looking to buy a 2560x1440p monitor to use as an external monitor with my laptop Envy 15 t-q100 Quad Edition CTO (ENERGY STAR) . Can this laptop complete 2560x1440p run via HDMI with Windows 10?
-
I am an engineer of network for a 2000 user environment. We are under Windows XP SP3 one have both 100 Mbit/s Ethernet and Wi - Fi (802.11 g) in our environment. We use the AD to get our Wireless configurations and ask them to automatically connect