[JS CS3/4] Store data app.selection [0] even after deactivation

Hello

I am faced with a question that I can't find a way.

To be brief, I am stockpiling app.selection [0] .silence (text) & go to this value, even though the text is deselected.

In case I am mistaken (can be:-S), let me detail the process of my script:

1. a user selects some text

2. the user run the script

3. the script retrieves the contents of the selection

var salt = app.selection [0];

var myOriginalContents = sel.contents;

4... makes a reference index & theme

5... .generates index on the last page

6.. .find original content in the block of text index

app.findTextPreferences.findWhat = myOriginalContents;

app.findText ();

7. .. Selects found text

App.Select (App.FindText () [0]);

8... .added a hyperlink (source = text; destination = original selection page, name is myOriginalContents).

Just assign the selection to a var.

you have it in:

var salt = app.selection [0];

var myOriginalContents = sel.contents

so unless you change the content of these vars (by removing items) you can still get it using myOriginalContent, no need to select it again.

Tags: InDesign

Similar Questions

  • BlackBerry smartphones I can't download app from app world blackberry even after that I disabled the content protection

    I have disabled the protection of content, but still this message to disable content protection, whenever I try to download something out of app world for blackberry

    Hello and welcome to the community!

    This error often occurs when one tries, while USB attached to a PC, use the PC/browser interface web AppWorld. I recommend untether and rather use the AW interface on the device.

    Good luck!

  • CC Desktop - App Panel missing (even after deleting file OPM)

    I tried uninstalled CC Office used the cleaning tool, deleted the file OPM and even entire OOBE folder. I tried many openings of account but no matter I can't do the App back panel! Help.

    Hello

    Please see apps missing tab

    Desktop cloud - Apps tab missing - creative Mac

    Missing Creative Cloud Desktop applications tab

    Let us know if this helps!

  • How can I back up App store data?

    I need to restore windows 8 parameters, but I want to save my app save data and possibly the apps them selves so I don't have to re - download. can someone tell me how I can do this. Nothing is complicated if you can give step by step instructions.

    Well, I finally found my answer. {Thanks to dingl I was just looking for information about apps apps not metro, and sorry to burst your bubble but Bennet recorded metro apps stores data file is c:\users\{username}\AppData\Local\Packages\{packageID} if you are able to create a backup of your backup data. to restore the file later. It is also a way to app data backup by setting up your cloud services and it will automatically install with your backup files to all the devices that you open your Microsoft account. Even if it is complicated, you can also get a paper copy of the metro app downloads. http://www.wikihow.com/Access-Metro-Style-Apps-Installation-Folder-in-Windows-8 . in any case thanks for trying to help and I get more information to help me look for the answers.

    Links to the information you have found.

    http://StackOverflow.com/questions/15098751/where-does-Windows-store-apps-stores-its-local-settings

    http://www.WikiHow.com/access-Metro-style-apps-installation-folder-in-Windows-8

  • A Web site can store data for offline use without asking?

    In options, advanced, network, web content offline and the user data, I 'tell me when a website asks to store data for use in offline mode"checked

    And then in the box below that lists Web sites that are allowed to store data for offline use there is an entry "https://forecast.io".

    This site never asked me to store data offline, and I never did anything to him. The website showed there before, I removed it and now it's back.

    So, since I have the box checked to tell me when a site asks you, means that there is not just ask?

    Yes, a Web site can store data for offline use without asking and can do even if you have checked the option 'tell me when a website asks to store data for use in offline mode', because this option does not work correctly. See the bug: https://bugzilla.mozilla.org/show_bug.cgi?id=959985

    As far as I know, it does not mean that the site simply "did not", it's just that the option does not work (or maybe only works in the case where the data are larger than the pref in offline mode - apps.quota.warn?)

    The workaround given by cor - el above, must currently off - apps.allow_by_default set to false.

  • How to manually backup and restore iphone content (texts, contacts, data apps) and apps?

    How to manually backup and restore iphone content (texts, contacts, data apps) and apps?

    What do you mean by "back up manually? Do you mean back up some data like contacts, texts selectively?

    Or you don't want the automatic upward, instead, you want to manually create upward?

  • How do I to the previous screen in android using phonegap and store data in ios

    Hello

    I use phone of gap technology, in android how previous screen.actually go, I used navigator.app.backHistory () orwindow.history.back () ' its fine for blackberry or ios .but does not not in android... Please suggest...

    Question 2) how to store data in ios?
    I used (window.localStorage, it works very well with android and blackberry not ios.why)
    Thank you

    Hello

    I think you'll have more chance of Phonegap Google Group for your Android questions as everyone is here to help specific BlackBerry.

    https://groups.Google.com/Forum/?fromgroups#! Forum/phonegap

  • Several stores data in 1 HDD

    Hello

    I do this as an experiment. I have an empty hard disk of 40GB.

    First, create a data store, specify 10 GB.

    After that, try to create a new store of data again. The same hard drive will not appear to select.

    But if I try to increase the data store, it works. So that means I can't have more than 1 data store in a hard drive.

    No idea why Vmware design it this way?

    VMware strongly recommends the creation of a single vmfs volume on one partition, so the GUI does not allow you to create several stores data on the simple lun. It is design to reduce scsi2 reserves.

    You can, however, use vmkfstools command to create multiple vmfs on a single lun data stores.

  • Interface a critical error: all stores data in a dataset must be attached

    Hi, I added the new data source store in the existing interface, and create the join between them, here's the code

    ITransactionStatus trans = odiInstance.getTransactionManager () .getTransaction (new DefaultTransactionDefinition());

    InteractiveInterfaceHelperWithActions helper = new InteractiveInterfaceHelperWithActions (odiInterface, odiInstance, odiInstance.getTransactionalEntityManager (), new SourceSetComputerRetainer (odiInterface), new SourceSetCreatorNew(), new SourceSetNameProviderBasicIncrement() new MappingPersistencePolicyDefault());

    OdiDataStore newDataStore = OdiUtils.getOdiDataStore (odiInstance, sourceTable, modelCode);

    helper.performAction (new InterfaceActionAddSourceDataStore (newDataStore, defaultDataset, new AliasComputerDoubleChecker(), new ClauseImporterLazy(), new AutoMappingComputerLazy()));

    String joinExpression = odiInterfaceVO.getPrimarySoruceDataStoreJoinColumn () + "=" + (attributeVO.getJoinColumn ()) replace ("@ALIAS @", alias);

    helper.performAction (new InterfaceActionOnJoinSetJoinProperties (new Join (defaultDataset, joinExpression, false, ExecutionLocation.SOURCE), false, true, false));

    If (helper.areSourceSetsDirty ()) {}
    helper.computeSourceSets ();
    }
    helper.preparePersist ();

    odiInstance.getTransactionalEntityManager () .persist (odiInterface);

    odiInstance.getTransactionManager () .commit (trans);

    When running helper.preparePersist (); I get following message.

    May 20, 2013 05:05:44 oracle.odi.interfaces.interactive.support.InteractiveInterfaceHelperWithActions preparePersist
    INFO: SDE_AGILE_AuditsFact.W_PLM_AUDIT_FS_SQ_W_PLM_QCR_PE a Interface error critical: all stores data in a dataset must be attached. This data set has several sets of storage of data source disconnected. The sets are: [W_PLM_QCR_PE]; [W_PLM_PAGE_THREE_PS]. To design a Cartesian product, create a join, and select cross in its properties join...

    y at - it no problem with the statement that I used for the join. After executing this code, when I see in the join of the interface are adequate.

    Thank you
    Nidhi

    You can use InterfaceActionAddJoin() instead and try.

    Join() constructor is for internal use only and should not be used. You can use InterfaceActionOnJoinSetJoinProperties.JoinType to join types.

  • Just updated to IOS 10.0.2 and unable to connect using Store.Please App!

    Just updated to IOS 10.0.2 and unable to connect using Store.Please App!

    Harry

    Hello

    Go down to itunes apple ID page homepage remove ID, then reconnect again.

    See you soon

    Brian

  • When the Profile Manager stores data profiles created?

    I have several profiles of Firefox that I created with the Profile Manager, but I find no where the Profile Manager stores data for profiles created because even if I delete all the firefox location of C:\Users\user\AppData\Local\Mozilla user data files and all the data in the registry though Firefox I start the Profile Manager still lists all created profiles.

    Then, where the data for profiles created is stored?

    Hello, these data are stored in subfolders of \Mozilla\Firefox\Profiles\ C:\Users\user\AppData\Roaming- profiles - where Firefox stores your bookmarks, passwords and other user data

  • When Adobe flashplayer wants to store data firefox won't let me respond to the dialog box? / flash player fiadobe settings dialog boxes not reponding

    After you install Adobe Flash 14.0.0.0.25 when I go to a site that wants to store data locally, I am presented with a dialog box that gives me options: allow, deny, specify the isite. However, no matter what I click nothing happens. It's almost as if Firefox is not 'see' the click. I went into settings Adobe manage and added that the site as being approved, but it did nothing...

    Best is to allow a Flash local storage in the world and use the default values.

    See also:

    Flash Website storage settings panel:

    Global storage settings panel:

  • iTunes and app store menu missing from missing settings after put 9.3 updated ios (iphone 6)

    Today, that I update my iPhone to iOS 9.3 6. I noticed that itunes and App Store menu missing from missing settings after (usually presents below iCloud)

    Is anyone else having same issue?

    Check the settings > general > Restrictions > less help to ensure that iTunes store and install apps are on. -AJ

  • Need help to store data

    Hello. I came here for advice how to store data. What I'm trying to do is to take the gains given by my DAQ and store all in a table as it is acquired in an organized manner (3-columns, with a time stamp.) So far, I looked at writing text .vi and write on the worksheet, along various other fired that I found here, and I was not able to answer to my problem. Helping to Write the text, I was able to record things in text format and add future data to them, but I ran the problem do not know how to add commas to keep organized and give the time (I'd love for the data to look at as the writing text file charges of).

    I could not write to the spreadsheet yet executed, that until very recently, I not was able to get rid of all the errors preventing from running, and I can not test it right now, but I prefer to have everything in a text format, such as the lack of the computer I use Excel.

    Hello

    To format the data you have in your table, you can use the table to spread sheet vi string to convert the data to a table in a text format... check this vi

  • How to store data in slot - VI for the next race

    Hello

    I read a file csv and data read from the file in the form of tables (about 170000 pieces).  I'm processing the data in a Subvi.  Several times, I call the Subvi main VI treatment.  Because it takes a lot of time to read the file each time.  I'm storing the berries in local variables and when I call the Subvi next time, I read the data in local variable instead of reading the file.  This reduced the manyfolds execution time.  Since the applocation doesn't face crisis of memory right now, I don't deal with any problem.  But I don't know what happens when the application is running on the system with less RAM.  Will be the local variable be deallocated (which makes it unusable applications), or he will throw all memory error?

    Is there an other way better to store data in slot - VI that can be used the next time when it is called (without all the main data VI)?

    Hi Laurent,.

    See the attached screenshot of LV help for the effectiveness of the memory of the different elements of pass-through of LV

Maybe you are looking for

  • Crack Wi - Fi (mini PCI) Satellite 2400-103 PS240E - 014T 1

    Hi, is it possible to install the Wi - Fi card in this laptop? I mean - mini PCI card with antenna connectors inside.ConcerningBarty

  • Cannot print by Ricoh mp4500

    I downloaded the official driver of the Web of Ricoh site. But it seems to print anything other than a line of words and a few white pages. (BŒUF 10.11.2) Any ideas? Thank you!

  • Parental control minute use!

    There a way to set a time limit - for example, 2 hours total in a period of 24 hours for the duration of a child is allowed to use the computer under parental control? I know I can set the hours of the day - between 09:00 and 20:00 she allowed, but I

  • Loop in Skype

    Get out me of this loop P L E A S E:-Windows Live Messenger connection / "a newer version is available" / Download latest version / "information Skype: previous installation is not complete." Reboot to complete before running Skype set up "/ reboot /

  • How can I change the IP address of my HP 6500 printer

    My HP 6500 printer is connected and powwered.  When I attempttoprint, a dialog box notifying change me the IP address of printers by clicking the start menu the IP address update printer.  I don't know where to start.  Iappreciate your andthank help