App.executeMenuItem("SaveAs")
I have a Reader Extended PDF form and I am trying to script a button to use the SaveAs method. Is it possible to specify a default filename using app.executeMenuItem("SaveAs")? By default, it uses the PDF form name.
If it is possible, is there any way to suppress the Save As dialog from appearing?
It should work but the form must be Reader EXtended or opened in Acrobad.
Similar Messages
-
[JS CS3, Win] Saving InDesign using app.activeDocument.save
Hello.
I am having problems saving an InDesign document using Javascript.
My aim is to have a box in the document where I will type the filename and path where I want the InDesign file to be saved (eventually this will be generated from a datamerge).
I then want to run a script which will read the contents of the box and then save the document to that filename or location.
At the moment I have:
//SaveText.jsx
//An InDesign CS3 JavaScript
//Saves the document to the provided path
//get contents of the FileNameBox box on the document
var varFileName = app.activeDocument.textFrames.item("FileNameBox").contents;
//now save
app.activeDocument.save("/"+ varFileName+".indd");
//alert (app.activeDocument.filePath);
When I run the script (with "Hello" in the FileNameBox) the file changes name on the top bar of InDesign to "Hello.indd", but (when I run the commented out alert at the end) the file is not actually saving anywhere.
If I close InDesign and then open it the file is listed under "Open Recent" on the menu, but clicking it does nothing - again the file doesn't exist.
Does anyone have any ideas to help me from tearing my hair out?
Where is my file saving? (Or, if it isn't, how can I make it save!).
Thanks in advance for any help you can offer.var myFolder = new Folder("~/Desktop/Test");
if (!myFolder.exist) myFolder.create();
var varFileName = app.activeDocument.textFrames.item("FileNameBox").contents;
app.activeDocument.save(myFolder.fsName + "\\" + varFileName+".indd");
alert(app.activeDocument.filePath); -
Where can I find the app "password Saver" by yonglin wang? while updating my iphone the app was dropped for some reason. I went to reload from my purchased apps and it is not available. The history shows my purchase but I can not find the app to reload. I've lost some critical info and need to retreive if possible. Any suggestions?
You tried what ? If the app is no longer available in the store (can you find it in the main part of the store ?) for re-downloading then you would need to have a copy of it somewhere e.g. on your computer's iTunes, on a backup of your downloads.
-
Before I upgraded my iPad mini, you could turn off apps to save battery power by double clicking the control button and then holding your finger on the app button until the minus sign appeared. That doesn't work anymore. How do you turn off the apps with ios7
Now you swipe downward, the app will appear and you delete, keep scolling to the right as in the past. With the new operating system you also swipe downward to get the search bar to find an app
-
I have a compatibility problem with Reader 9.
I have designed a PDF with Adobe LiveCycle Designer ES 8.1. and a button, the JS code:
app.execMenuItem("SaveAs");
But if I use Reader 9, get the error message:
"The document could not be saved. There was a problem reading this document (105)." (if I use Reader 7 or 8 version works).
Why? How do I solve this?
Thank you!Hi guys
Exactly, if you save from the standard menu options (File > SaveAs) gives exactly the same error.
After giving the error, if I try to save again it saves correctly!
Step by step, the process:
1. Download the PDF of a web application.
2. IE download process question if: Open? or Save? document.
3. Choose Open.
4. In Reader (or Acrobat) 9 go to File> SaveAs -> and click on "save" produces the error.
What does the message: "There was a problem reading this document (105)."?
Why occurs only with version 9 of Acrobat or Reader?
Add an image of the case described, to illustrate it better:
Document properties:
Certainly it is very hard to work with this Adobe technology... not control what happens within Acrobat / Reader and errors arise "unexplained" or seemingly meaningless.
Each new version is a real headache -
how do i allow my photo (sunflower photo app) to save pics from the facebook app, it came up allow don't allow and i clicked don't allow by accident. How do i know do allow...already deleted fb app and re installed that didnt work?? How do i now get it to come back to click allow??
Thanks xI have the same problem but in reverse. I clicked on don't allow in FaceBook when I was asked to allow it to access my photos and videos. I have been into the privacy settings as suggested by FaceBook and there is no link.
-
i have just upgraded to ios 7 but cant seem to close any apps to save battery life, on th eold system it was just a double click and deleting the icons along the bottom of the screen, any ideas how to now?
Help?Close inactive apps
1. Double tap the home button to bring up the multi-tasking view
2. Swipe up on the screenshot of the app you want to exit.
3. The app will fly off the screen -
HT201365 How do I close open apps to save my battery with the ios7
How do i close open apps to save my battery using ios7
Double click the home button to bring up the multitask bar, hold one app icon until they all start to shake, hit the little minus icon to close the app. Click on the home button to get back to the home screen again.
In most of the cases deleting the mail account and setting it up again can cure the battery drain. There have been cases in which the mail app got stuck trying to connect to the server over and over again, causing the drain. -
After upgrade how do I close my apps to save my battery
after upgrade how do I close my apps to save my battery
Double tap the home button, then when in multitasking view take your index finger and swipe up on a card to completely exit the app. Same goes for safari but instead of swiping up swipe to the left or tap the x icon when you are in the multi page view.
-
Before IOS7, I was able to double click the menu button and turn off apps to save battery, Is there a way to do this with IOS7?
Sure thing...You're very welcome!
Thank you for the points! -
Does anyone know of an app to save battery on iphone 5?
Does anyone know of an app to save battery on iphone 5?
Kind of an oxymoron isn't it...since all apps consume battery to run, finding an app to save battery is akin to...well, you get the picture.
-
App.execMenuItem("SaveAs") don't work in docready event
Hi all, I create a dynamic PDF using LiveCycle Designer ES 8.1.1 The client uploaded the document to it server and the users download the document via a website. I added the "app.execMenuItem("SaveAs")" command to the docReady event, the user must save the document before he/she complete it. The save as popup work 100% fine if the docuemt is opened in Adobe reader or Prof. but when the document is opened in a browser the popup don't appear. any suggestions? Regards, Chris
Could you please confirm the browser being used here.
Make sure the plugin used here is from Adobe Acrobat/Reader : https://support.mozilla.org/en-US/kb/disable-built-pdf-viewer-and-use-another-viewer
Thanks,
Wasil -
Programmatically using the app.execMenuItem "SaveAs" and "Close"
I am using Acrobat XI pro licensed...
I created a custom action with one step (Execute Javascript), after all the code runs I added a SaveAs and a Close. It prompts me to save the document, which I do successfully, but directly after I save it, it pops up and tells me that the action is not complete and asks if I want to exit the action. See below....
1) Code as it is in the script (last 5 lines of it)
// Document SaveAs command
app.execMenuItem("SaveAs");
// Document Close command
app.execMenuItem("Close");
2) Error Pic
When I click "Yes" here, I get the "Adobe Stopped working" error Shown below.
My Question is this >> How do I get the error to go away?I think you need to stop trying to close the file. The action has not finished, and taking away the controlling document is likely to lead to bad things.
-
HT201365 How do I close my opened apps to save my battery?
How do I close my opened apps to save my battery?
Double tap the home button and swipe upwards on the preview of the App (not the App Icon).
http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf -
Close down apps to save memory
A friend said double click on start button I assume she means home button n then a minus comes up and click on that to shut down apps to save memory please help
While you could be correct, your guess is as good as anyone's who doesn't have direct knowledge of what's going on inside the box. If you get better results by shutting down certain apps, that's fine.
But for the crashes you're describing, I think it is better to do a complete restore (w/o backup) to get a fresh start -- I'm convinced that these crashes are due to corrupted data in the backup files, which is not necessarily a memory management issue by the OS. But in the interim, sure shut down the apps that seem to be problematic, but that's just a band-aid.
Maybe you are looking for
-
I told him "The information only goes in one direction: from your computer on to the external hard drive. Like water coming out of a faucet. It doesn't go back in." But that's not very technical. I need a technical answer to satisfy his worried mind!
-
Need to send a 403 (forbidden) message from proxy to client
I have create a List that contains URL's that I want to block from the user. Once I search that list and see that the requested URL is in the list, I need to send a 403(forbidden) message. Does anyone know if I can just send a "HTTP/1.0 403 Forbidden
-
Update a field based on a max select query
Hi I am just learning SQL so apologies if this is simple to you guys. I have a table called [Stock WIP Table] which has duplicates in it. I have an [autonumber] field, a [palletid] field, and a [number5] field. I have the select query working to sh
-
ABAP Sneakpreview - Java error
Hi, I un-installed all my previous installation & downloaded 2 ABAP Preview files (Part 1 &2) again. I got the following error while installing..THe below message i took it from log.txt. (Jan 30, 2007 10:14:00 PM), Install, com.sap.installshield.sdcs
-
Hi, I am able to connect to the database using sqlplus as follows sqlplus user/passwd@''(description=(address_list=(address=(protocol=TCP)(host=machine)(port=1521)))(connect_data=(sid=dbsid)(server=DEDICATED)))' But I am not able to load data using s