Is it possible to insert a 'Name' in Pages?
I am creating a document in Pages, to replace an MS Word document I have previously used.
It contains 2 tables with formulae based on one set of values. In Word I gave each value a 'name' and used it in the formulae to avoid multiple entires. So far, in Pages, it seems I can only use values in the same table, so I will have to enter the values twice. This makes the document look repetitive.
Does anyone have the answer?
Thanks in hope,
Ken
Hello Ken,
Thank you for the details of the issue you are experiencing with creating a formula that references a data in a different table. To reference the data in the different table, you will just need to click on the cell in the alternate table when building the formula:
Add, subtract, multiply, or divide values
You can create simple or complex arithmetic formulas to perform calculations on the values in your tables.
Click the cell where you want the result to appear, then type the equal sign (=).The formula editor opens. Drag the left side of the formula editor to move it.
Select a cell to use as the first argument in your formula, or type a value (for example, a number such as 0 or 5.20).
Type an arithmetic operator (for example, +, -, *, or /), then select a cell to use as the next argument in your formula, or type a value.By default, + is inserted between cell references.
Continue adding operators and arguments until your formula is complete, then press Return or click in the formula editor when you’re done.If you click , you exit the current cell without saving your changes.
In step 2, just click the cell from the alternate table to reference that cell in your equation.
Calculate values using data in table cells
http://help.apple.com/pages/mac/5.0/#/tana41710df7
Thank you for using Apple Support Communities.
Best,
Sheila M.
Similar Messages
-
Insert "Last Name" in pages?
I have created a letter and would like to personalize it in the printing process by inserting "last name" on each letter - from a numbers or CSV file that contains "last name" column.
I'm stumped. It seems it only allows me to insert fields from my address book.
So I opened up my address book and attempted to drop my file with addresses into a new directory but it wouldn't allow that kind of action.
Can someone help me? Surely this is possible?I've read that chapter, several times - and I must be blind. It always requires that I use my address book (which does not contain the names/addresses I'm currently trying to use). I don't see anywhere I can select a numbers file/column instead.
Can you point me to the area in the pages manual chapter 11 you are referring to?
As I mentioned, none of the names/addresses I am trying to use are in my address - nor do I want to add them (unless I must - and would then put them into their own directory - I tried this and failed).
I want to pull the "last name" from a numbers file and insert it into a letter, printing individual letters with "Dear Mr. <last name>, ........for 250 letters with a different name on each letter. -
Is there a way to insert the document name as automatic text at the bottom of the first page in Pages? This was a simple "automatic text" script that Word has had for years. All of our documents are saved with names relating to what the document is and where it gets filed. Our paper filing/folder structure is pretty much identical to the folder structure of our file server. It is very convenient to have the name of the document printed at the bottom of the first page so that when it comes time to filing our hard copies, one knows exactly where to file it.
There must be a way to script this. Any help would be much appreciated. Thanks.Automator isn't really the best solution to this. It's possible to do it with AppleScript, and granted, anything you can do in AppleScript can be put into an Automator workflow.
There seems to be three possible ways to mark the bottom of the document:
1) Insert carriage returns to position the very last paragraph (the name of the document) at the bottom. Drawback: if your document takes up all of the final page, then you'd have to create a blank page to accomodate the name. Also, determining the exact number of returns to insert isn't very easy.
2) Put the name in the footer. Drawback: footers appear on every page, not just the last. You could create a separate trailing section, but that has a blank-page issue similar to #1.
3) Create a text box at the bottom of the last page. Here's a little script that will do that.
As for triggering the script, the simplest way is probably to use the AppleScript utility to enable the system AppleScript menu, and put the script in the Pages scripts folder. Then it'll be available whenever you're running Pages.
<PRE>
-- Assumptions:
-- - units are inches
-- - pages are 8.5 x 11
property pageHeight : 11.0
property pageWidth : 8.5
tell document 1 of application "Pages"
set bottomMargin to bottom margin
set leftMargin to left margin
set theBottom to pageHeight - bottomMargin
-- Apparently, the new text box will be created on the page which is visible
reveal page (page count)
if path exists then
-- if you prefer Unix-style pathnames, then use
-- set docName to path
set docName to path as POSIX file as text
else
-- Might want to prompt user to save here.
-- otherwise, fall back on the document name, typically "untitled"
set docName to name
end if
make text box with properties {object text:docName ¬
, vertical position:theBottom, horizontal position:leftMargin ¬
, height:bottomMargin, width:(pageWidth - left margin - right margin)}
tell result
-- Some optional formatting
set alignment of object text to center
set italic of object text to true
set font size of object text to 18
set font name of object text to "Palatino"
end tell
end tell
</PRE>
Titanium PowerBook Mac OS X (10.4.4) -
Is it possible to reference the name of the current table in a formula?
Hi,
I am wanting to be able to reference the name of the same table that I am entering a formula into, i.e.:
=SUMIFS(Net,Event,"CURRENT TABLE NAME HERE",Category,"Publicity")
Is this possible?
Thanks,
NickAppleScript can access the current table name, so it if you are doing a lot of formula entry in different tables you could click once in a table and have a short script insert the formula for you. Here's a simple example:
Say you have a data table like this:
Event
Category
Net
Event 1
Publicity
10
Event 2
Celebration
20
Event 1
Supplies
5
Event 1
Salaries
20
Event 3
Celebration
25
Event 1
Publicity
20
Event 2
Publicity
11
Event 1
Accounting
20
And (important) you have 'Use Header Names as Labels' turned on in Numbers > Preferences.
You caninsert this formula:
=SUMIFS(Net,Event,"Event 1",Category,"Publicity")
... into a table named Event 1 that looks like this:
Cat
Amount
Publicity
30
...with a script like this:
-- NB: the \ "escape" the quotation marks so AppleScript takes them literally
tell application "Numbers"
set t to document 1's active sheet's first table whose selection range's class is range
set c to t's selection range's first cell
set c's value to "=SUMIFS(Net,Event," & "\"" & t's name & "\"" & ",Category,\"Publicity\")"
end tell
The script automatically inserts the name of the table you have clicked in.
(To use the script just copy and paste into Script Editor, click once in the cell where you want the formula (B2 in the example) and click the 'Run' triangle button in Script Editor.)
SG -
Script to insert file name into keywords field of same file
Hello,
search a solution, a Script or another, which writes the file name into keywords field of same file (Metadata: Description/Keywords) in "photoshop", "bridge" or better in "Lightroom" .
I found this topic from Mike Hale http://www.ps-scripts.com/bb/viewtopic.php?t=1330
It's possible this script to change this in such a way that it does this:
"script to insert file name into keywords field of same file"
Thanks and best greetings
WolfgangThis works in CS2:-
#target bridge
if( BridgeTalk.appName == "bridge" ) {
nameDescription = MenuElement.create("command", "AddName to Description", "at the beginning of Thumbnail");
nameDescription .onSelect = function () {
nameToDescription();
function nameToDescription(){
var items = app.document.selections;
for (var i = 0; i < items.length; ++i) {
var item = items[i];
var m = item.synchronousMetadata;
filenameToDesc(m, item.name.slice(0,-4));
function filenameToDesc(metadata, Description) {
var strTmpl = "name2Desc";
var strUser = Folder.userData.absoluteURI;
var filTmpl = new File(strUser + "/Adobe/XMP/Metadata Templates/" + strTmpl + ".xmp");
var fResult = false;
try
{ if (filTmpl.exists)
filTmpl.remove();
fResult = filTmpl.open("w");
if (fResult) {
filTmpl.writeln("<x:xmpmeta xmlns:x=\"adobe:ns:meta/\" x:xmptk=\"3.1.2-113\">");
filTmpl.writeln(" <rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">");
filTmpl.writeln(" <rdf:Description rdf:about=\"\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\">");
filTmpl.writeln("<dc:description>");
filTmpl.writeln("<rdf:Alt>");
filTmpl.writeln("<rdf:li xml:lang=\"x-default\">"+Description+"</rdf:li>");
filTmpl.writeln("</rdf:Alt>");
filTmpl.writeln("</dc:description>");
filTmpl.writeln(" </rdf:Description>");
filTmpl.writeln(" </rdf:RDF>");
filTmpl.writeln("</x:xmpmeta>");
fResult = filTmpl.close();
metadata.applyMetadataTemplate(strTmpl, "replace");
filTmpl.remove();
catch(e)
{ fResult = false; }
return fResult; -
Possible to get variable name?
Is it possible to get the name that you have used in your code of a variable?
ie.
procedure main_procedure
is
l_var varchar2(10) := 'Hello';
begin
dbms_output.put_line(get_var_name(l_var));
end;
function get_var_name(p_var in varchar2)
return varchar2
is
begin
-- insert magic here
end;
-- End code; Now call the procedure
exec main_procedure;-- Needed output:
"variable passed had name l_var and value Hello"Hi Sam,
OK, this is definitely for fun only and NOT recommended for any production database!!
With that out of the way, this has been adapted from Tom Kyte's who_called_me:
SQL> create or replace procedure get_var_name (
2 p_var in varchar2
3 )
4 as
5 call_stack varchar2(4096) default dbms_utility.format_call_stack;
6 n number;
7 found_stack boolean default false;
8 l_line varchar2(255);
9 cnt number := 0;
10 l_owner varchar2(255);
11 l_name varchar2(255);
12 lineno number;
13 caller_t varchar2(255);
14 calling_line varchar2(4000);
15 var_name varchar2(1000);
16 begin
17 loop
18 n := instr( call_stack, chr(10) );
19 exit when ( cnt = 3 or n is null or n = 0 );
20 l_line := substr( call_stack, 1, n-1 );
21 call_stack := substr( call_stack, n+1 );
22 if ( not found_stack ) then
23 if ( l_line like '%handle%number%name%' ) then
24 found_stack := true;
25 end if;
26 else
27 cnt := cnt + 1;
28 -- cnt = 1 is ME
29 -- cnt = 2 is MY Caller
30 -- cnt = 3 is Their Caller
31 if ( cnt = 2 ) then
32 lineno := to_number(substr( l_line, 13, 6 ));
33 l_line := substr( l_line, 21 );
34 if ( l_line like 'pr%' ) then
35 n := length( 'procedure ' );
36 elsif ( l_line like 'fun%' ) then
37 n := length( 'function ' );
38 elsif ( l_line like 'package body%' ) then
39 n := length( 'package body ' );
40 elsif ( l_line like 'pack%' ) then
41 n := length( 'package ' );
42 elsif ( l_line like 'anonymous%' ) then
43 n := length( 'anonymous block ' );
44 else
45 n := null;
46 end if;
47 if ( n is not null ) then
48 caller_t := ltrim(rtrim(upper(substr( l_line, 1, n-1 ))));
49 else
50 caller_t := 'TRIGGER';
51 end if;
52
53 l_line := substr( l_line, nvl(n,1) );
54 n := instr( l_line, '.' );
55 l_owner := ltrim(rtrim(substr( l_line, 1, n-1 )));
56 l_name := ltrim(rtrim(substr( l_line, n+1 )));
57 end if;
58 end if;
59 end loop;
60 select text
61 into calling_line
62 from all_source
63 where line = lineno
64 and type = caller_t
65 and name = l_name
66 and owner = l_owner;
67 var_name := trim ( substr (
68 calling_line
69 , instr(calling_line, '(') + 1
70 , instr(calling_line, ')') - instr(calling_line, '(') - 1
71 ));
72 dbms_output.put_line('variable passed had name '||var_name||' and value '||p_var);
73 end;
74 /
Procedure created.
SQL> create or replace procedure main_procedure
2 is
3 l_var varchar2(10) := 'Hello';
4 begin
5 get_var_name(l_var);
6 end;
7 /
Procedure created.
SQL> exec main_procedure;
variable passed had name l_var and value Hello
PL/SQL procedure successfully completed.cheers,
Anthony -
Is possible to display Country Name in incoming calls?
Is possible to display Country Name in incoming calls? If number is saved with country code. Attached is the sample as i mean.
If you need one more column, then you need to expand the field catalog table and data table as you did for all other fields and you need to code the logic to calculate the subtotals and populate the new column, but if you want to have row, that will be easy. For more info you can [refer |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4063c42a-2549-2c10-fab6-a8c99d98b9b5?quicklink=index&overridelayout=true]this:
-
It possible to insert lines between 2 other lines in Grid
Hi
Is it possible to insert lines between 2 other lines in the Grid. Example, I need to enter a new item between line 1 and 2 in the grid. Similar to inserting lines on the sales documents.
Can any having any idea please share with me.
Regards
SenthilHi,
have a look at the DataColumns Collection
A collection of DataColumn objects. Use this collection to add columns to the collection or remove columns from the collection.
You can access the collection via the DataTable.Columns property.
you'll find it in the UI API Dokumentation.
i hope it helps you.
regards
David -
Pages 5: Insert File Name
How do I insert the File Name? How do I update an old File Name that was previously inserted?
It's common practice to insert the document name in the footer of document, so people reading the document know what version the file was printed from. This was easily handled in the past version of Pages by going to the "Insert" menu and selecting "File Name". If you later modified a document, you could righ click on the inserted document name and the contextual menu would offer you the option to "Update File Name".
Pages 5 seems to be missing this functionality. The software help instructions offer zero mention of Insert File Name.
Has this been removed? If so, that's crazytown. If not, I'd sure appreciate being explained how to use this important feature.
Thank you!Tell Apple and Apple's users by rating/reviewing Pages 5 in the App Store.
Apple tries to clear out the bad reviews but with every new version they keep sinking lower and lower.
In the Australian M.A.S. it is getting almost 3/4 saying they don't like it, with almost 3/5ths saying they hate it. Worse than the previous v5.0.
I assume there were some who just quickly looked at it and didn't know what Apple had done. A few bad files and intractable problems later, and they are starting to wake up.
The problem with the reviews is that mostly people do it on first impressions and they can't go back and correct their review in the light of experience, until the next version comes out.
Peter -
Is it possible to change file name policy in the JRE cache folder?
We are getting calls from our clients complaining of slowdowns in loading our Java applet. The reason is a virusscanner. If a virusscanner is in the middle, it can drastically slow down the download process, and therefore cause some high delay before the user can work on the our product as expected.
On this csutomer's side, it may take up to 10 min (the first time it is ran) instead of 1 min. JRE 1.6 is in use.
They dont want to exclude from antivirus scan all files from Sun\Java\Deployment\cache folder.
Question:
Is it possible to change file name policy in the JRE cache to make it less unique?
Thanks,
-Dimadgomel wrote:
We are getting calls from our clients complaining of slowdowns in loading our Java applet. The reason is a virusscanner. If a virusscanner is in the middle, it can drastically slow down the download process, and therefore cause some high delay before the user can work on the our product as expected.
On this csutomer's side, it may take up to 10 min (the first time it is ran) instead of 1 min. JRE 1.6 is in use.
They dont want to exclude from antivirus scan all files from Sun\Java\Deployment\cache folder.
Question:
Is it possible to change file name policy in the JRE cache to make it less unique?
I suggest you solve the real problem - big files.
There are two scenarios
1. Initial download
2. Updates.
The first takes as long as it takes. No way around it.
The second means that you can't use one jar. Otherwise every single update requires downloading the entire application every time. Multiple jars means only the one that changed is downloaded. -
Is it possible to insert images in Adobe 9 Standard?
It appears that it is not possible to insert images in Adobe 9 Standard. There is no TouchUp Object Tool in the Advanced Editing Toolbar in the standard version. Only a TouchUp Text Tool. Is this not a basic function being able to add or change an image in a document? The tutorials all show this as a capability but they are also demonstrating in the Pro version of Acrobat. Is there a work around or have I been suckered into buying a product that doesn't quite meet my needs?
The Touch-Up Object tool is not available in Standard.
Adobe Acrobat is not meant to be a word processing program; it is meant to be a cross-platform method for document exchange. Changes are best made in the source program. While the answer to your question would not have been obvious from this list, it is a good reference for the difference between Acrobat products: http://www.adobe.com/products/acrobat/matrix.html .
If for some reason it is not possible to edit the source file and create the pdf again, you can insert your image as a form button and then flatten it. A lot more work, but post if you want help with this.
--For other folks reading this thread, Adobe offers trials of its programs. Consider testing before buying. -
Is it possible to insert data into a MySQL database with Java?
Hello everyone!
I would like to know, if it's possible to insert data into a MySQL database, with a JFrame inside a servlet?
When the JFrame is first created it calls this method:
* Connects the servlet with the MySQL database.
private void connect(){
try{
Class.forName("com.mysql.jdbc.Driver");
connection = DriverManager.getConnection(
"jdbc:mysql://localhost:3306/data", "root", "omfg123");
}catch(ClassNotFoundException cnfe){
cnfe.printStackTrace();
}catch(SQLException sqle){
sqle.printStackTrace();
}Then, when you click the "Add" button, it executes this code:
add.addActionListener(new ActionListener(){
@Override
public void actionPerformed(ActionEvent ae){
String employee = employeeName.getText();
String[] args = employee.split(" ");
firstName = args[0];
lastName = args[1];
execute();
});And this is my "execute()" method:
* Connects the servlet with the MySQL database.
* - And executes the SQL queries.
private void execute(){
try{
PreparedStatement statement = connection.prepareStatement("insert" +
" into employees values(" + firstName + ", " + lastName
+ ")");
ResultSet result = statement.executeQuery();
String fullName = firstName + " " + lastName;
printer.write("Employee " + fullName + " added.</br>");
}catch(SQLException sqle){
sqle.printStackTrace();
}But when I click the "Add" button, nothing happens.This is what I use to insert into mysql. It works on windows.
try {
Class.forName("com.mysql.jdbc.Driver");
String connectionUrl = "jdbc:mysql://" + loadip + "/custsig?" +
"user=root&password=";
Connection con = DriverManager.getConnection(connectionUrl);
newproc = jTextField1.getText();
newsoft = jTextField2.getText();
newdeb = jTextField3.getText();
newcust = jTextField4.getText();
if (newcust.equals("")) {
errorsig12 = 1;
jLabel1.setForeground(new java.awt.Color(255, 0, 0));
} else if (newsoft.equals("")) {
errorsig12 = 1;
jLabel2.setForeground(new java.awt.Color(0, 0, 0));
} else if (newproc.equals("")) {
errorsig12 = 1;
jLabel3.setForeground(new java.awt.Color(0, 0, 0));
} else if (newdeb.equals("")) {
errorsig12 = 1;
jLabel4.setForeground(new java.awt.Color(0, 0, 0));
if (errorsig12 == 0) {
PreparedStatement ps = con.prepareStatement("insert into customer set cust_name = ?, software = ?, processor = ?, debit = ?");
ps.setString(4, newdeb);
ps.setString(3, newproc);
ps.setString(2, newsoft);
ps.setString(1, newcust);
int rs = ps.executeUpdate();
} catch (SQLException eg) {
System.out.println("SQL Exception: " + eg.toString());
} catch (ClassNotFoundException cE) {
System.out.println("Class Not Found Exception: " + cE.toString());
} -
Is it possible to insert a PDF directly(ie from Share Point) to email (Outlook) without saving it?
I open several docs on Sharepoint that I need to send out immediately and waste a lot of time saving it to my computer and than opening an email and attaching it and than deleting the file bc I don't need it - its already on Sharepoint where I can access it.I have the exact same problem. I used to could do it without saving until I upgraded to a new version. I cannot figure out how to send it without saving.
-
although it is possible to insert podcasts into a playlist on the Mac, these are not in the playlist on the iPod after SYNC
Sambino,
You should be fine. Just make sure that you download and install the P2 drivers for your PB. Also, if possible transfer directly to your external. P2 cards can eat up a lot of space very quickly and you don't want to overburden your system drive.
K -
Is it Possible to Insert Quiz Slides at Set Times During a Video?
Hi all,
I'm fairly new to Captivate, so I apologise in advance if this question has already been answered and I couldn't find it.
I work in higher education and we create a lot of screencasts with academics speaking over Powerpoint presentations. During a presentation there is often several points where the academic would like to ask the user a question. What I want to know is if there's a way of adding question slides during a video?
Many thanks,
RossYou will have to split up that video to be able to insert slides in between.
2015-04-23 16:42 GMT+02:00 Ross_P <[email protected]>:
Is it Possible to Insert Quiz Slides at Set Times During a Video?
created by Ross_P <https://forums.adobe.com/people/Ross_P> in *Adobe
Captivate* - View the full discussion
<https://forums.adobe.com/message/7470510#7470510>
Maybe you are looking for
-
[C:\Users\DELL\Desktop\error_description.txt] Dear All, Similar kind of issue is already there in another thread. but that solution is not suitable for this issue. We are migrating our BPEL processes from 10g to 11g. We are facing two critical issues
-
Strange "Glow" to Iphone after 4.2 update
Phone now glows in the dark, what is going on??
-
FS10N Opening balance difference (Retained Earnings Account)
Hi, We are getting opeing balance difference in FS10N balances from 2007 to 2008 (retained earnings accounts) 1. We have carry forward the 2007 balances to 2008 through T.Code : F.16 2. We are getting difference in 4 company codes. 3. But there is no
-
Green Screen shows when trying to play videos?
Since downloading itunes 8, all of my videos don't work. When you click on them to play, a green screen shows up, and nothing else. And, if I try to play them on Quicktime Player, it doesn't work, either. I tried to enable the Direct3D video accelera
-
Ipod freezes when playing song after auto-shutdown
If I pause a song, and then the Ipod auto shuts down, I can load the song back up and I press play and it looks like it's supposed to play but the song never starts. The Ipod hasn't actually crashed b/c I can scroll through all menus and songs, but i