The city map can be updated with directory list

Here's the scenario. A city has a business district that is in need of a printable card Vista aerea (posters) with numbers indicating each company. These numbers match a key/directory that lists the number and the name of the company. The plan is updated frequently as businesses come and go. I want the plan to renumber itself during changes. For example, if the company has marked as "4." should be removed from the map, the rest of the indicators would renumber themselves and the directory would itself be renumbered then as well (so that the list is not a missing number). Is - this feesible in InDesign?

You can do it easily

(1) add the map to the page (THE LABELS SHOULD NOT BE PART OF THE map)

(2) create a paragraph of card label style 'map labels' and include a numbered list 'map Lables List'

(3) the installation program, an object style he call card labels set the paragraph style to the map labels.

Set the filling, corner options etc as you like.

(4) make a text frame and put in it the name of the place, and apply the object labels card style.

(5) use him copy / paste to add a label to all the places you need.

5 (b) Important! and a bit hard don't copy and paste it in the ideal order of the list

In the example below, Europe was coppied last, so he go numbered 3, most desired order (from left to right, from top to bottom) could be, USA, Europe, Africa

(6) set up a new style of the object and all the colours None call Invisible

(7) after completing the labelling of all place names select all elements on the page (Ctrl / Comand A) and run this small excerpt

var selection = app.selection,
      l = selection.length;
while (l--) if (selection[l].hasOwnProperty ('contents')   && selection[l].appliedObjectStyle = "Map Labels") {
    selection[l].name = selection[l].contents;
    selection[l].insertLabel("Map Labels", "1");
}
app.activeWindow.activePage.insertLabel("Map", "1"); // Label Page for future reference

You have now nominated all your linked text frames, and they can be referenced asfor example myDoc.textFrames.itemByName ("USA")

And you can identify them as map labels using textFrame [x] .extractLabel ("card labels") == 1;

(8) in case you're wrong in the future, save a copy of the doc.

(9) make one style of character "Names" and apply in your document only on the names you want marked on your map.

either you have to have a certain text (s) somewhere in the document

The USA is really...

Africa is...

10 now, every time you have different references run the following script and update the map labels

// Labeling script
// by Trevor (www.creative-scripts.com coming soonish custom and readymade scripts for adobe indesign and other products)
app.doScript("labelMap()", ScriptLanguage.javascript, undefined, UndoModes.ENTIRE_SCRIPT, "Lable Map");
function labelMap() {
    var doc = app.activeDocument;
                app.findTextPreferences = app.changeTextPreferences = null;
                app.findTextPreferences.appliedCharacterStyle = "Place Names";
    var myPageId = checkForObjectByLabel(doc.pages, "Map");
    if (myPageId === false) {alert("No Map\rBye"); exit();};
    myPageId = myPageId[0];
    var mapPage = doc.pages.itemByID(myPageId),
          mapLabels = checkForObjectByLabel (mapPage.textFrames, "Map Labels"),
          l = mapLabels.length, label, lableFrame;
    while  (l--) {
        lableFrame = mapPage.textFrames.itemByID(mapLabels[l]);
        if (!lableFrame.isValid) continue;
        lableFrame.applyObjectStyle (doc.objectStyles.itemByName("Invisible"), true);
        lableFrame.contents = "";
    }

    // Find names
    var myFinds = doc.findText();
    l = myFinds.length;
    while (l--) {
        label = myFinds[l].contents;
        lableFrame = mapPage.textFrames.itemByName(label);
        if (!lableFrame.isValid) continue;
        lableFrame.contents = label;
        lableFrame.applyObjectStyle (doc.objectStyles.itemByName("Map Labels"), true);
    }
}    

