How to check if the selection is any text tho:
Ok.. Another question:
How to check if the selection is any text tho:
if (app.documents.length != 0 && app.selection.length != 0 &&
(app.selection[0].constructor.name=="Text"||app.selection[0].constructor.name=="Paragraph"))
but sometimes the selection is 'textStyleRange', sometimes 'character' etc. is there a shortcut to check both?
I usually do something like this:
if ( app.documents.length && app.selection.length && app.selection [ 0 ].hasOwnProperty ( 'baseline' ) ) alert ( "It's a text!" );
Hope that helps.
--
Marijan (tomaxxi)
Tags: InDesign
Similar Questions
-
How to check if the directory is created using create or replace directory
Hello
I create a directory like below:
Create or replace directory TEST_DIR AS 'C:\ABCD '.
How to check if the directory is created or not? Is there any request for it?
Thanks in advance.
PKSELECT * FROM ALL_DIRECTORIES WHERE DIRECTORY_NAME LIKE '% TEST_DIR %. "
Published by: user3522507 on 2010.06.16. 07:19
-
How to disable all the selections at once?
How to disable all the selections at once?
If you are referring to the playlist, artist, album & kind selection boxes, then I don't think that there is a way to uncheck those all at once.
If you mean the boxes in the view of songs Ctrl + click and the checkbox to check or uncheck all of the boxes. Note, however, that the use of these boxes is a bad way to manage the synchronization. Uncontrolled songs are ignored in the normal course of track in track or shuffle playback. Better to use one or more playlists to control what is synchronized and have checked most, if not all of your library. Items not controlled in my library are things like interview bonus tracks that had never what to hear accidentally, I keep in my library.
TT2
-
How can disable us the selection of lines under condition
Hi Experts,
JDEV version 12.1.3.0
How can disable us the selection of lines under certain conditions.
As the lines newly unregistered should be allowing the selection of lines.
Saved lines should be disabled from the selection.
Can achieve us.
Please me advice accrdingly
Thank you
Roy
You are implementing a generic selection as shown here http://www.oracle.com/technetwork/developer-tools/adf/learnmore/23-generic-table-selection-listener-169162.pdf Manager in this handler, you check and validate the selection of our not.
Timo
-
Hello
How knowledge/check if the RMAN backup was performed using a current control file or database catalog? I mean RMAN prompt or sqlplus is it possible to know.
Thank you
You're welcome my friend
You can see them using two methods.
as I mentioned above, you can see them connect to the catalog database and you can query using the view that I sent
http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmreprt.htm#BRADV89601
the other method is the list command, you must use the list command after connecting using rman "rman target / catalog cat_user/cat_pass@catdbtns" command
http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmreprt.htm#BRADV8136
Check the value of the control_file_record_keep_time parameter. The default value is 7 days. in the output of the list command, if you can see the old backups to the value, you must be sure that the backup information comes from the catalogue database
SELECT * FROM parameter $ v where name = 'control_file_record_keep_time '.
an example of command list
the list of completed database before backup ' sysdate-10'.
Concerning
-
A query need to check whether the database should any recovery media...
Hello
I'm at the stage of editing a database and still be opened.at this point no matter what query is available or in any other way is there to check whether the database should any recovery media or Instance recovery... ?
My goal is before opening the database, I make sure it's compatible or incompatible, and any form of recovery is necessary.
Thank you and best regards,
Rameau
Published by: ragu.dba.in on 6 March 2013 12:57 AMHi Lila,
Use these queries, YVERT should match... no fuzzy file, don't check for recovering files in v$ recover_file... spend sufficient archives & realize the audits before open reset-logs
set line 900 set pages 900 set echo on alter session set nls_date_format='dd-mon-yyyy hh24:mi:ss'; set numwidth 13 col CHECKPOINT_CHANGE# for 9999999999999999 col CHANGE# for 9999999999999999 column error format a10 column member format a60 show parameter db_recover select * from v$recover_file; select file#, status from v$datafile; select file#, checkpoint_change#, checkpoint_time, error from v$datafile_header; select distinct status from v$backup; select distinct checkpoint_change# from v$datafile_header; select hxfil file_id, fhscn scn, fhthr thread, fhrba_seq sequence, fhsta status from x$kcvfh; select distinct fhscn from x$kcvfh; select hxfil file_id, fhtnm tablespace_name from x$kcvfh; ##### Fuzzy Check #### alter session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS'; set feedback on set heading on set pagesize 1000 set linesize 175 column checkpoint_change# format 999999999999999999999 select status, checkpoint_change#, fuzzy, to_char(checkpoint_time, 'DD-MON-YYYY HH24:MI:SS') as checkpoint_time, count(*) from v$datafile_header group by status, checkpoint_change#, fuzzy, checkpoint_time order by status, checkpoint_change#, fuzzy, checkpoint_time;
Thank you
Ajay more
http://www.moreajays.com -
My MacBook Pro suddenly becomes very slow, accepting orders very slow how to check if the ram is working properly
You can try this download. Etrecheck. https://etrecheck.com/#about
Then publish the report as a reply in this thread.
It will allow us to review your system without disclosing a private matter.
-
Hello!
This is SANDEEP, I loaded data using FDM in HFM. How to check if the data is correct or not, what ever the data I was responsible in HFM.
Please tell me how to recover the data and what format, clearly can you me the data verification process step by step.
It would be useful for me...
Thanks in advance...
Kind regards
SANDEEP
Hi Sandeep,
I think the best way is to extract data from HFM for the same POV that you have loaded FDM and check if it is the same.
If you then use HFM 11.1.2.x version
1. login to the application and go to the menu Administration / extract / data.
2. set the POV that you have loaded the data, then unzip it. You can open the file unzipped in a notebook
3. you can compare the file with the data file generated by FDMEE under Outbox folder.
But what would you give all the data corresponding to the POV that you set. So please ensure that you have the correct POV, defined according to the export FDMEE.
Thank you
Chandra
-
How to check if the acrobat adobe pro xi is enabled
How to check if the acrobat adobe pro xi is enabled
Hi Shubham,
If the product is activated it will give the option to disable under the Help menu. Also whenever you launch Acrobat it will bring activation window if it requires one.
Thank you
Abhishek
-
How can I fix the selection tool?
How can I fix the selection tool to allow me to resize the shift? He was working before the upgrade. Now it won't let me resize the selected corners mean anchors?
Choose View > show bounding box...
You may have inadvertently he switched off function at some point.
-
How to check on the website of Adobe Creative Suite 6 Design & Web Premium (student version)? I don't find the sea site.
Check what... your serial number?
Your serial number appears on your account page?
https://www.adobe.com/account.html for numbers on your page from Adobe
Or do you want to download? Other downloads
-
How to check if the database for DRDA gateway is installed and configured.
Hi all
How can we check if the database for DRDA gateway is installed and configured.
Our operating system is AIX 5 L 64 bit OS.
RDBMS: 11.2.0.3
Kind regardsDuplicated
How to check if the database for DRDA gateway is installed and configured.+ - locked thread-+.
Nicolas.
-
How to check if the support is rtmp or hds or progressive download?
How to check if the support is rtmp or hds or progressive download?
There is no direct way to do it.
I remember that there is a similar code in the code of StobeMediaPlayer, in PlaybackOtpimization*.as
Can I ask what you use it for? You should know what you're playing.
-
How to check for the two first digits?
Can someone please... There is demand to have a hidden field on the form that will be filled with data. It's going to be 6 digits long and could start with 02 or 04. I need to check on the DocReady event, for the first two digits. If the first two digits are 02, the presentation of the form will remain as it is. If the first two numbers are 04, I'll have to show two hidden subforms. Can someone please provide an explanation on how to check for the first two digits of field 6 digits and do some actions.
Thank you very much
No, only in the event: Exchange.
-
R12.1.1 staging is complete! How to check if the scene is good
Hi Gurusl,
I finished the staging R12.1.1 for Hp unix B.11.31. I want to know how to check if the scene is good for installation or if it is corrupt. Is there a metalink note or the script from where we can check it out. your help will be very appreciated. Thanks in advance
Kind regardsHello
Please refer to (Note: 802195,1 - checksums MD5 for R12.1.1 Quick Install Media).
Kind regards
Hussein
Maybe you are looking for
-
Satellite A300 - 1 MM-can I make the memory at 800 MHz?
My TOSHIBA Satellite A300 - 1 MM has 3072 MB of DDR2 800 MHz memory, but the memory running at 667 MHz. is there a possibility to make the memory at 800 MHz?Given that my laptop came with ddr2 800, why not work natively at this frequency? Perhaps a f
-
IR volume control does not work
I have a Pioneer AV receiver that going on my 4th Gen Apple TV by HDMI. I'm trying to get the volume control the remote Siri to work. I went into the settings and put him to learn a new device. I push the button on my remote Pioneer when he tells me,
-
Hi, I'm trying to start a Web as shown in the webcast service http://zone.NI.com/WV/app/doc/p/ID/WV-810 I tried with the same kind of vi (the sum operation). The Web service is deployed successfully, but I can't access it even from the same machine.
-
Hi all I am a customer of Web service, so I use KML. jar as lib. I added this pot of good way (I e Kb article), whenever I build my project cod 2 files one is the name of the project lib withn y project name, another is I faced a problem when install
-
Every time when I delete the folder named FavoriteVideo one goes for trash and another appears again, full scanned too but no threat why cannot be deleted? Original title: need help