How to add a column at the end of table in already designed document..?
Hi,
I am writing a javascript for adding a column at the end of table in Indesign document. using our plug-in we have created the Indesign document.
Each table i want to add one extra column at the end. Is it possible..? please help me if anyone has idea regarding this.
Thanks,
Vimala L
Hi Vimala,
Please try the below JS code, This code will add the new column in every table last column after.
var myTable = app.activeDocument.stories.everyItem().tables.everyItem().getElements();
for(i=0; i<myTable.length; i++){
myTable[i].columns.add(LocationOptions.after, myTable[i].columns[-1]);
thx,
csm_phil
Similar Messages
-
How to add one column to the standard t.code : CAT2.
Hi,
How to add one column to the standard t.code : CAT2.
thanksHi Chinna
see the enhancements by using SMOD <b>CATS0007</b> , or <b>CATS0012</b> and create a project using CMOD and you can implement your requirement.
Hope This Info Helps YOU.
<i>Reward Points If It Helps YOU.</i>
Regards,
Raghav -
How to draw horizontal line at the end of table for multiple line items
Dear Experts,
Pls can anyone help me how to draw horizontal line at the end of table for multiple line items . kindly help me regarding this
Thanks
Ramesh ManoharanHi
I tried as per your logic but it is not solving my problem . when i am gone to table painter it is showing line type 1 and line type 2
is below format.. if u see here line type 1 bottom line and line type 2 top line both are same.. so how to avoid this ?
line type 1
line type 2 -
FBL5N : how to add a column of the Account's name?
Hi,
the list displayed by Tcode : FBL5N contain only the number of account, please how to add a column of Account's name ?
Please advise
Regards.When you are in the FBL5N display results screen, use the menu option Settings --> Special Fields.
There are also the following notes which would explain you how to add special or new fields to the line items :
- 310886 Line items: Dynamic selections ignored
- 215798 FBL*N: Special fields are not displayed
- 373268 Line item: new display field
The special field has to exist in table T021S. -
How to add a signature at the end of each post
How do you add a signature at the end of each post (if possible)?
^^right now, I just have to copy and paste thatIt's possible to set up your signature on the Desktop such that it can be simply dragged into the Camera icon's "From the Web" field...
1. Right click on an already posted pic
2. Choose "Open Link in New Tab"
3. From the address bar of that new tab, drag the URL's favicon (little icon) to your Desktop whereupon an "@" icon will be created
The above only has to be done once, and then to use that image in future posts...
1. Click the Camera icon
2. Click "From the Web"
3. Drag the URL's "@" icon from your Desktop to the URL field and click Insert Image
And if you want your signature instead of a generic "@" icon, that's possible too: -
How to add a column in the middle of the table
hi all.
using alter table i am able to add column at the end of the table.
but what to be done if i want to mention the column number or order also.This cannot be done, without recreating the table. Of course, if it is just a nice thing, to make people feel good about the order, you can define a view in the order you want.
Tom Best -
How to add one column into the t.code: cat2
Hi
I am userexits
here i want to add one column into the t.code: cat2 at particular location, and that added field have to display the data what i am selcting in that transaction.
how to do this...
thankxhi,
CATS0005
CATS0007
CATS0009
CATS0010
CATS0012.
Go through the documentations of above Enhancements to solve ur problem. I am not able to understand ur exact requirement. that is y i gave some more Enhancements. -
How to add customized column in the time sheet CATS (transaction CAT2) ?
Hello,
I need to be able to add some columns in the time sheet CAT2 containing:
- the name and first name of the person (in addition of the number), in display mode in the CATS time sheet.
- a text that I will found by reading some tables and values...
Does anyone have any idea how to do so ? and if it's possible or not?
Thanks a lot in advance for your help.
Best regards
Fanny GROUXHi,
Thanks a lot, it's really help...don't know why I didn't see this customized point before in SPRO.
But I have an other issue, my new fields is added in the CATS screen and now I'm trying to put default value by using the user exit of extension CATS0009.
When I complete the value of my new fields in structure CATSD_IMP, there are not taking into account and the CATS screen doesn't display the value.
Am I using the wrong table ? wrong user-exit ? or my code ..
Thansk a lot again for your help.
Fanny GROUX -
How to add a string at the End of TLFTextField without loosing current text format!
I have a TLFTextField that loads text from external text file.
Then a function changes the format of some parts.
Then as soon as I add a string at the end of my TLFTextField, All previous formatting is lost!
I use this code to add string:
myTLF.text += "." ;
or
myTLFText.text = myTLFText.text.concat(".");
Should I use another method??pass the text through your formatting function again, or try appendText:
myTLF.appendText(".") ; -
How to add particluar column dynamically to an internal table
Hi
How can I add particluar column(s) to an internal table dynamically and then display in an alv.
for eg:
There are 5 columns and the 4th column is the <b>period (1 to 12)</b> that has been declared as select-options in the selection screen.
col1 = bukrs
col2 = lifnr
col3 = akont
<b>col4 = period</b>
col5 = waers
so my question is
if period is in the range from 1 to 3 then the internal table should be
bukrs lifnr akont <b>period1 period2 period 3</b> waers.
likewise if the period is in the range from 1 to n then internal table should be
Bukrs lifnr akont <b> period1 period2 period3 period4 ..... periodn </b> waers.
ThanksHi,
First create a global field catalog with all 12 periods ie period1, period2, ....period12.
Once you have fieldcatalog with all 12 periods
Then use this code arrive the dynamic field in the fieldcatalog
data : begin of i_period occurs 0.
data : period type i.
data : end of i_period.
data : v_no type i value 1.
do.
i_period-period = v_no.
v_no = v_no +1.
if v_no eq 12.
exit.
endif.
enddo.
" Here arrive the periods that are not belong to selection option period
delete i_period where period in s_period.
data : v_fldname like dd03l-fieldname.
loop at i_period.
concatenate 'PERIOD' i_period-period into v_fldname.
condense v_fldname no-gaps.
read table i_fieldcat with key fieldname = v_fldname.
if sy-subrc eq 0.
delete i_fieldcat index sy-tabix.
endif.
endloop.
After this loop your field catalog contains only valid period that equal to selection option period
aRs -
How to add a total at the end of a characteristic column
Hi All,
There is a report where sales document number(0doc_number)is displayed in one of the columns,
now There is a requirement where I need to add a total count of those doc numbers at the end of that column.
I am not able to find a suitable way to do that.
I tried exception aggregation for taking a count of doc numbers but that will be another column then while I need the total at the end of the same
column which already exists.
Please assist.
Thanks,
DollyHi Suman,
A part of the report is :
I need a count as 2 in above example at the bottom of sales document column.
Dolly -
How to add a character at the end of an array element that meets certain criteria.
Hi. I am using CF 9.2.1. I started learning CF yesterday, and I am trying to figure out a way to add a special character (like "?", "!"," & ") to an array row if the first row element (say, element [1][1]) has a specific letter like " t" in the word it is holding. In this case the special character will be added at the end of the last row element (element [1][3]).
Example: The take columns are: "Firstname", "Lastname", "Age". If Firstname contains an "s" or "S" (in any order) then add "!" at the end of the row so that :
Sam, Rubins, 26 !
Nick, Palo, 32
Robert, Williams, 28
Oscar, Ramirez, 23 !
I tried using the ReReplace, Refind and the #findoneof functions. I could probably loop through the array and return a value and store, while storing the value in a separate variable and using an if/Boolean function to compare that value and so on.... But I am sure there's an easier and more efficient way. Thanks in advance.
<!--- #1 I will create a three column query named CityInfo--->
<cfset CityInfo = QueryNew("City, State, LCode","VarChar, VarChar, Integer")>
<cfset newRow = QueryAddRow(CityInfo, 2)>
<cfset newRow = QueryAddRow(CityInfo, 3)>
<cfset newRow = QueryAddRow(CityInfo, 4)>
<cfset newRow = QueryAddRow(CityInfo, 5)>
<cfset newRow = QueryAddRow(CityInfo, 6)>
<!---Using the column names City, Sate and LCode I will now enter the information--->
<cfset temp = QuerySetCell(CityInfo, "City", "Dallas", 1)>
<cfset temp = QuerySetCell(CityInfo, "State", "TX", 1)>
<cfset temp = QuerySetCell(CityInfo, "LCode", "214", 1)>
<cfset temp = QuerySetCell(CityInfo, "City", "Fort Worth", 2)>
<cfset temp = QuerySetCell(CityInfo, "State", "TX", 2)>
<cfset temp = QuerySetCell(CityInfo, "LCode", "817", 2)>
<cfset temp = QuerySetCell(CityInfo, "City", "San Antonio", 3)>
<cfset temp = QuerySetCell(CityInfo, "State", "TX", 3)>
<cfset temp = QuerySetCell(CityInfo, "LCode", "210", 3)>
<cfset temp = QuerySetCell(CityInfo, "City", "L.A.", 4)>
<cfset temp = QuerySetCell(CityInfo, "State", "CA", 4)>
<cfset temp = QuerySetCell(CityInfo, "LCode", "213", 4)>
<cfset temp = QuerySetCell(CityInfo, "City", "Austin", 5)>
<cfset temp = QuerySetCell(CityInfo, "State", "TX", 5)>
<cfset temp = QuerySetCell(CityInfo, "LCode", "512", 5)>
<h4> Number1. City info TABLE contents:</h4>
<cfoutput query = "CityInfo">
#City# #State# #LCode#<br>
</cfoutput>
<!--- #2 Now I focus on the array. I declare it first --->
<cfset cityarray=arraynew(2)>
<!--- Then I retrieve the data and populate the array --->
<cfloop query="CityInfo">
<cfset cityarray[CurrentRow][1]=City>
<cfset cityarray[CurrentRow][2]=State>
<cfset cityarray[CurrentRow][3]=LCode>
</cfloop>
<h4>Number2. City info ARRAY contents before appending:</h4>
<cfloop index="Counter" from=1 to=5>
<cfoutput>
City: #cityarray[Counter][1]#,
Estate: #cityarray[Counter][2]#,
Code: #cityarray[Counter][3]#<br>
</cfoutput>
</cfloop>
<!--- #3 I now add/append Irving to the array and change L.A. --->
<cfset cityarray[6][1] = "Irving" />
<cfset cityarray[6][2] = "Texas" />
<cfset cityarray[6][3] = "972" />
<cfset cityarray[4][1] = "Los Angeles" />
<h4>Number3. City info Array contents after adding Irving, TX and updating L.A.:</h4>
<cfloop index="Counter" from=1 to=6>
<cfoutput>
City: #cityarray[Counter][1]#,
Estate: #cityarray[Counter][2]#,
Code: #cityarray[Counter][3]#<br>
</cfoutput>
</cfloop>
<br>
<!--- #4 now I look for the 's' in order to add a '!' THIS IS WHERE MY PROBLEM BEGINS --->
<h4>Number4. City info after searching for "s"</h4>
<cfloop index="Counter" from=1 to=6>
<cfoutput>
City: #cityarray[Counter][1]#,
Estate: #cityarray[Counter][2]#,
Code: #cityarray[Counter][3]#,
<!--- I know the findoneof function is not going to help me, but I hope it helps to give you an idea of what I am trying to do--->
#findoneof("sS",cityarray[Counter][1])#
<br>
</cfoutput>
</cfloop>It is much simpler than you think. Additions and modifications are in italics. Good luck!
<h4>Number2. City info ARRAY contents before appending:</h4>
<cfloop index="Counter" from="1" to="#CityInfo.recordcount#">
<cfoutput>
City: #cityarray[Counter][1]#,
State: #cityarray[Counter][2]#,
Code: #cityarray[Counter][3]#<br>
</cfoutput>
</cfloop>
<!--- #3 I now add/append Irving to the array and change L.A. --->
<cfset cityarray[6][1] = "Irving" />
<cfset cityarray[6][2] = "Texas" />
<cfset cityarray[6][3] = "972" />
<cfset cityarray[4][1] = "Los Angeles" />
<h4>Number3. City info Array contents after adding Irving, TX and updating L.A.:</h4>
<cfloop index="Counter" from="1" to="#arrayLen(cityarray)#">
<cfoutput>
City: #cityarray[Counter][1]#,
State: #cityarray[Counter][2]#,
Code: #cityarray[Counter][3]#<br>
</cfoutput>
</cfloop>
<br>
<!--- #4 now I look for the 's' in order to add a '!' THIS IS WHERE MY PROBLEM BEGINS --->
<h4>Number4. City info after searching for "s"</h4>
<cfloop index="Counter" from="1" to="#arrayLen(cityarray)#">
<cfset sPosition=findNoCase("s",cityarray[Counter][1])>
<cfoutput>
City: #cityarray[Counter][1]#,
State: #cityarray[Counter][2]#,
Code: #cityarray[Counter][3]#
</cfoutput>
<cfif sPosition GT 0><!--- Just display the exclamation mark--->
<cfelse> <!--- Add whatever you like, or nothing, here--->
(no 's')
</cfif>
<br>
</cfloop> -
I need to learn how to add a page at the end of my video to put credits?
I am editing for the first time EVER and need to know how to add credits to the end of a video
There are different ways to add credits. Did you have anything particular in mind?
You may find some ideas here:
How to Create Scrolling Movie Credits in Adobe Premiere Pro - YouTube
https://helpx.adobe.com/premiere-pro/using/rolling-crawling-titles.html
Creating and Editing Titles -
How to add an image at the end of a video?
I tried following these instructions https://pantherfile.uwm.edu/type/www/116/SoftwareTutorials/QuickTimePro/DougProu ty_QTPro_Tutorial/QuickTimePro_DougProuty.pdf
But can't find where to choose the frame rate. So when I add it to my video it goes away so quick you can't even read it.
Can anyone please help me with this.
Thank you.Those instructions are very old and not intended for a single image.
In your case you need to give your still image some "time" (duration). Easy to do with QuickTime Player Pro.
Open any audio file in QuickTime, make a selection (in and out points) that matches the duration you wish for the image file. Let's say an mp3 with a ten second selection. Leave this window open.
Open your image file in QuickTime. Select All (Edit menu) and Copy. Close this window.
Switch to your audio file selection. From the Edit menu choose Add to Selection & Scale. You'll see the window expand in dimensions as your image is added.
Open the Movie Properties window (Windows menu). You'll notice it now has a "Video" track.
Single click on the Video track and then click the "Extract" button (upper left of the window). The ten second video track will open in a new Player window.
Close the audio file window without saving.
Do a "Save As" on the image video track. Give this new .mov file a name and location. Leave the window open.
Select All and copy the ten second video track. Switch to the movie file you want to add it to and move the playhead to the end. From the Edit menu "Paste" the ten second video. It will be added to the end of the movie.
Save As (self contained) and name the new video. -
How to add a number at the end of a bar chart?
Hello everyone,
I am building a series of graphs and bar charts for my thesis.
I am struggling top fin an option that would allow me to but a "n=number" kind of entry at the end of the chart.
I did manage to put the percentages in front of every bar, but what I wanted to do is something like this:
Is this even feasible?
Thank you everyone for the help!
Cheers,
TiagoHello Jerrold
Thank you very much for the help mate!
It might take a little longer to edit all the graphs, but it's a start
Thanks once again!
Tiago
Maybe you are looking for
-
When I go to the App store to check for any updates it will not proceed and gives me the following error message NSURLErrorDomain error 1012. Can anybody help please. Thanks, Bernard
-
How do I trade iphones with a family member w/out one original computer?
We have two iPhone 4s, an ATT phone and a Docomo phone (japanese). We are switching locations and would like to switch phones. The problem is that we do not have the original computer that was used to setup the Docomo phone. Can we backup the Docom
-
How to configure something similar to optSoapShortcut in SOA Suite 11g
Hi, We are migrating processes in BPEL 10g to composites in SOA Suite 11g (11.1.1.5). In one of these processes we are extracting the ws-addressing elements replyTo and MessageID from the SOAP header from the calling process and saving these values i
-
Sending mail with attachment of report
Hi, i am using forms11g and reports11g in AIX environment. Once i generate a report (PDF) system should send a mail to the user with attachment. client system is windows 7 or xp how can i do this..any solutions please.. thanks in advance.. a..
-
Attn: Ralph! Desperate Help
I have read all the threads on errors with ichat video chatting. My colleague and I are trying to video chat. We were getting an error -8 for a while. We changed our ports in ichat to 443. That seemed to work for about 1 day. Now we keep getting an e