function checkForObjectByLabel (obj, label, from, to) {
    from = from || 0;
    if (obj .hasOwnProperty('length')) obj = obj[0];
    var parent = obj.parent;
    var co = obj.constructor.name;
    co = co[0].toLowerCase() + co.substr (1, co.length) + "s";
    var objects = (from != undefined && to != undefined) ? parent[co].itemByRange (from, to) : parent[co].everyItem();
    var objectsLabels = objects.extractLabel(label);
    var reg = /1/g;
    objectsLabels = ("," + objectsLabels.join()).replace (/,1/g, "1");
    reg.lastIndex = 0;
    var n = 0;
    var ids = [];
    var found = true;
    while (found = reg.exec (objectsLabels)) ids[n++] = parent[co] [(reg.lastIndex = found.index + 1) - 1 + from].id;
    return (ids.length > 0) && ids;
}

Tags: InDesign

Similar Questions

  • XPS 13 9350 - that the wireless card - can not update with new wireless driver driver Dell post 22 Feb 16

    Today, Dell released a new driver for the wireless card: Intel Dual Band Wireless - 8260 Driver AC, W10

    I tried to install, but it will not be installed. The platform not supported. (Exit Code Name: ERROR_INSTALL_PLATFORM_UNSUPPORTED).  My device driver lists my wifi as card: Dell Wireless 1820 has 802 .11AC

    I don't understand - all 9350's do not have the same wireless card? Dell website that lists all the templates as the NIC card: DW1820A 2 x 2 802.11ac 2.4/5 GHz + Bluetooth4.1

    We remove installed driver software, and then install the Intel? Otherwise I do not know why Dell offers this update driver for a machine that does not have the Intel inside card.

    Peace.

    kentjapan,

    9350 XPS comes with the Intel® Dual Band Wireless-AC 8260 or 1820A Wireless Dell Wireless cards. If the driver you want to download gives this error, they you can have the other wifi card.  If necessary, click on the link below and add your service tag of the system in the area to detect the system configuration.

    XPS 9350 drivers and downloads

    For me, to help troubleshoot, please click on my DELL-Jesse L and send me a private Message with the number of Service Dell and your Dell order number.


  • Sync to iphoto with Iphone hangs on during synchronization. In addition the google map can be charged when I click on the places of Mediathek. Error message: "this page has not loaded correctly Google Maps. See the JavaScript console for more technical de

    Sync to iphoto with Iphone hangs on during synchronization. In addition the google map can be charged when I click on the places of Mediathek. Error message: "this page has not loaded correctly Google Maps. See the JavaScript console for more technical details. »

    Perhaps the reason for the problem of synchronization is the problem with the loading of google map?

    Error message: "this page has not loaded correctly Google Maps. See the JavaScript console for more technical details. »

    Apple has not renewed the contract with Google to access Google servers.

    If the old version of iPhoto, which are still using Google's servers for the cards and places are either crashing or hanging.  Places are only work in iPhoto 9.5.1 or newer, who use places of Apple servers.

    There is more support for iPhoto from Apple.  You must update iPhoto 9.5.1 with the Mavericks. It would work well, only it is no longer buying this update to Apple.

    Perhaps the reason for the problem of synchronization is the problem with the loading of google map?

    It is very likely.  If iPhoto work very well when you are offline, then your problems will be caused by the connection failed to Googles servers.

    See this: Bug: iPhoto 9.4 crashing when viewing the scene

  • How improved 11.5.10 12.1.3 EBS can be updated with the data of the 11.5.10 direct

    Hello gurus,

    Earlier this year, we have upgraded a system EBS 11i to a 12.1.3 for the tests and now accounting data in the new system 12i be refreshed with the latest data from PROD (11i). This possible wihtout going through the whole upgrade process?

    Thank you

    Mathias

    Hi Mathias,.

    For more information on this concurrent program, please see:

    ALC: upgrade of historical auxiliary Accounting Transaction (XLAONDEUPG) (Doc ID 1376752.1) accounting program

    R12.0 and R12.1: FAQ for the upgrade of ALS: ALS pre-staged at level, after update and hot Patch (Doc ID 604893.1)

    New feature for the process of SLA for R12.1.2 (Doc ID 980112.1) upgrade

    What to know for an upgrade of the Oracle Payables? [VIDEO] (Doc ID 1471844.1)

    Thank you

    Hussein

  • How can I update with a version without losing any data?

    I have a ZTE open regularly update with custom versions. Whenever I do this, I lose all my data on the phone, like contacts, applications installed in the store of market parameters (including wireless and send the parameters).

    All these data and recovery each time settings is extremely annoying. Is there a way to not lose in the process or to save them and repristining them later?

    Hi Enrico,.

    I know that for import/export of contacts, you can use the following commands:

    • to export contacts (excerpt):
    adb pull /data/local/indexedDB/chrome db
    

    This will store all the data of your device in a folder (in this case, called db) that is created when you opened your shell.

    • to restore (push) back of the unit:
    adb push db /data/local/indexedDB/chrome
    

    Following Github repository offers other tools and scripts for flashing, restore and backup of Gaia:

    I just tried to backup/restore a few times in the past, but it did not work as expected. Feel free to test them with caution. =)

    Thank you!!

    -Ralph

  • Create triggers in the table, sequence, insert and update with "model"?

    It must be of rtfm, trial and error thing but you wanted to ask, is it possible to have models or similar automation for the following scenario:

    1.), I add the table to the logic model

    2.) Using glossary I transform a relational model that was recovered / synchronized with the data dictionary

    3.) then I have the new table to add

    -but

    I would then have auto-DDL of to be synchronized to database:

    -create sequence for the id column

    -create table

    -create indexes for the id column pk

    -Create triggers for insert and update

    -l' idea is to have db_created_dt and db_modified_dt defined in the table, so that each table has them to the fields of record etc.

    -activate the triggers

    Each of them following the same naming convention.

    Similarity with approx. generator Apex workshop utils sql create table of the copy paste "excel" that creates 'id' - column + sequence and insert the trigger.

    rgrds Paavo

    Hi Paavo,

    most of the steps can be made in one or other way

    -create sequence for the id column

    -create table

    -create indexes for the id column pk

    If you want to start in the logic model and you don't want to have the ID column in the logic model and select 'Create the surrogate key' checkbox in the dialog entity - you will get an identity column in the relational model and the version of database and settings in ' preferences > Data Modeler > model > physics > Oracle "you can set the sequence generation and the trigger for taking in load.

    fields of record defined in the table, so that each table has them

    You can add the same set of columns in all tables with the transformation script 'model of Table... ».

    You can also look here Oracle SQL Developer Data Modeler 4.1 user - defined DDL generation using transformation scripts

    to see how to grant your DDL generation using the transformation script. DM comes with example to generate separate tables of logging and triggers. You can create your build script of triggers that support logging in these common columns.

    Philippe

  • I use Firefox on my Mac (OS 10.9.2). V29 Firefox has encouraged the synchronization. Can I sync with my iPhone and iPad?

    I see conflicting information about Firefox for Mac OS. It works on my Mac OS X desktop.
    What is the official position?
    If Firefox is not available for iPhone and iPad, is such a product in the pipeline?

    Sorry, that Mozilla has no plan for a version of Firefox for iOS devices. Regarding the Firefox sync service, Mozilla has interrupted the application for some time ago iOS devices, but Favorites on the Go app took what Mozilla has created for iOS and synchronization service. Unfortunately, Firefox 29 has a new version of sync that is not backward compatible, so on the go bookmarks must be updated to work with the new version of Sync.

    I think that the major problem between Apple iOS and Mozilla's 'walled garden' approach Apple software running on their devices and approach open source Mozilla to the software.

  • How the original in the metadata tab can be populated with lot?

    In Bridge, you can batch fill (enter information about several photos) areas such as the city, State, and photographer credit. Problem is, when you batch fill bridge, it does not meet the original tab. How can the original tab fields be populated in the metadata batch?

    Select the files you want in Bridge, then right click and select 'File Info'. You need to get the original tab.

  • Photoshop CC worm. 14.2.1 is the latest version? If this is not the case, how can I update the sw to the latest version?

    I have a license for PS CC installed on Mac. I would like to know if the version I have (14.2.1) is the update.  If this is not the case, how can I download the latest version? Thanks in advance.

    It is the most recent.

  • How to apply the policy of ip route-plan with a list of prefixes

    Hello

    I have
    wanted to ask you.

    can we use policy with ip prefix list?

    I have the subnet

    172.16.1.0/24

    &

    I have the subnet

    172.16.2.0/24

    If I want to subnet 1 to gateway1 and subnet 2 switch front door 2

    I tried to use the ACL and that's ok, ===> not poroblems

    I tried to use the prefix list, but he didn't succeed.

    My question is, can I use list of prefixes in the road map political ip?

    or in this case, I have to use ACL?

    concerning

    Router = SW = Gateway1

    |

    |

    Gateway2

    concerning

    Hello

    prefix lists are used only for redistribution, filtering of routes or BGP, but not for the ACB.

    Kind regards.

    Alain

    Remember messages useful rate.

  • Can not update with the Bulletin Board

    The Toshiba bulletin board say that I've updated to do, I'm going in and actually there are updates, but when I press the transfer button, it says it cannot detect any network.

    I am connected to the internet when you do.

    Hey,.

    Generally if everything on your laptop is working properly, you can forget about these updates. Should that s only important if you have a problem and the new device driver.

    Maybe you can solve the problem with reinstalling Bulletin Board but like I said: this message is not important.

  • sentence has installed automatic updates and it says I can not enter password, if I says can not find the file I can log in with password safe mode but not normal mode

    I can connect in safe mode, I tried to set up another admin user, but he says the same thing that I can't connect in normal mode

    Try the following steps:

    a. create a new user account without password in safe mode.

    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

    b. start in normal mode.

    c. create another user account with the user created in safe mode a/c and set a password.

    d. try to connect to the user account password.

    Still the error?

  • I want to update a column in any changes made to a row and the column of the same row must be updated with the new status

    Hi all

    I am new in the form of Oracle, I have a question,

    in oracle from(10G) now I show an entire table, when I update a line, then in that same line, there is a column named as status, must got the update automatically with the value 'NEW '.

    Can someone help me how to perform this task.

    If any body knows then please reply as soon as POSSIBLE.

    Thank you

    Ashish

    1003500 wrote:

    Hi all

    I am new in the form of Oracle, I have a question,

    in oracle from(10G) now I show an entire table, when I update a line, then in that same line, there is a column named as status, must got the update automatically with the value 'NEW '.

    Can someone help me how to perform this task.

    If any body knows then please reply as soon as POSSIBLE.

    Thank you

    Ashish

    Ashish

    Try this

    / * write the following code in Post-Text-Item at the block level * /.

    IF: System.Record_Status IN ("MODIFIED", "INSERT") THEN

    : your_block_name.column_name: = 'NEW';

    END IF;

    Hamid

  • my printer is Canon pixma ip2702, but I do not have the disk, I can't conect with my computer says Error 41 is imposible

    where can I find the answer to my problem?

    Hi carlosVillalobos hotel.

    1. what operating system do you use?
    2. What is the full error message you get?

    I suggest you to select the operating system, then download and install the drivers from the following link:
    http://USA.Canon.com/Cusa/consumer/products/printers_multifunction/photo_inkjet_printers/pixma_ip2702#DriversAndSoftware

    Updated a hardware driver that is not working properly
    http://Windows.Microsoft.com/en-in/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

  • After Windows Update the laptop screen brightness is updated with max.

    Original title: Windows 8 screen brightness problem

    Once I updated my laptop that my display brightness is set to max and my battery performance is low. I have tried everything to resolve even from the keyboard and Control Panel, but it didn't work - my eyes are painful.

    Hello

    Check with your system manufacturer support, their documentation online and ask for their
    Forums about known problems.

    Control Panel - Power Options - check power management

    I hope this helps.
    --------------------------------------------------------------------------------------------
    Rob Brown - Microsoft MVP<- profile="" -="" windows="" experience :="" bicycle="" -="" mark="" twain="" said="" it="">

Maybe you are looking for