Help with a javascript - need the name of the document file name when exporting
When I run this script:
var myPresets = app.pdfExportPresets.everyItem () .name;
myPresets.unshift ("- select preset-");
var myWin = new window ("dialog", "PDF Export Presets'");
myWin.orientation = "row";
{with (myWin)}
myWin.sText = Add ("' statictext ', undefined, ' select PDF Export preset :');)
myWin.myPDFExport = add('dropdownlist',undefined,undefined,{items:myPresets});)
myWin.myPDFExport.selection = 10;
myWin.btnOK = Add ('button', undefined, "OK");
};
myWin.center ();
myWindow var = myWin.show ();
If (myWindow == true & & myWin.myPDFExport.selection.index! = 0) {}
var myPreset = app.pdfExportPresets.item (String (myWin.myPDFExport.selection));
myFile = lead (File.saveDialog ("save the file with preset:" + myPreset.name, "PDF files: *.pdf"));
If (myFile! = null) {}
app.activeDocument.exportFile (ExportFormat.PDF_TYPE, myFile, false, myPreset);
} else {}
Alert ("no file selected");
}
} else {}
Alert ("no predefined PDF selected");
}
I need to place the filname document automatically when the dialog box "Save as" appears:
Can someone help me?
Use this:
myPath = app.activeDocument.filePath + '/' + app.activeDocument.name.replace (/\.indd$/, '.pdf'); myFile = File(myPath).saveDlg("Save file with preset: " + myPreset.name,"PDF files: *.pdf");
Peter
Tags: InDesign
Similar Questions
-
Need help with Vista not recognizing the .sys file
Please help me! I am trying to load a driver USB 2wire on Vista and it does not recognize the .sys file. Can I convert this easily to .exe, or y at - it another way to achieve this... I am a novice at best here. Thank you!
Can you check it out here:
http://support.2Wire.com/?page=view&article=545
just to see that you found the driver for the right adapter. It turns out that there are two.
I won't be able to respond for a while.
-
Need help with pushview to see the multiple files
Does anyone know how to create a pushview or changeHandler function that would allow each item in a list when selected to switch to a different view?
Example is that if as a 1, 2, 3 on it by selecting 1 user to take to view1.mxml, by selecting 2 would send user to view2.mxml, etc. I don't want to send all the elements of list to the same view and just load different information.
Thank you!
I'll check out that thank you!
In the meantime, I got the answer - see here: http://stackoverflow.com/questions/8936115/how-to-create-multiple-events-in-a-single-list-au-flex
-
Is it possible to set the default file format when exporting?
It would be a great help.
N °
Mylenium
-
My Cookie file was corrupted in data and my programs continually pop up with the 'corrupt file' error when a program opens, pointing to \Users\name\Appdata\Roaming\Microsoft\Windows\Cookies.
The problem is, Chkdsk will not fix this, and I can't access the file. This opens up a world of problems when I need to fix this error, so I can upgrade to Windows 7. Help, please!
I just ran the scan again. He said of the errors found, but could not be repaired.
This problem actually has nothing to do with internet explorer. It's the cookies folder that is corrupt in the Windows folder in roaming. The error file is in conjunction with the programs, that I try to run (AIM, Skype, so forth). Trying to enter the folder it says it's corrupt. I don't know what is the root of the problems or how to solve this problem, but these measures have not helped so far. Regarding the repair, I will try that next.
http://Tinypic.com/view.php?pic=14mw4ly&s=4
Here is a picture. This is the error of the lower right
It's what the tool SFC to see system files corrupted and try to repair the system files.
SFC could not fix it.Looks like you will need to do this:
http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html
Read the info on the link above.
Good luck with it.
Let us know how you go with it.
See you soon.
Mick Murphy - Microsoft partner
-
screen saver does not - says he needs the following file: dsdx932.dll where I get it
screen saver does not - says he needs the following file: dsdx932.dll where I get it
Try the Direct X Installer Web -.
Download details: DirectX end-user performance
If the d3dx9_32.dll file is missing in fact the Web Installer will install a. If it is corrupt you then if you delete the file Sytem32 and SysWOW64 (with 64-bit Windows) Web Installer will install a new copy.
The Web Installer does not overwrite existing files.
When you do not get an error of direct x with a specific file name. You must use the
Direct X Redistrubitable June 2010 as it will overwrite existing files of DX.Download details - Microsoft Download Center - DirectX Redist (June 2010)
.
-
Waterfalls in charge of javascript in the qml file
Cascades does support javascript in the qml file? If Yes please let me know how to use js in qml file.
Something tells me that you could not start by checking all the introductory documents. :-)
https://developer.BlackBerry.com/Cascades/documentation/dev/index.html should help you get started, especially the section he titled "JavaScript in QML.
-
Hello, I got adobe photoshop elements 12 key, but I need the installation file, how can download this, I can only find items 14 download
Available downloadable Setup files:
- Suites and programs: CC 2015 | CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
- Acrobat: DC, XI, X | Suite X | 9,8 | 9 standard | 8 standard
- Captivate: 9 | 8 | 7 | 6 | 5.5, 5 | 1
- Cold Fusion: 11: 10 | 9.0.2 version 9.0.0, 9.0.1, 8.0.1, 8.0.0, 7.0, 6.1, 6.0, 5.0, 4.0
- Contribute: CS5 | CS4, CS3 | 3,2
- FrameMaker: 12, 11, 10, 9, 8, 7.2
- Lightroom: 6.4| 6| 5.7.1| 5 | 4 | 3
- Photoshop Elements: 14,13,12,11,10 | 9,8,7 win | 8 mac | 7 mac
- Premiere Elements: 14,13,12,11,10| 9, 8, 7 win | 8 mac | 7 mac
Download and installation help links Adobe
Help download and installation to Prodesigntools links can be found on the most linked pages. They are essential; especially steps 1, 2 and 3. If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".
-
Please help I can't open the pdf files of cic.gc.ca
Please help I can't open the pdf files of cic.gc.ca
Chrome does not support protected files and forms. you need to open them in Adobe reader.
Mylenium
-
I need the entire file of version 28 not heel.
I am an IT professional who uses Firefox. I recently saw the update to version 28. I noticed in some versions you had the 'heel '. I need the entire file that I load most of the machines from a USB key.
You can find the full version of the current version of Firefox 28.0 in all languages and for all systems operating here:
-
Beginner with problems to open the RAW files.
I am new to the use of RAW files. I started by following the instructions to download and install the new plugin RAW for my version of photoshop CS2. When I open CS2 and choose the bridge, I see the thumbnail of the NEF file, but when I right click to open, there is no option for me to open as RAW file. If I double left click to open, it tells me that it can't open because it's the wrong type of file.
Photoshop CS2 9.0 worm
Raw plugin Ver 3.7
Nikon D5000 camera
Hi Jonah1972,
You can also use the 7.2 dng converter to convert the files D5000 dng copies which should then open in bridge or cs2.
Windows:
http://www.Adobe.com/support/downloads/detail.jsp?ftpID=5486
Mac:
http://www.Adobe.com/support/downloads/detail.jsp?ftpID=5485
-
Export of collections to the external file allows only export as a jpeg image and not the original file types?
Why is this?
DOOH-just found out why. the video bar was enabled prevail so on options-now them it works thank you for your answers.
George
-
You have a PDF to hold on the viewer screen automatically when exporting to InDesign CS4?
You have a PDF to hold on the viewer screen automatically when exporting to InDesign CS4?
If you were to upgrade to InDesign CS5 or CS5.5 and if you exported as Adobe PDF (interactive), you can set the parameters for the layout display and Zoom.
So that, as Jongware, its possible for individual users override this option (preferences > Page Display > default layout and Zoom) the number that will actually do that is actually very small.
-
Hello, I need help with my photoshop, the majority of my family rececently disappeared options fusion and I can't access strokes and other options ive tried to reset the settings of preference and he seems to come back but when I add an image and you try to add text again, they'll only options I have are drop shadow , gradient, Chromakey, shine of satin overlay, inner (I use photoshop cc 2015) Please help, my Skype contact options are: RoblivionM8 and email:[email protected]
Thanks for your time
Your first screenshot shows the layer style dialog where not all types of effects are indicated on the left. Bottom left of the dialog box, you see a small icon fx with a menu arrow drop-down. Use drop down the menu and make sure all you click on show all effects or restore the default list. I don't know what you're trying the shoe on the second screen capture.
-
Need help with using pse4 not taken in charge by adobe. How subjects do not available and I have never used something like that. Aide said there is a download but have not been able to do. What is a rookie to do? Y at - it somewhere that I can go to learn how to use PSE4?
To find out how your problem:
http://kb2.Adobe.com/CPS/402/kb402107.html
To get help from the CD files you double-click in the finder, go to PDF help and drag it to the desktop or elsewhere.
Maybe you are looking for
-
Windows keep minimizing and reopening
I have an HP runing p2-1394 Windows 8.1 My windows mininize and reopen all few seconds, the cursor blinks constantly. In fact, it is not the slider, is the blue circle behind the cursor blinking. Can someone help me?
-
iTunes will not find any information for the CD already in the library when reuploading of lossless
I'm downloading all my CDs to iTunes in the form of files without loss. All of them are currently in my library as mp3s. Why iTunes can't recognize and fill in all the information for me, I have more than 2000 download, many of them are collections o
-
Satellite C650 - Ripping from cd to hard drive is not possible
Hope someone can help with my problem of not being able to extract more than 16 tracks from the cd to my satellite C650 laptop hard drive.I tried windows media player, media library and dbpoweramp cd ripper. There is no problem with ripping of CD wit
-
Problems with my windows xp pro windows setup program!
I don't speak it at all so this is. I have windows XP Pro and Iam trying to upgrade my fedex ship manager with a new version, but after I downloaded the software update of fedex.com windows error message install stands up and says EXACTLY this: the w
-
Upgrade to Win7 64-bit operating system. The printer is successfully installed. Cannot find the interface software. On Vista, I had an icon on my desktop that allowed me to Setup scans, etc. Is that a another download and install the software & print