How to change table properties
Hi experts,
How to change the properties of the cells.
How to make the script below work.
Could someone show me how
Respect of
John
var
doc = app.documents,
myStories = doc.story.everyItem () .getElements (),
cStory, myTables, cText, CTable::open;
While (cStory = myStories.pop ()) {}
cText = cStory.texts [0];
If (! cText.isValid) continue;
cText.fillColor = 'Black ';
myTables = cText.tables.everyItem () .getElements ();
While (CTable::open = myTables.pop ()) {}
If (! cTable.isValid) continue;
cTable.cells.everyItem (). texts.everyItem () .tabStops [0] .alignmentCharacter = ".";
cTable.cells.everyItem (). texts.everyItem () .fillColor = "Black";
cTable.cells.everyItem () .fillColor = "paper";
cTable.cells.everyItem () .leftEdgeStrokeColor = "paper";
cTable.cells.everyItem () .rightEdgeStrokeColor = "paper";
cTable.cells.everyItem () .topEdgeStrokeColor = "paper";
cTable.cells.everyItem () .bottomEdgeStrokeColor = "paper";
}
}
Hi John,.
As far as I know we can use 'chain of everyItem()' here with 2 conditions:
1. There are at least 1 story in a doc
2. There are at least 1 table in a doc
so, this code should work:
var cStoriesCheck = app.activeDocument.stories.everyItem().getElements().length; if (!cStoriesCheck ) exit(); var cTablesCheck = app.activeDocument.stories.everyItem().tables.everyItem().getElements().length; app.activeDocument.stories.everyItem().texts.everyItem().fillColor = "Black" if (!cTablesCheck) exit(); with ( cStories.tables.everyItem().cells.everyItem() ) { texts.everyItem().fillColor = mBlack; texts.everyItem().tabStops.everyItem().alignmentCharacter = "."; fillColor = "Paper"; leftEdgeStrokeColor = "Paper"; rightEdgeStrokeColor = "Paper"; topEdgeStrokeColor = "Paper"; bottomEdgeStrokeColor = "Paper"; }
Tags: InDesign
Similar Questions
-
How to change the properties of the management object EventManager
Hi all
I try to send the Message of the newspaper on the vMA Server vCenter installed on
an ESXi 4.0 with the script attached
I used the "LogUserEvent" method and it works, I can create user log in vCenter Server.
And now I try to change the properties of the managed object 'Event manager' to change the categories (not only information, but beware,...) of the newspaper
I turn... and I need help!
I found nothing on the VMware documentation.
Thank you very much
So, it looks like you want to record the information of the application within your guest and somehow that will send to your vCenter or ESX (i) host? Why not just log on to the virtual machine?
If you want to search for some of the VM events or events in general, take a look at this script that gives you an example on how: provisionedVMReport.pl
If you really want browser real newspapers either vCenter or ESX (i) host, take a look at the DiagnosticManager and this method will be useful:
=========================================================================
William Lam
VMware vExpert 2009
Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
Introduction to the vMA (tips/tricks)
Getting started with vSphere SDK for Perl
VMware Code Central - Scripts/code samples for developers and administrators
If you find this information useful, please give points to "correct" or "useful".
-
How to change the properties for some controls at run time?
Hello
I would like to change some properties for some controls in front of Panel at run time. Number of properties of the control I want to change is based on a newspaper user file opens in the final application.
I've attached an example where I'm changing the visibility of digital controls. Problem I have I don't know what reference to connect to the property node in the case where the control loop for is not a digital control. The example is based on the label.text property but I could use the more generic classname property as well.
Kind regards
Petri
Initially, a control has no legend. It is not just the caption string is empty and the legend isn't visible, but the caption object does not exist.
At the time of change, when a legend is on something other than an empty string, the object of legend is created. If you redefine the legend with an empty string, the object of legend is deleted.
During execution, the object of the legend cannot be created or destroyed, but if it exists, it can be changed.
When I legends I want to change during execution, I initially affect the '. '.
-
How to change the properties of position?
I have a piece of text that I put as a tag "h2".
By default, it becomes "BOLD". My problem is that when I do a new CSS rule for "h2" tag, it doesn't let me do more "BOLD" or less "BOLD". (I use the Font-weight property on the TYPE page).
In addition, the h2 tag seems to have margin or padding automatically.
How to change these settings for the title tags?
You can do something like this:
H2 {}
margin: 0;
padding: 0;
Police-weight: 900;
}If you are going to have different font-weight on your page, then you must create a class or an ID to target this specific h2 tag like this:
.test {} h2
make-weight: lighter;
}Your html code should look like this
very "BOLD"
HTH
-
How to change the properties of the image?
Windows XP I was able to open the properties of a photo in Windows Explorer and add comments, which became visible as the Description of Microsoft Office Picture Manager or in the context menu by positioning the mouse on the file in Windows Explorer. In Windows 7, I can't know how to do this. I can see the title, subject fields and (empty) comments on the Details tab of the properties photo but cannot find a way to change them. Is it still possible? Can it be done in another application? I have Adobe Photoshop Elements and Corel PhotoPaint.
Hi Suzanne, as far as I know in the Details tab of properties, that you should just be able click of the mouse to the right of the desired field that you want to change, and it should automatically allow you to start editing your information. There is no edit option or anything, you just have to click on the right of the field whatever you want to change.
I hope this helps. I'll check back and try to help as best I can. -
In the xml editor how to change table as below
Hi all
My requirement is how can I change the table from the OLD to the new
OLD Table
Topic Max marks Grades subj1 5 3 subj1 5 2 subj3 5 4 NEW Table
Topic Max marks Obtained trademarks subj1 15
9
subj2 subj3 I thank in advance
Hello
Try the following, hope it will help you.
XML file like this
1 Sub1 10 1 Sub2 20 1 Sub3 30 Model
ID
Name
Brands of
G V IF RS ID
F NAME
BRANDS E IF RS E
Explanation of the tag
G
V
IF
ID
RS
F
NAME
BRANDS OF
E
IF
RS
E
Output like this
ID
Name
Brands of
1
Sub1
60
Sub2
Sub3
Please check the issue as resolved, if that answers your question. Thank you
Post edited by: sfr.farhan.fani
-
How to change the properties of boxes or fields of text at once.
Hi, I want to change all the font size of the text in 10 & all the boxes "square" fields for "check". My problem is how to select all the text fields or boxes at once. pls help me to do this. Thank you.
It's pretty easy to do with a script. For example:
for (var i = 0; i)< numfields;="" i++)="">
var fName = getNthFieldName (i);
var f = getField (fName);
If (f.type = 'text') {}
f.textFont = fonts. Time;
f.textSize = 9;
Other properties go here
}
}
This sets the font and size of the font for all the text fields in the document. It can be run from the interactive console of JavaScript (Ctrl + J) or a temporary button you create. You can do the same type of thing for other types of fields and properties. You want to get the Acrobat JavaScript reference that is included in the free Acrobat SDK for more information on the various properties of the field.
-
How to change form properties at run time
Hi I have a piece of text data that I put on = no and hide data = yes. I want to write a trigger for a command button that modifies these properties enabled = yes and hide data = no. How can you change a property of points of data during execution?Look in the documentation online at the Set_Item_Property() integrated.
(and keep this link in order to study the other chapters of this great documentation)
François
-
Satellite M60-135: how to change disk properties DMA?
The BIOS of my M60-135 (Phoenix) clearly provides no possibility to view or modify properties attached readers DMA.
Is it possible to Flash the BIOS to get the information?The context of this question:
I installed Suse Linux 10.2, but YAST does not show any device in the IDE/DMA configuration.
To let readers turn at optimal speed and performance (especially the optical drive) I want to set DMA values.Any suggestions?
Hello
> The BIOS of my M60-135 (Phoenix) doesn't provide clearly no possibility
> to view or modify properties attached readers DMA.
> Is it possible to Flash the BIOS to get information?No, I don't think so.
> I installed Suse Linux 10.2, but YAST does not show any device in the IDE/DMA configuration
I m not Linux expert and, therefore, I put t know how to achieve this in the Linux environment, but under XP, you can check under
Start/Programs/Accessories/System Tools/system information resources
-
Hi all
How to find the characters in the table and view it in table 2 If Search_Character contains table.
I am using the model of correspondence but not finding the character
Thank you
Thank you. I did it.
-
How to change tables of waveforms?
Hi, I hope you can help with this.
I read 6 channels of analog data to a USB - 6008 1000 samples/second, 1000 sample blocks in a loop. The data come from DAQMX as an array of 6 waveforms.
I want to (y) scale all data such as 0, 1, 2 channels are divided by 3 (because electronics has an op-amp of gain of 3 x on channels) and channels 3, 4, 5 are divided by 15 (because electronics has a 3 x the gain and there is a resistance of 5 ohms and I'm trying to measure the current).
You might think it's ridiculously easy... but:
(1) to "scale and offset" labview vi only works on waveforms (no tables of waveforms)
(2) insert a node of matlab or matscript me does not work only the tables on waveforms,
(3) with the help of a simple 'divide' VI, it is impossible to define the denominator as just one number... "3" !any ideas? as usual, it is the kind of problem, people have to face all the time
Dave
Hi Dave,.
That's how I'd do it - use the table of values of divisor.
Hope this helps - example in lv 8.6.
Kind regards
-
How to change table->; sql?
I'm running 4.2.1 apex and move an application from one computer to another, since I couldn't find a way to export with all necessary tabels for this, I create sql scripts each.
Check the results in the workshop-> tabels-> sql Object Explorer I get these results:
CREATE TABLE "SAMPLE"
( "ID" NUMBER,
"NAME" VARCHAR2(255),
"SAMP_ID" NUMBER NOT NULL ENABLE,
"SAMP_FRONT_IMAGE" BLOB,
"SAMP_BACKWARD_IMAGE" BLOB,
PRIMARY KEY ("ID") ENABLE
)
/
ALTER TABLE "SAMPLE" ADD CONSTRAINT "SAMPLE_CON" FOREIGN KEY ("SAMPLE_ID")
REFERENCES "SAMP" ("ID") ENABLE
/CREATE UNIQUE INDEX "SYS_IL0000031445C00004$$" ON "SAMPLE" (
/CREATE UNIQUE INDEX "SYS_IL0000031445C00005$$" ON "SAMPLE" (
/CREATE OR REPLACE TRIGGER "SAMPLE_T1"
BEFORE
insert on "SAMPLE"
for each row
begin
if :NEW.id is null then
select SAMPLE_SEQ.nextval into :NEW.id from dual;
end if;
end;
/
ALTER TRIGGER "SAMPLE_T1" ENABLE
/Notice the line "CREATE a UNIQUE INDEX ' SYS_IL0000031445C00005$ $' ON 'CARD_TYPE'", which not only duplicates but shouldn't be there at all.
So, how to edit them? Also, can anyone suggest why they are there in the first place, that I take all the code of the original project and it doesn't have these lines?
Hello
First of all, if you want the tables on the new computer, then you will need to export the schema database (not only the apex application) on which your application is analyzed. To export the database schema use the utility "expdp" of oracle database. This will create the dumpfile that must be imported on the new computer (or I would say that the data base). A DBA can help you do it if you don't know about it.
Unique indexes might appear due to BLOB fields in your table. I'm guessing that oracle db creates a unique index for each BLOB and, possibly, fields in a CLOB table. Since your table contains 2 BLOB fields, two unique indexes are appearing. I see too many these type sql indexes in my tables with BLOB fields. We don't need to create them. The Oracle Apex sql gives also to these indices is actually incomplete.
My suggestion to export the tables is perform a dump of the schema of the application using "expdp' analysis and import it using"impdp"on the new database. It is not only import tables but also triggers, packages, procedures, functions and all other objects in the schema of your db.
Contributes to hope
Concerning
Marie Laure
-
How to change the properties of a pdf file?
A lot of my files have the 'Title' and 'author' as someone else that the files have been revised and modified over time. These details are grayed out when I go to 'Properties', so I can not put my info in 'Title' and 'author '.
Help, please.
Hi pamoorebx,
You can change the document possedantes Acrobat help. PDF properties and metadata using Acrobat Adobe Acrobat download free trial | Acrobat Pro DC. However this is not possible using free reader application.
Kind regards
Nicos -
Since the update to version 15.009.20071 and today 15.009.20077, I have no control of the drawing of the tools - lines always 'Reds' and the 'fill' is always transparent.
Before the update I could choose the line and color for filling tool tools right-clicking and selecting a range of.
Is this a problem of user (me) or has been removed from this capacity?
Your help is appreciated, as I frequently use these functions.
Hi Thomas,
If you use the comment line and you want to change the color or other settings then first draw a line, select and right click it and select Properties.
Please share more details on the other tool you want to know.
Thank you
Abhishek
-
How to change the properties of shape layer once it has been placed in a layer?
Hello
I wonder if you could help me with a question that has been frustrating for some time.
When I create a form of Photoshop CS6, it brings a nice options panel - allow me to change the RADIUS, line style, color, etc.
However, once this form has been placed in the Photoshop document, I am not able to change, without creating a new form.
I can't change the options. Of course, I can select and change the size - but how I would change the stroke color of form and style, as well as the radius of the curves?
Y at - it an option or a sign that inviting me to activate to return to this menu for the current form?
I aggravated my problem in a few screenshots.
Here, the form options are visible
However, once I click the shape - they disappear and I can no longer get back them.
How would get options form to this form, without creating a new layer and shape?
As with the way he is now, I do things like the color of stroke and RADIUS correctly the first time - and I like to experiment with my options.
Thanks a lot for your help and I look forward to any solution that any of you may be able to offer me.
You can change background and outline in the Options bar when the layer of form is targeted and the active tool is a vector path selection tool or the pen tool or the Rectangle tool, etc.
The radius of the corners cannot be changed except in hilarious manual with the Selection tool directly, although I remember a thread about a script or plug-in which allows you to simply enter a new RADIUS value.
Maybe you are looking for
-
Y700 - no power, no display
Just purchased portable y700 with works and it's pure trash! Then call me crazy, but when I spend $1300 on a top of the phone line I don't think it's too ask that the dam thing works for more than a week! I checked the forums to see if it was a fluke
-
I just bought a new combo pack in box of the HP 61 cartridge for my printer HP 4620 scanner. The problem is I bought them off eBay and when I opened the sidewalk I saw that the area, while the new, open and not expired, is marked for sale in Australi
-
Unrecoverable internal error: line image.cpp 12727
My application has a button called out VI to quit, but Labview popup, an error message "unrecoverable internal error: image.cpp 12727 line", this error message reports only when the application has been built in EXE. If I run the VI in Labview, he co
-
Vista - cannot install updates
Been having problems with windows update uses a Compaq Presario CQ50 race (laptop), Windows Vista Home Premium got SP2 and it's 32-bit operating system. A bubble comes mainly to the top of my clock saying that windows cannot check the updates click h
-
I would like to know if defrag already include the service chkdsk or not?
I would like to know if defrag already include the service chkdsk so I only need to defragment the HARD disk to run chkdsk and Defrag, or I need chkdsk, firstly and then later defragment? Does anyone have any suggestions? Thanks in advance for your s