How to get some of the styles applied using script?
Hi all
I need to know how to get some styles applied using scripts ID. I don't have a lot of experience in InDesign so need help.
Here is a screenshot with sample text with styles of such applied and highlighted.
I need to know what the texts in my document have these styles applied as all caps, Baker pointed out, Subscript and Superscript, etc..
Help, please.
Thank you!
Get in shape and make the selection, then run the script
Examine the file for the properties you want.
Pretty easy
Tags: InDesign
Similar Questions
-
How to get some of the files, but not all of them in a query
Hi I have a query that returns events that do not have the mrreceived as 'Y '. I'm trying to find a way how we can rewrite the query which gives the events without mrreceived as "Y" or mrreceived as null but events both on the handset? "
{code}
Select c.client_id,
e.event_id,
e.mrreceived,
e.event_status_code,
e.proj_batch_id,
p.ProviderName,
p.clientproviderid
the event e, customer c, slip p
where e.client_id = c.client_id
and e.clientproviderid = p.clientproviderid
and c.client_id = 1250
and p.clientproviderid not in
(select distinct sliding b.clientproviderid b, event x
where b.clientproviderid = p.clientproviderid
and b.clientproviderid = x.clientproviderid
and x.mrreceived = 'Y '.
and e.client_id = 1250)
{code}user11961230 wrote:
I just want to see the id 10371.
Ok. If you want to see id with both Y and NULL, right? If so:
select c.client_id, e.event_id, e.mrreceived, e.event_status_code, e.proj_batch_id, p.providername, p.clientproviderid from event e, client c, clientprovider p where e.client_id = c.client_id and e.clientproviderid = p.clientproviderid and c.client_id = 1250 and p.clientproviderid in (select b.clientproviderid from clientprovider b, event x where b.clientproviderid = p.clientproviderid and b.clientproviderid = x.clientproviderid and (x.mrreceived = 'Y' or x.mrreceived IS NULL) and e.client_id = 1250 group by b.clientproviderid having count(distinct nvl(x.mrreceived,'X')) = 2 ) /
SY.
-
How to get xml all the attributes count?
Hi Indesigners,
I tried a lot of time to get all of the xml attributes count in indesign xml and according to the style applied to the xmlAttribute value, I have to do some tasks... Can someone help me...
Thank you and best regards,
Vel.
Finally, I wrote the script to get the xml attributes...
var doc = app.activeDocument;
var parastyle = doc.allParagraphStyles;
var charstyle = doc.allCharacterStyles;
var currentpara;
var att, att2, val = 'ParagraphStyles\r', val2 = "CharacterStyles\r";
[var attNodes = doc.xmlElements[0].evaluateXPathExpression("//*['@']"); "
var i, t;
~ alert (attNodes.length);
for (i = 0; I have< attnodes.length;="">
{
Try
{
att = attNodes [i].xmlAttributes.itemByName ("aid: pstyle") .value;
Val = val + att + "\r";
checkpara (ATT);
}
catch (e)
{
}
Try
{
att2 = attNodes [i].xmlAttributes.itemByName ("aid: cstyle") .value;
val2 = val2 + att2 + "\r";
checkchar (att2);
}
catch (e)
{
}
}
Alert (Val);
Alert (val2);
function checkpara (currentpara)
{
If (IsInArray (ParaStyle, currentpara))
{
Alert (currentpara + "Available");
}
on the other
{
Alert (currentpara + "Missing!");
}
}
function checkchar (currentchar)
{
If (IsInArray2 (CharStyle, currentchar))
{
Alert (currentchar + "Available");
}
on the other
{
Alert (currentchar + "Missing!");
}
}
function IsInArray(array,item)
{
var retval = false;
for (var i = 0; i)<>
{
If (array [i] .name is point)
{
retval = true;
}
}
Return retval;
}
function IsInArray2 (array2, item2)
{
var retval2 = false;
for (var i = 0; i)<>
{
If (array2 [i] .name is item2)
{
retval2 = true;
}
}
Return retval2;
}
The above codes will be found the missing character style or paragraph style in the document, which is defined as the value of the xml attribute.
Thank you and best regards,
Vel.
-
Hello friends
I had a chunk of XML. I need to get some of the XML for that. for Ex
123456789
I need to write a method that I can pass a node (Ex: author), can I get a new XML that has
part of the XML like this
123456789
How to do this? Help, please
I wrote a method to do a string search and it worked. the method is given below.
public String getSubString(String fullString,String firstString,String endString) { String newString=""; try { int startIndex=fullString.indexOf(firstString); newString=fullString.substring(startIndex); int endIndex=newString.indexOf(endString,startIndex+firstString.length()); newString=newString.substring(0,endIndex+endString.length()); } catch (Exception e) { ExceptionHandler.handle("Error "+e.toString()); } return newString; }
Now you can call the method
getSubString(xmlString,"
"," "); -
How to get rid of the space up and down in menu bootstrap reduced
Hi, anyone knows how to get rid of the top and bottom extra space on a menu reduced "bootstrap"? I'm on bootstrap more a custom style sheet just for the menu reduced so I can have the background color instead of a repeat of the default image. Here is a picture of the problem (marked in red) below is my code. Thank you very much.
Zaid
< nav class = "navbar, navbar-default" >
< div class = "container-fluid" >
<!-brand and toggle get grouped together for better mobile display->
< div class = "bar navigation-header" >
< button type = "button" class = "toggle navigation bar has collapsed" data-toggle = 'collapse' data-target = "#defaultNavbar1" >
< span class = "sr only" > toggle navigation </span >
< span class = 'bar icons' > < / span >
< span class = 'bar icons' > < / span >
< span class = 'bar icons' > < / span >
< / button >
< a class = 'bar of navigation-brand' href = "index.html" > < /a > brand
< / div >
<!-collect the nav links, forms, and other content to alternate->
< div class = "navbar-collapse custom class collapse" id = "defaultNavbar1" >
< ul class = "navbar-nav, navbar-right nav" >
< li > < a href = "Music.html" > music < /a > < /li > ""
< li > < a href = "Images.html" > pictures < /a > < /li > ""
< li > < a href = "Unity3D.html" > Unity3D < /a > < /li > ""
< li > < a href = "Flash.html" > Flash < /a > < /li > ""
< li > < a href = "About.html" > on < /a > < /li >
< /ul >
< / div >
<!-/ .navbar-collapse->
< / div >
<!-/ .container-fluid->
< / nav >
@media (max-width: 768px) {}
{.custom-class
Overflow-x: visible;
-webkit-too-full-scrolling: touch;
background-color: #7399E4;
background-image: none;
height: auto;
border-width: 0px;
}
. NAV > li {}
display: block;
position: relative;
border: 1px solid #2763CC;
}
}
.Navbar-nav in Bootstrap class has upper and lower margin 7.5px. You must remove it.
-
How to recreate some of the effects of instant film in PRE11?
Yes, I know that I am behind the curve in regards to versions...? But I'm not a fan of the monthly fee, more Pre11 is fairly robust and of itself!
In any case that I just found out all the cool things that can be done by using the tool "Flash movie". However, I don't like the end result of how he puts my video and still images together. I am trying to find a place that describes how to recreate some of the cool effects that are used in the Flash movie:
- in the same way, we need a piece of video or a still and splits in viewing screen with 3/4 of the screen the real part and the mirror image opposite (slightly less opaque, to resemble a reflection) down 1/4 to 1/3 of the screen. As if it was not cold enough, the two elements of the screen Panning across the screen from left to right...! Very cool.
- Or how to transition that resembles an array of boxes or a chessboard with each box of clips (in animated videos) and photos which are then analyzed (IE Ken Burns as) and then the camera (as it were) settled on a stage and then it goes to this element in the main screen. Very cool once again. This matrix of scenes are somehow 3d - ish as well - in a corner or tilted/biased biased...?
- Then, he takes clips or photos and plays them biased or tilted with in the shot, with a selected in the background screen color. Color is the screen and the video plays like an image in a picture on the side or may in fact be floating around on the screen.
There are a ton of cool effects. I looked for turorials, but everything I've found are the ones that show me how to set the instant film tool. I'd really like to see in order to recreate some of these VERY COOL effects on mine and my choice compared to my projects.
Am I crazy? Do I need a master's degree in film from USC to achieve or can a hack like me do something cool as well.
Look forward to any help.
Thank you all.
Richard
RFMclaughlin3
Just an update surgery instant film effects and how they have been implemented...
1. the reflection effect which is seen in the film about snapshot theme Slideshow/Pan and Zoom...
"My mirror effect" strives to create the reflection, if I put that in the instant film has been breaking. But looking at how Adobe has revealed that Adobe does not use mirroring to create the reflection. The key to what use it is in the option of the inclination of the simple 3D effect in fx effects/base/Perspective 3D. It uses the original content @ 75% scale, and on the floor below, a copy of the original on the scale. Then apply the simple 3D effect for the double and the inclination value is set and the rest of the options remain at zero. I'll post the what then on it to complete the details soon.
RTA
-
How to get information about the types within a user defined package
Hi all
Have a package with some types (user-defined) defined in the package specification. How to get information about the types and
information about the columns of this type.
for example:
Create package mp is
type t is record (no number is varchar2 (30));
procedure a (m t out...
Thanks in advance.
usergG_user wrote:
the req's, want to build a script dynamically using data dictionary
so if possible, I take the name of the type within the package specification.Let me rephrase - is there a data dictionary to get information on the type defined by the user within a package specification
Best approach will be to have a standard in the definition of data types.
Have a process to follow the object definitions in the package if it is mandatory.
-
How to get rid of the stupid list dropdown in the search box
How to get rid of the stupid list dropdown in the search box
If you want to restore the window previously used independently to manage search engines, you can enable or disable this pref to false with a middle-click on the topic: config page.
- topic: config page: browser.search.showOneOffButtons = false
Close and restart Firefox to force change.
-
How to get rid of the new menu button on the right side of the toolbar
Honestly, I don't know why the developers cannot offer new features that we can use or not, by choice. Instead, things are forced upon us.
Could someone tell me please how to get rid of the new menu button on the right side of the toolbar?
It doesn't seem to be an option to remove via the Customize Toolbars window.
Thank you very much.
CTR extension makes Firefox customizable menu button 3 bar, so you can drag this button in the palette to customize to remove it from the Navigation toolbar.
Reload and stop probably combine only if you set the two buttons in the correct order (reload - Stop and non-Stop - Reload)
-
How to get rid of the superdrive in menu bar?
How to get rid of the superdrive in menu bar?
Hold down the command key and drag it off the menu.
-
I can't use Roboform with 4.0 beta 10, so I can't use Firefox. How to get back to the beta version 9?
I think that there is a little more for it, but here's a solution that seems to work. After the installation of Roboform 7.1.7, go to: http://www.roboform.com/platforms/browsers/firefox and scroll down to a table listing the three browsers identifying the XPI file to load if it was not loaded automatically. Click the http://www.roboform.com/dist/roboform-firefox-3-4-frozen.xpilink. Firefox will ask you if you want to allow this should be installed. Let him. Finish installation, restart Firefox 4.0b10, and you'll see a Roboform 7.1.7 toolbar works. I did it on two computers, and everything seems to work.
-
How to get rid of the photo of the sunset on the webcam?
HI -.
It's probaby a stupid question, but please can someone tell me how to get rid of the image of the sunset on the webcam and allow me to use the photo and video on my netbook?
I tried to contact Toshiba online but it does not connect.
Thank you
StocksSorry mate but I put t understand the question
What cell phone do you have?
Do you mean the internal s laptop webcam?If this can be useful?
http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?MessageID=189664-Drag your mouse on your pop out where you choose to use your webcam, instead click the option at the bottom of the "Effect" in their 'net', click and click 'OFF' Tada! The now disappeared from your cam Image, +.
Please send feedback!
-
configeration Silverlight - how to get rid of the protected mode
How to get rid of the protected mode
Hello Gloria,.
Try the following site devoted to Silverlight: http://www.silverlight.net/community.
I hope this helps.
Good luck!
-
How to get rid of the virus of the moneyak of the fbi?
How to get rid of the virus of the moneyak of the fbi?
How to get rid of the virus of the moneyak of the fbi?
http://www.bleepingcomputer.com/virus-removal/remove-FBI-monkeypak-Ransomware
-
Does anyone know how to get rid of the calendar in the window Live on XP? I do not use it, and whenever I check my e-mail, it checks the calendar, slows things down to the top.
Thank you!Debnfurkidsoriginal title: get rid of the calendar in live mailHi Debnfurkids,
I recommend you post your query in Live Mail Forums for assistance on this issue.
Maybe you are looking for
-
Customer e-mail does not correctly since 31.0 update
I use a webmail client to access my email account. When I create a new message or reply to an e-mail, it opens a new window for the message. The window is less than the maximum value, but it can normally be resized. Since the update to 31.0 yesterday
-
I'm running the 29.1 V of Firefox, then, how can this be repaired?
-
Satellite X 200-252 and Vista mixer problem
Hello My Satellite X 200-252 runs under Vista Home Premium operating system. I have a strange problem with sound engineer. After (I think) some security patches applied my vista has ceased to recognize the audio device.The icon in the task bar on the
-
Cannot get my pc to work on TV more
I want my gateway pc to work on my TV. I did once before. I'm using a VGA cable. Now when I try to connect to my tv its does not work. If I restart my computer, it will start on TV and don't start windows on the TV. but then when im the log in screen
-
Windows 7 not recognizing not not the password to log on
I have been using Windows 7 during about 3 months without problem. Yesterday, it started to give me the message: "username or password are incorrect." When I continue to log on, using the same password, he finally accepts after 3 or 4 attempts. The