How do i create permanent javascripts that do not have to be run using the javascript console
I have written a code that adds footers to the bottom of an adobe pdf and i have been running that code from the adobe console. I would like to create a permanent script that can be called from the edit tab and will ask for two user inputs and run without opening the console
yes, however i do not have adobe pro so i added the show console:
app.addMenuItem({cName:"Show Console",cParent:"Edit",cExec:"console.show()"});
and i would like to add:
app.addMenuItem({cName:"Add Footer",cParent:"Edit",cExec:"addFooter()"});
however i am unsure how to make add footer run as an independent function or if it should be a subroutine and furthermore where it needs to be saved?
Similar Messages
-
How can I create a template that does not have automatic formatting but my own?
I have just switch to a Mac from a PC and am having a terrible time with pages. All I want to do is create my own template that has NO AUTOMATIC FORMATTING so I can do my own.
There is nothing in the HELP sections on how to delete the automatic formatting. I do not want to use any of their Outline Templates just make up my own.
I would be so so grateful if someone could help me with this. I took a one-on-one and his idea of how to get rid of formatting in my own template DID NOT WORK!
Thanks, DeborahDeborah
Hard to see your problem, and if there is something THAT DOES NOT WORK! it would obviously be useful to know WHAT that is and WHY you believe it does not work, so we can ACTUALLY RECOMMEND A SOLUTION.
Just select any text and change it to whatever you want using the toolbar and/or the Text inspector.
The Outlines are just a view of your text, in a form that lets you easily organise and move it around.
Menu > View > Show Styles Drawer
Reveals whatever style has been applied to a heading or text and you can update or create new styles by clicking on the small triangle next to it > Redefine style from selection
When you are finished just save it as a Template.
Peter -
How Do i create a list that will show in a dropdown box with the list being pulled from another tab and not the cell data format junk?
I currently run OS X 10.10.1
Now i have been trying to work on this for a while now and what i want to do should be simple but its apparently not.
Here is an example of what i want to happen.
I will have 2 tabs: Contact | Sales
Now Contacts will have the list of names and various information about a customer, While Sales will have one drop-down box for each Cell Row that will show the names of the person in tab contacts
for what i am wanting to do i cant use the data format pop-up menu because the list is edited everyday several times a day.
Now how do i do this, Excel can do this so how can numbers do it?Hi Shegra,
Paste this into a applescript editor window and run it from there. In the script you may need to adjust the four properties to agree with your spreadsheet. Let me know if you have any questions.
quinn
Script starts:
-- This script converts column A in one table into an alphabetized list of popups. It copies the last cell in that column. Then reverts the column to text. It then refreshes popups in column A of a data table starting with a user defined row.
property DataEntrySheet : "Sheet 1" --name of sheet with popups to be refreshed
property DataEntryTable : "Sales" --name of table with popups to be refreshed
set copyRange to {}
property PopValueSheet : "Sheet 1" --name of sheet with popup values table
property PopValueTable : "Contacts" --name of table with popup values
set PopStartRow to {}
tell application "Numbers"
set d to front document
set ps to d's sheet PopValueSheet
set pt to ps's table PopValueTable
set s to d's sheet DataEntrySheet
set t to s's table DataEntryTable
set tf to t's filtered --this records filter setting on data Entry Table
display dialog "Start from row #..." default answer "" with icon 1 -- with icon file "Path:to:my.icon.icns" --a Week # row
set PopStartRow to {text returned of result}
tell pt --convert list to alphabetized popups
set ptRows to count rows
set copyRange to ("A2:" & name of cell ptRows of column "A")
set selection range to range copyRange
set selection range's format to text
sort by column 1 direction ascending
set selection range's format to pop up menu
-- popupsmade
set selection range to cell ptRows of column 1 of pt
set v to value of cell ptRows of pt
end tell
activate application "Numbers"
tell application "System Events" to keystroke "c" using command down
tell pt
set selection range to range copyRange
set selection range's format to text
end tell
tell t
set filtered to false
set tRows to count rows
set pasteRange to ((name of cell PopStartRow of column "A") & ":" & (name of cell tRows of column "A"))
set selection range to range pasteRange
tell application "System Events" to keystroke "v" using command down
set filtered to tf
end tell
end tell -
How to get master data records that do not have transaction data in a query
Hi,
How to get master data records that do not have transaction data in a query output. Can we create a query or any other way to get the master data records that do not have transaction data?Hi,
Create a multiprovider which includes transactional data target and master data info object. Make sure that identification for this master data info object is ticked on both the provider.
Create report on this multiprovider , keep the master data info object in rows , and now you should able to see all the values which are there in master data info object irrespective of transaction happened or not .
Next you may create condition showing only zero keyfigure values , ie. master data without any transaction.
Hope that helps.
Regards
Mr Kapadia -
How can I send a file that CAN NOT be printed or saved by the recipient?
How can I send a file that CAN NOT be printed or saved by the recipient?
Impossible. PDF files don't stream, so they cannot be opened until they've been saved.
You can truly prevent printing by using DRM, or ask nicely by using a permissions password (though that's ignored by non-Adobe software). -
How do we create user defined Task in OM & Which report we run for the Task
Hi
How do we create user defined Task in OM & Which report we run for the Task.
Regards
RajeshYou can create tasks using PFCT or path: Human resources> Organizational management> Expert mode> Task catalog in Easy access.
Check this link may be useful for you: http://help.sap.com/saphelp_40b/helpdata/pt/fb/135d89457311d189440000e829fbbd/content.htm -
How can I share an ibook that is 250 megs with others without using the ibook store
Hello
I'm using ibook author and the book I have created is 250 megs. I'm having trouble sharing it and getting on my new ibook air. Does anyone know if there is a good way to share the file with others without publishing it or using iTunes?
I'd ideally like to use something like Dropbox or my website but every time I try to download the file using one of these sites safari/apple says file not readable.
Any help would be appreciated.
Thank you!Thank you both for the help and sorry about not replying earlier. I've tried both drop box as well making the ibook downloadable from a website. I've triend to create a step by step list below that better illustrates what is happening.
1) export ibook author file as an xxxxxx.ibooks
2) upload xxxxx.ibooks to dropbox and then send my self a test link
3) using safari i download the xxxxx.ibooks file
4) while still in safari a page opens up with an icon for the xxxx.ibooks file and it has two buttons underneath it- one that says "open with..." and another that says "open in ibooks"
THIS IS WHERE THE IBOOK PROBLEM STARTS
5) I tap on the "open in ibooks" button - nothing happens
6) I tap on the "open with..." button and an icon for the ibook app pops up
7) I tap on the ibook app icon and nothing happens
8) I tap and hold the "open in ibooks" button for 2 plus minutes (the time for holding the button down fluctuates from 45 seconds to 5 minutes)
9) the xxxxxx.Ibooks file opens in the ibook app.
I am very happy that I was able to get the xxxxx.ibooks file to open on my ipad. However, this is not a smooth or intuitive process. I need to share the xxxxxx.ibooks file with many people and I want to find a process for getting them the book that is very easy.
any advice is appreciated
Do you think the problem could be the size of the file?
Thank you -
How do I deauthorize a computer that does not have access to the internet
How does one deauthorize a computer that cannot connect to the internet?
You can deauthorize all computers linked to your Apple ID from another computer with Internet access.
To deauthorize all computers associated with your Apple ID
If you need to authorize your new computer and are unable due to already having five authorized computers, you can deauthorize all computers by doing the following:
Click iTunes Store on the left side of iTunes.
If you're not signed in to the store, click the Account button, then enter your account name and password.
Click the Account button again (your Apple ID appears on the button), enter your password, and then click View Account.
In the Account Information window, click Deauthorize All.
Note: You may only use this feature once per year. The Deauthorize All button will not appear if you have fewer than two authorized computers. If you need assistance on using this feature, please contact iTunes Store support via email (http://www.apple.com/support/itunes/store/).
(from http://support.apple.com/kb/ht1420) -
How do you delete a picture that does not have the trash can icon to do so.
I Am trying to delete a picture and it does not have the trash can icon.
You have to sync it off of the device using iTunes. That is likely how it got there in the first place.
See:
http://support.apple.com/kb/HT4236 -
How to fix an iPod touch that does not charge but gets hot in the lower back area?
I have a 3rd generation iPod touch 32gb and it will not turn off, nor will it charge. Plugging in to my computer, iTunes does not even detected. Even if I leave it to charge, it does not detect it. The odd thing is that it get really hot in the lower back area of the iPod. It is hot to the touch, as though it were 80 degrees+. Anyway for me to fix this?
The iPod is way out of warrenty, so I wonder if a Genius bar appointment will even help me. But I will give them a try.Replace the battery. If that does not work, then system board is toasted...
-
GPO to push HKCU regkeys to users that do not have permissions to write to the registry?
We run a 2008r2 domain and mostly Win7 clients, but some are still XP. I need to apply some application settings in an admin template(user), and also need to push a regkey to HkeyCurrentUser for those users. I would like to use GPP for the
regkey, if possible, but the end-users do not have permissions to edit the registry on their computers. Is this something that would have to be scripted? or can I do this through group policy?
I was thinking that the computer side of Group Policy ran under the System account, but that user side ran under the user's security context? This is probably an easy one, but any ideas would be appreciated.
Thanks,
Dan
Dan HeimEven though users are not admins, some parts of the registry are open for editing. The easiest way to determine if thats the case, is to actually try changing the value when you're logged on to a client as non-admin.
Note that according to: http://support.microsoft.com/kb/2252421, a possibility would also be to change the value as following (that can sometimes help when using both policies and GPP's)
How to deploy the junk email list trigger to the non-policy location in the registry
You can also configure the junk email list trigger in the following non-policy location in the registry:
Key: HKEY_CURRENT_USER\Software\Microsoft\Office\1x.0\Outlook\Options\Mail
DWORD: JunkMailImportLists
Value: 1
Note The 1x.0 placeholder represents your version of Outlook (11.0 = Outlook 2003, 12.0 = Outlook 2007, 14.0 = Outlook 2010, and 15.0 = Outlook 2013)."
Microsoft Certified Trainer
MCSE: Desktop, Server, Private Cloud, Messaging
Blog: http://365lab.net -
How do I create PDF so that user can insert a placed file using Acrobat Reader
I have just upgraded to CS4 which has Adobe Acrobat Pro. I am creating PDF's within Pro, adding text fields and buttons for customers to access and fill in using Adobe Reader. This has worked great but I would also like to add a box with text saying 'insert logo here' and when the customer clicks on it then searches their system for the logo, selects and places within the PDF. Can anyone help me on this one?
Try the forum for Adobe Acrobat.
-
Is anyone else having this issue? Any ideas on how to fix it?
Is DATA turned on ? Verizon makes you have data turned on to send/receive media via text. To use only wifi, send the media via email like with a Gmail acount.
-
OK, I need to be able to have a linked TOC, and also have destinations created in FM10 that will not be lost when I 1. Save the book as a PDF; then 2. I need the PDF to be as small as possible, but without losing my destinations. Anyone know how to do that??
I had been saving as a PDF and then reducing the size of the PDF by printing it as a PDF with a degree of image compression. I write manuals with a LOT of screen captures and line art that needs to be clear. So it is a balancing act between image clarity and PDF size. The PDFs on the web need to be smaller - sure you can undertsand.
Anyway, when I print the PDF again, I lose both my destinations and bookmarks.
Anyone know of any way to avoid that?Control the images by creating a custom PDF Job Options and then selecting it in the PDF Job Options drop-down of the PDF setup dialog box (File > Save as PDF...)
Create the custom PDF Job Options file with Distiller. If you do not have Distiller, open the Printing Preferences of the Adobe PDF printer. Start with the Smallest File Size Job Options settings and Edit. -
How do I create a table that breaks for new pages?
I'm running Pages 5.5.1 on OS X Yosemite 10.10.1 and am having difficulty understanding table behavior.
Scenario 1 - I create a new file and insert a table at the top of the first (blank) page. It automatically is selected for Object Placement>Move With Text. If I add rows to this table, Pages automatically adds a new page and breaks the table so that additional cells appear on the new page. All well and good. If I change the Object Placement to Stay on Page, the second page and those cells disappear.
Scenario 2 - I create a file and first add a few lines to the top of the first page. Then, I insert a table below those lines. It is also automatically selected for Object Placement>Move With Text. When I add rows, the table does not break for the second page, but the entire table jumps to the second page. If I change the Object Placement to Stay on Page, I can then slide the table back onto page one, but as in Scenario 1 the portion of the table which would continue onto page two disappears.
So, how do I create a table that I can add to a page which is not blank (as in Scenario 2) which will break automatically onto page 2 instead of jumping, and so the rows appear on page two (not disappear as I describe above)?
Thank you for your help.The inline table is supposed to break but like most things Pages 5 it is buggy and erratic in its behavior.
Use Pages '09.
Peter
Maybe you are looking for
-
Slow and lagging After Effects CS5.5
Hello! I've tried to add some effects and preview the video with AE CS5.5 but editin is very painful. I try to preview and my fps is from 3-14 fps. It's painful to edit. The editing video is 1280 x 720, 13min long and I've edited in Premiere Pro CS5.
-
F.27 A/R Periodic Account Statement
Dear experts, I am running transaction F.27 but when i try to print, i can`t get any output. Could someone advise what could be causing this problem. Thank you for all your support. J Thomson
-
Branding Image - Dynamic Width?
Hi there Is it possible to dynamically set the width of the branding image? I have designed an image which looks nice on my screen, but that's clearly too big for the user's machine. I can set the width lower in the theme editor, but then when you us
-
Javascript: element.style.display = 'block';
Hi, Our company is developing a mobile web app for the black berry devices. My testing has been done on 8350i and higher and all is fine. However, when working with the 8330, OS v4.5, I'm getting a Javascript error for the following code. var elemen
-
Is there a way to perform a one time deprecation
I have an asset that should have been depreciating for a year. is there a way to perform a one time deprecation to get the asset value correct, then start the deprecation on the correct amount?