Save the file with different settings
So I that I continue to have to apply the same steps for PDF files. I'm not really terrible with programming. I wrote 2 tools using the trustedSave MenuItem. I have 2 different tools created. I commented in the steps, I'm not sure whether or not are possible. I have the book in the api, but still, I'm not a programmer... I fall through the best that I can
// TO SAVE WEB FILE app.addMenuItem({ cName: "trustedSave", cUser: "Save SIS File", cParent: "Tools", cExec: "saveSisFile();", nPos: 0 }); function saveSisFile() { app.beginPriv(); { // EMBED ALL PAGE THUMBNAILS // USING SMALLEST FILE SIZE FROM PDF OPTIMIZER this.saveAs("~/Desktop/" + this.documentFileName.substring(0, 11) + '_SIS.pdf'); } app.endPriv(); } // TO SAVE TILED FILE app.addMenuItem({ cName: "trustedSave", cUser: "Save P File", cParent: "Tools", cExec: "savePFile();", nPos: 0 }); function savePFile() { app.beginPriv(); { // EMBED ALL PAGE THUMBNAILS // DELETE PAGE 1 // PRINT - TILE LARGE PAGES - WITH 0.5" Overlap this.saveAs("~/Desktop/" + this.documentFileName.substring(0, 11) + '_P.pdf'); } app.endPriv(); }
Acrobat 8 Pro, Windows 7 64 bit machine
Maybe when you use for this batch sequences.
Tags: Acrobat
Similar Questions
-
Save the file with the annotation and highlighting
Hello world
I used to save the file with the annotation and emphasize locally.
With the new update: Version 2015.009.20079, I'm not able to do as much as Adobe does not have the location of the local file.
Why is it like that? Is there a setting that is required to restore the previous behavior of the program?
Concerning
Mohammed
Hi Mohammed,.
In this case you may need to check the configuration of this application settings or set Acrobat Reader preferences.
Thank you
Abhishek
-
Save the file with the same name
How to change the script to save the file with the same name?
//SaveforWebSP.jsx //Save a fixed width image with a size constraint in its original folder var docRef = activeDocument; var outputFolder = docRef.path; NamesaveRef = new File( outputFolder + "/reference.jpg" ); var NewfileRef = new File( NamesaveRef ) // quality/size constraints var w = 1920; // new file width var MaxSz = 361440; // max. 360Kb var Qlt = 100; // initial quality 100 var x = 1; // decreasing step // resize the image to the right width docRef.resizeImage(UnitValue(w,"px"),null,100,ResampleMethod.BICUBICSHARPER); // Perform the first SaveForWeb Operation ExpWeb(NewfileRef, Qlt); // Keep trying to save the file with max. Qlt, but under MaxSz while (NewfileRef.length > MaxSz) { Qlt = Qlt - x; NewfileRef = new File( NewfileRef ); NewfileRef.remove(); ExpWeb(NewfileRef, Qlt); // Perform a new SaveForWeb Operation, with slightly lower Qlt if (Qlt <= 40) { alert("The file can't be saved with the desired size AND quality."); break // break the loop whenever the quality is as low as 50 (this shouldn't need to happen) } } var FileSz = NewfileRef.length/1024; FileSz = Math.round(FileSz); // close the original file without saving activeDocument.close(SaveOptions.DONOTSAVECHANGES); // SaveForWeb Export, with the desired constraints and parameters function ExpWeb(FileNm, Qlt) { var options = new ExportOptionsSaveForWeb(); options.quality = Qlt; // Start with highest quality (biggest file). options.format = SaveDocumentType.JPEG; // Save Format for the file docRef.exportDocument(File(FileNm), ExportType.SAVEFORWEB, options); }
Change of line 25 to:
var docName = docRef.name.split('.')[0]; NamesaveRef = new File( outputFolder + "/"+docName +".jpg");
-
Save the file with the new name (no rename)
Is it away when open the file and after changing to save under a new name in order to have the original and edited files in my documents?
Hi plammca,
I regret that there is no option to save a file with a different name after the change. However, there is a workaround that you can try.
- Select the file you need to make changes.
- Create a duplicate file and then rename it.
- Now, you can make changes to in the file duplicate.
Let us know if that helps.
Kind regards
Meenakshi
-
XFA form with button to save the file with unique file name
Is it possible to save a file with a unique file name by using the data that a user has entered (name, e.g.) that fires when the user clicks a button print? Attached is a file reference.
Hello
Yes it works here using your latest form and the modified .js:
You have created the folder 'HSSSave '?
Also, make sure the .js file is in the correct application folder and restart Acrobat:
Hope get you it working (and when you do you can include a timestamp or timestamp in the name of file; as the script automatically replaces an existing file with the name of TEA).
N.
-
Save the file with script ("modified outside the Illustrator" skip warning)
Hi all
We are all familiar with this command:
app.activeDocument.save();
saves the document jump all the dialog boxes and even alert which is jumping every time manually save you your file on a server:
My problem is that I work with PDFs (with preserved Illustrator editing capabilities) almost all the time instead of .ai files and whenever I use
app.activeDocument.save();
The .ai file is created.
My question is if it is possible to save the PDF file that you are working on even as you would manually 'save' in the context menu, omitting this boring dialogue on updated the file?
Concerning
Peter
Hi Carlos,
Near!
I managed to do it with:
app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS; app.executeMenuCommand ('save'); app.userInteractionLevel = UserInteractionLevel.DISPLAYALERTS;
Thanks again!
-
Save the file with the data from field and add more information
I'm looking to create a button that will be a button Save and add the data in a field to it when I save it. So it would be a click event in javascript and inside of the "saveFile" information adds TextField1 and "text that I make up" which would create the name of the saved file.
Hello
Not sure if you have this sorting.
But this could be done by using the function of trust
create your form as usual
then create a further subform and getting in to a record in the box (just add a textfield and little text and a button)
have the save button on the form simply call the saveas subform
SaveAs.Presence = "visible";
then the button in the subform saveas have the following (under the click in javascript event)
SaveAs.Presence = 'hidden ';
event.target.saveasFunc ();
to get this feature work, you must create a Notepad with the following code .js file
saveasFunc = app.trustedFunction (function () {}
app.beginPriv ();var text1 = event.target.xfa.resolveNode (".saveform form1 [0] [0].") ("TextField1 [0]") .rawValue;
Text2 = event.target.xfa.resolveNode var ("form1 .saveform [0] [0] .saveas [0].") ("TextField2 [0]") .rawValue;try {}
event.target.saveAs ("/ c/forms /" + text1 + "" + Text2 + ".pdf" ");
} catch (err) {}
App.Alert ("Error:" + err);
}
app.endPriv ();
});Obvisously properly the objectives and the backup directory
then save this file as name then place you like .js for example (saveas.js) this file in the c:\program files\adobe\acrobat\javascripts or similar, but with the player if you use adobe reader software.
If you intend to use this file in the drive then you will need to activate features extended drive on the file using Adobe Acrobat.
OK above is only available where you can load the .js file in the correct directory.
I use it by creating a simple installation file that has placed the .js file in the right directory and Ontario form right end users computer.
It may or may not work for you.
If I can help others let me know.
-
I filled out all the fields with the data but could not save the file with the data.
Please help because I do not restart and repopulate the data. I found that if I go in advance, then extend the functionality of Adobe Reader, I can fill in the form again and save and print it. But that's before I fill the data, now that I filled until I put it to extend the functionality, is there a way to save and print?
Thank you.
Hello.
You cannot extend the reader a PDF with Adobe Reader form, it requires Acrobat Pro.
Adobe Reader X and older versions cannot save a completed form is not extended to PDF, but it can be printed * in all cases.
XI of Adobe Reader and Acrobat Reader DC can save and print * a PDF form completed, extended or not.
Acrobat Pro or Standard (all versions) can save and print * a PDF form completed, extended or not.
* Assuming no restriction file printing
-
do action of photoshop which saves the file with the specific file name
Is there a way to make a photoshop action that makes a SaveForWeb, but adds text in the name of the original file when recording?
By example, if I open a file called "guard page", and I want the action of making SaveForWeb in JPEG format, can I save as "coverPageWEBVERSION"?
Thank you for your time and help
No it's something, for that you will need for scripting.
They really should introduced some changes to the dialog box Save that allows additions or of the changes can be triggered again in the actions of file naming. But they never have.
As a solution, bridge is a good tool to rename, because there is naming can be SAVED and quickly applied to groups of files. Done - on a mac it is not often known are also the scripts OS can do the same thing. There is a script called "rename the items' hidden somewhere. It is accessible through the control or right-click on a group of files and going through the submenu "automate".
-
Save the file automatically in a default folder
Hello
I have a problem with the selection of a default directory to save the file (write on the worksheet). I want WriteToSpreadsheet automatically as a NEW FILE without inviting the user to click on the Ok button every time on "save file as" dialog box.
Please find the attached photo to find the code.
Analogy: I just want the program automatically save the file with a new file name each loop without pop up a dialog to the user to confirm the action.
Thank you!
Aerts
Well, you already have the constant where he must go by default data. You can just use it.
Another option would be to create a Subvi to only call the file dialog box when the first call and record the path of the folder in feedback. Then the selected folder has only one in need first.
Probably the best option would be to have the user to select the folder where the program for the first time and this way through the while loop.
-
Why I get two files with different names but the same image when I save in 2015 CC Photoshop?
Why I get two files with different names but the same image when I save in 2015 CC Photoshop?
Try resetting the PS preferences - Preferences in Photoshop
~ Rohit
-
Under Options in Firefox, I clicked on save the files under downloads, but the file name twice and an additional file with the same name is created in the folder, i.e.:
G:\Akbar's Songs\HAMARA DOWNLOADS\HAMARA FORUMS DOWNLOADS FORUMS
As you can see the file repeats, how can I fix it?
Also the music files, I download from a site of downloads as a WinRar file and I need to open it. Y at - it an option where the file opens automatically in the folder I chose?
Thanks a lot for your help.
Hi Akush, when you install 7 - zip, make itself the default application to open .zip and .rar files. So if you double click on the .rar file, it should open in 7 - zip. If you prefer to decompress immediately, right click the file and look for new 7 - zip items in the menu. I can't think of a way to do this automatically, however.
-
Before the update, when I clicked on the link to download pop up window came asking me if I want to open the file with the program or just record, but after update I get not this pop-up window, instead I get the window asking where to save, how do I solve this problem, because I want to be opened with a program as if it were before the update of sertain files? I tried all of the solutions that I found, and nothing helps. I use Firefox on win7 ultimate x64bit 16.0.2
Hello, Owner, have you tried to change what Firefox does not work when you click on or download a file
Thank you
-
Windows media player does not automatically open a video file on a Web site but I save it and open the file with Windows media player to play the video or audio recording. I used to be able to play any video or audio file in any site!
Hello
Try resetting the default associations for WMP and IE.
How to set default Associations for a program under Vista
http://www.Vistax64.com/tutorials/83196-default-programs-program-default-associations.html
How to associate a file Type of Extension to a program under Vista
http://www.Vistax64.com/tutorials/69758-default-programs.htmlIf necessary:
How Unassociate a Type of Extension file in Vista - and a utility to help
http://www.Vistax64.com/tutorials/91920-unassociate-file-extention-type.html
Restore the Type Associations by default Vista file extensions
http://www.Vistax64.com/tutorials/233243-default-file-type-associations-restore.html
How to view and change an Extension of filename on Vista
http://www.Vistax64.com/tutorials/103171-file-name-extension.html====================================
Also follow these steps:
Follow these steps to remove corruption and missing/damaged file system repair or replacement.
Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup
Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN
sfc/scannow
How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
generates in Windows Vista cbs.log
http://support.Microsoft.com/kb/928228Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.
How to run the check disk at startup in Vista
http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html------------------------------------------------------------
Then, if necessary:
Have you recently installed another player?
Reset your associations for WMP and IE.
How to set default Associations for a program under Vista
http://www.Vistax64.com/tutorials/83196-default-programs-program-default-associations.html
How to associate a file Type of Extension to a program under Vista
http://www.Vistax64.com/tutorials/69758-default-programs.html---------------------------------------------
Do this to reregister the Jscript.dll and Vbscript.dll files.
Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN
type or copy and paste-> regsvr32 jscript.dll
Press entertype or copy and paste-> regsvr32 vbscript.dll
Press enterRestart and if all goes well, it will run now.
--------------------------------------------------------------
Have you recently added stores or ANY application from Stardock?
Using 64-bit Vista?
Can you think of recent things you did in WMP which could be the cause? You added another
reader recently or an add-on for WMP?When I try to use Windows Media Player 11, the program does not start, or some UI elements
are empty - a Mr Fixit
http://support.Microsoft.com/kb/925704/en-usMaybe something here
http://msmvps.com/blogs/chrisl/articles/17315.aspx
and here
http://msmvps.com/blogs/chrisl/Archive/2004/10/30/17399.aspxCheck here the news of WMP11
http://zachd.com/PSS/PSS.htmlI hope this helps.
I hope this helps.
Rob - bicycle - Mark Twain said it is good.
-
I need to save files much but don't have time to write the file name and detailed inform instead. When I want to save the file, windows 7 displays the window requires the file name and type. But I need another box that I can describe the detailed information associated file name. This will generate the text file that detailed information with the name of the file.
Is there a s/w or windows 7 can do that?
It is not possible to save a file without a name. You must specify a name for the file. In addition, you can add additional information in the comments of the file area. You can open the section "Comments" by going to the properties of the file and go to the Details tab.
Maybe you are looking for
-
Satellite Pro P100: What is the part number for Toshiba for a 2 GB memory module
Unable to find any sort of emailing this issue so I posted on the forum. Of course this info should be more easily accessible without having to ask. What is the number of part of Toshiba for a 2 GB for a PSPA4E-00F007 memory module. It's a satellite
-
Installation of the SDK Service push BB 1.1.0 - 16 fails
I try to install BB push Service SDK 1.1.0-1, but the installation program always stops at the initial screen after extraction. Running Windows 7 on VMware Fusion Java JDK 6 is installed Set JAVA_HOME and JAVA_HOME/bin is added to the path The instal
-
Windows 7 DMP files included BSOD Please Help!
For last 1-2 weeks have BSOD on my pc. I reinstalled Windows 7 Home Premium several times. A few days after each re - install Win 7 I start receving BSOD. I formatted my disk, partitions, etc. I just need to solve these BSOD. I've included below DMP
-
I'm not able to find my driver for Bluetooth for BCM20702A0 my laptop HP model is g6 1321se kindly give me some specific link where I can download this driver.
-
using win 7 pro sp1 going to reinstall on the same machine