How to get the associatedXMLElement of myDoc.findText (). [some index]
I try to get the markupTag of a found result, all the text is labeled.
I am looking for "a."
app.findTextPreferences.findWhat = "a";
myFinds = myDoc.findText ();
for (myFindIndex = 0; myFindIndex < myFinds.length; myFindIndex ++) {}
Here, I thought I could get the PointInsertion of the result,
myIndex = myFinds var [0] .insertionPoints [-1] .index;
Alert (myFinds [myFindIndex].parentStory.insertionPoints [myIndex].associatedXMLElement.mark upTag.name)
However this object has no associated element...
myIndex gives the right index for the PointInsertion
When during the extraction of the insertionpoints parent, I'm history, which has a parent Document, so I can't redirect the PointInsertion.
Main problem seems to be that insertionPoints do not have an associated element, I guess.
}
Who can try this friendly Friday afternoon (depending on your region)?
Hi Zinger,
I need to change your code mentioned above, I hope that you expect this:
myDoc var = app.activeDocument;
app.findTextPreferences.findWhat = "a";
myFinds = myDoc.findText ();
for (myFindIndex = 0; myFindIndex)< myfinds.length;="" myfindindex++)="">
myIndex = myFinds var [0] .insertionPoints [-1] .index;
You words are confused with "associatedXMLElements [0]" I changed this name.
Alert (myFinds [myFindIndex].parentStory.insertionPoints [myIndex]. ) Assoc iatedXMLElement. markupTag.name)
Alert (myFinds [myFindIndex].parentStory.insertionPoints [myIndex]. associatedXMLElements [0]. markupTag.name)
}
THX
csm_phil
Tags: InDesign
Similar Questions
-
How to get the new activation key when some numbers are taken away and you have received?
How to get the new activation key when some numbers are taken away and you have received?
Have a laptop with windows 7 from Dell. Need to re install W7. And I have some numbers are taken as a result of its use.How can I get a new code activation or my complete activation code?Best regards, W7 userHow to get the new activation key when some numbers are taken away and you have received?
Have a laptop with windows 7 from Dell. Need to re install W7. And I have some numbers are taken as a result of its use.How can I get a new code activation or my complete activation code?Dell provided you with restore/recovery media and/or a way to restore the machine 'default' as a key sequence? If so - you won't need the number--unless they just sent a DVD of Windows 7 nu - and they are usually not unless you ask.
They have probably installed using their key, which means that even with a utility like Belarc Advisor or ProduKey - you will not get the product key that matches the one on the sticker.
Some may have you take several different digital pictures of the sticker from different angles and see if you can decipher the missing characters like that (you'd be surprised to see how that works).
-
How to get the max sequence number when some record exists in the database table
Hello
I need to create the sequence that he should leave value max already exists in the table.
Example:
I have a table as below:
ID NAME
1A
1 a
3 C
4 D
Now, during the creation of sequence it should start from 5 but I should ' t START WITH 5 hard-code in the sequence to create. Is it possible to do without Hardcoding the max value in the sequence. It automatically brings the value max + 1 for the next data when I insert.
CREATE THE TEST_SEQ SEQUENCE. NEXTVAL
START WITH [Max + 1 val of the table]
MAXVALUE 9999999999999999999999999999
MINVALUE 1
NOCYCLE
CACHE 20
ALL;
Thank you...
Published by: 998976 on April 18, 2013 04:37
Published by: 998976 on April 18, 2013 04:38Hello
All the numbers in a CREATE SEQUENCE statement are literals; no other types of numeric expressions are allowed.
You need dynamic SQL statements to do something like what you want. For example:COLUMN seq_start_col NEW_VALUE seq_start SELECT 1 + MAX (val) AS seq_start_col FROM table_x; CCREATE SEQUENCE TEST_SEQ.NEXTVAL START WITH &seq_start MAXVALUE 9999999999999999999999999999 MINVALUE 1 NOCYCLE CACHE 20 NOORDER;
-
How to get the return value in sqlplus to index?
Hello
I am a PL/SQL Developer, and I have a problem with an existing batch.
Here's the situation:
I have a lot of unix, calling a first script sql with sqlplus (call script0.sql )
script0. SQL call other scripts sql with the command @ (script1.sql, script2.sql,... = > scriptx.sql )
My version of sqlplus is 9.2.
ScriptX.SQL modifies the data in table with insert or update and not commit or rollback anything (it is in charge of script0.sql ).
If there is an error produced in a clue all changes must be rollbacked.
Unfortunately when something fails, it returns only to script0.sql without any information on his breaks down, so continuous script0.sql and when he arrivals all changes are committed because the State of script0.sql is successful when the exit is made.
Is there an equivalent of the $? UNIX in sqlplus to obtain the return of a status @scriptx.sql?
-----
Here is the general syntax of the script0.sql :
WHENEVER SQLERROR EXIT 99;
WHENEVER OSERROR EXIT 98;
@script1.sql
@script2.sql
"exit";
-----
Here's a simple scriptx.sql file:
Insert into table values (x) (y);
-----
Published by: user10713865 on October 30, 2009 06:51Hello
You can use 'Whenever SQLERROR WHAT' options to build the logic.
Use: 'every time THAT SQLERROR EXIT DISMANTLING', if you want to there are a whole script error
OR "WHEN SQLERROR CONTINUE ROLLBACK", if you want to restore and continue to the next.
You might explore other options 'whenever SQLERROR WHAT' to suit your logic and add "COMMIT / ROLLBACK" to not relevant.See sample tests below:
SQL> create table t1 (col1 number primary key); Table created.
* 1. In script1 case fails, then restore and exit *.
kallo:f632736> cat 1.sql WHENEVER SQLERROR EXIT ROLLBACK insert into t1 values(1); insert into t1 values(1); kallo:f632736> cat 2.sql insert into t1 values(2); kallo:f632736> cat main.sql @1 @2 SQL> @main 1 row created. insert into t1 values(1) * ERROR at line 1: ORA-00001: unique constraint (ADMLHMGM.SYS_C0013874) violated Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> select * from t1; no rows selected
* 2. When script1 fails, then restore and continue to script2 *.
kallo:f632736> cat 1.sql WHENEVER SQLERROR CONTINUE ROLLBACK insert into t1 values(1); insert into t1 values(1); SQL> @main 1 row created. insert into t1 values(1) * ERROR at line 1: ORA-00001: unique constraint (ADMLHMGM.SYS_C0013874) violated Rollback complete. 1 row created. SQL> select * from t1; COL1 ---------- 2
-
How to get the channels spot given colors and spot channels length
File is CMYK format... channel spot color is CMYK we as a spot channel color is c100m50y20k5
How to get the channel spot color data using javascript? c = ? m = ? y = ? k = ?
howv to get your channel length n (not the CMYK channel) use javascript? such as CMYK + spot n-channel 7 = 7Please help me
#target photoshop
var myDoc = activeDocument;
var channel = myDoc.channels;
var number = 0;
for (var m = 0; m< channels.length;="" m++)="">
If (channels [m] .kind == ChannelType.SPOTCOLOR) {the number ++}
};
Alert (the number + "spotchannels");
-
How to get the text have the same effect as the video?
Hello
For the first time post here, but I wonder how to get the text of the titles have the same effect as the video behind her.
For my video, I use 'bad tv' and other effects such as Gaussian that obviously changes the appearance of video, creating the look of VHS. However, I then inserted text via the title, but it normally appears. How can I make this text have the same effects as the video behind it?
A friend told me I might need to add text to the video first, then do the effects, I have not tried, but wonder if there is an easier way, as this would require me to restart.
EDIT: That's what I'm looking for. https://youtu.be/7_2PHQI89dI?t=24s The text has the same effect as the video.
Thank you
One way is to create a clip made up based on the title and the original clip. Then apply the effect.
Another way is to use an adjustment layer.
Good luck.
Russ
-
How to get the podcast of the website on the phone
I was told to put that feed into the PODCASTING app on your iOS device.
The site in question is https://randirhodes.com/how-to-get-the-podcast/
I paid for a premium podcast, now how o I get this podcast to appear on my iphone 6 s more in the podcast app?
Podcasts > select my Podcasts > press the '+' > Add Podcast > paste the URL that you got on the site.
-
How to get the video intro off my google home screen I already saw it, where is the firefox logo used to be. I started with the last update that I rebooted.
Hello
to change the homepage when opening firefox-press 'Alt' and click on tools-> Options.Main menu, you can change the URL.
If the problem persists, you can follow these simple steps:
Enter about: config in the address bar and press ENTER. Accept the message of 'dragons' to see the Advanced preferences screen. Use the above search box to enter the below pref.
You can assign an empty string to stop your Firefox to retrieve "extracts" and brandLogo changes the browser.aboutHomeSnippets.updateUrl pref. Right-click this pref and select Edit then clear the value as pref in the box that appears, and then click OK. Who will also disable "snippets" that appear under the container of the research on the default home page.
Then you must open the folder of your profile, via help > Troubleshooting Information > profile folder > > button view folder. Then close Firefox. Your profile file open with Firefox closed (Firefox '3-bar' menu key > exit/Quit), wait or two minutes, then remove the storage\moz-safe-about + home folder in the Firefox profile folder to remove the brandLogo and stored in IndexedDB code snippets to make Firefox use the default brandLogo and a defined default code snippet.
If you later change your mind about these changes, you can reset the pref browser.aboutHomeSnippets.updateUrl via the context menu and Reset allows to retrieve the default value using the storage\moz-chest-fort-about + home folder again.
-
Heard speak adds the new on Fire Fox. Where and how to get the new Firefox add - one of who is spying on us. Please mail to maheshubhayakar at rediffmail.com
edited by email address - moderator
It is helpful if you provide a link to the article you were reading.
-
Re: How to get the Tempo to work properly?
Hello
I have problems with the service of Tempo.
I don't get updates via this application (all the settings of this application are accurate, i.e. "full control"). I know this because there are updates available online to my laptop via the pilot site of toshiba.
When I installed first Tempo, updates for about a month, I received, and then all of a sudden, no update came through. My firewall is blocking either of this application.
I tried to reinstall the application, but no change in the situation.
Does anyone know if ALL updates are available via the website of driver toshiba out tempo? Because, in the month that this service worked, I got an update of the bios, but I recently saw a bios update online and Tempo has not always reports that it is available.
Any ideas on how to get the Tempo to work properly?
Thank you.
I saw in your other thread you have installed SP1 on your Vista laptop.
There may be some compatibility problems between SP1 and TempoAnd Yes, as far as I know Tempo bring all available updates!
-
I rolled again Firefox 4.0 to 3.6 and now my navigation bar still looks like instead of 3.6 4.0 how to get the old layout back?
The fastest way is to use the option 'Restore the default toolbar set' as shown here - https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing
-
How to get the physical credit iTunes gift card?
How to get the physical gift card iTunes on your iTunes store account balance?
- You cannot buy an iTunes gift with in-store credit.
See the link below to buy physical gift cards for iTunes.
-
Satellite Pro M50 with Vista: how to get the S-video on the job?
Hi all
I have a vista equipped Satellite Pro M50. Does anyone know how to get the S-video on the job? I can't understand.
Inadvance, see you soon
Phil
Did you look in the user manual?
This doc is always pre-installed on laptop and provides useful information. Also how to connect a TV and use simple notebooks ports.A hint; You must use an s-video cable to connect the laptop to the TV.
Then use the FN + F5 key combination to switch between display devices.
Sometimes the special s-video option must be enabled on the TV.I would recommend consulting the manual of the TV also.
Good bye
-
How to get the manual for Satellite Pro 4200?
How to get the manual for Pro 4200. I have download olm_up and setup.exe (72 kt) of http://eu.computers-toshiba-europe.com?.
Hello
Please visit this link:
http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/download_manuals.jspI m you will find a good manual of your device.
Good bye
-
How to get the card working on Tecra M1 WLAN?
I just bought a 2nd hand Tecra M1. Great! It has installed XP but no Toshiba tool. I can't access my WLAN router. Seems like if WIFI connection is not yet installed. As I know from my Satellite Pro M30, there are Toshiba tools for this, they work smarter.
Maybe I need drivers - WXP is material unknown when starting up - might be the WLAN device - who knows.
When I check the network connections, I find 1934 and LAN adapter, but no WLAN device. I have already run the XP Wizard for WLAN connections, SSID and hexagonal key; but no WLAN device presents itself.Then, someone a idea how to get the job of WLAN?
Is it possible to get the Toshiba M1 software or can I use my software SatPro?Thank you Jan so far
It's good that you will find yourself, I think most of us would point on your ad when you have users with a similar problem. Sometimes it s really useful to have users like you who will investigate their cases.
I'm now long enough a Member here, but every time I have met people who have solved problems like that, then I must say how much I appreciate it. :)
Welcome and good weekend
Maybe you are looking for
-
Satellite C660D keeps freezing
This laptop is only two months and continues to freeze on a daily basis, the only thing I can do is to turn off and then restart. Help, please
-
How can I install the Microsoft BT on Satellite A100 battery?
How to install Microsoft Bluetooth Stack?I tried the way it is described in the readme file:Uninstall Toshiba Stack, reboot, install Bluetooth Monitor 2 (I copy the files needed to C:\Toshiba\MS_Bluetooth), restart.After that, windows wants to instal
-
I can't install Microsoft Office Excel 2007 (KB973593), Microsoft Office System 2007 (KB973704), Microsoft Office InfoPath 2007 (KB976416) and updates of Microsoft Office Word 2007 (KB974561). After installation and restarting Windows, my updates are
-
Can I transfer my photos from my camera photos and how
I want to put my favorite photo that are on in my images on or in my camera so they can be transferred to the image of Sony.
-
Pavilion 15-d074nr: BIOS password
Disabled receiving message with the code 95079914 system HP 15-d074nr could someone please help. Thank you.