Where is a Photoshop created script stored? - photoshop

I am using Photoshop CS5 on the Mac.
I created a script using the record button while I was doing various actions and I would like to edit that script.
I can't find where Photoshop put the script file on my disk.
Any clue ?

Photoshop Scripts are programmed in a scripting langue like Applescript. You are your actually asking about a Photoshop Action you recorded using the Actions Palette? Unless you saved the action set you recorded the action in. The only place that action is stored in is in your Photoshop Preferences folder in the file "Actions Palette". The Actions Palette is a full fledged Action editor. You can edit the actions loaded in the action palette. You should also remember to save the actions sete you edit actions in or record new actions into. If you do not save then you will loose them if you reset your Photoshop preferences.

Related

PDF - Open Bookmarks Panel when pdf opens

When I open a certain pdf file on SharePoint, I wish to see the Bookmarks Navigation tab open by default. I can do this manually by File > Properties > initial View and changing the Navigation tab to "Bookmarks Panel and Page".
I need to do this with hundreds of pdf files and then upload them to SharePoint.
I am using VBA. I don't mind using other forms of automation.
Currently, I have AVDoc (CAcroAVDoc) and can open the Bookmarks Pane but it's not changed in the settings.
AVDoc.SetViewMode 3
I tried PDDoc.SetInfo etc but nothings changing the "settings".
Any suggestion will be appreciated.
I am running a lot of code in Excel VBA, that does a lot of pdf manipulation. The only thing that remains is to change the settings.
With Acrobat as the runtime, there is no scriptable interface to the initial view settings. However, you can easily use any of several .NET PDF libraries to make this change. A Google search for ".NET PDF Library" will yield both free and commercial varieties. You'll need to research which one is best for your task and skill set.

How to batch add logos to different images

i have almost 5k different logos and also have 5k different images, i want to add them up, is there any tool or way to do this.
I have seen tool which add one logo to all images, but it don't work with my scenario, i need a tool or way which allow me to multiple logos to add on multiple files, for example
image 1 + logo1.jpg= image and logo1.jpg
image 2 + logo2.jpg= image and logo2.jpg
and soo one.
is there way to do this work quickly instead of editing every pic manually
You could achieve this by creating actions and then using batch actions on folders containing the files. If you sort all the images you want to have logo1 into their own folder, you can use a batch action to add the logo to every image in the folder and then save the new image as a jpg in a different folder.
Here is a short youtube video explaining batch actions, and here is a much longer, more detailed video that's officially from Adobe. If you don't like videos, this page explains the process with graphics.
In short, here's what I would do:
Sort all the images you want to have logo 1 into a folder.
Open logo 1.
Select all and copy the logo.
With your logo still on the clipboard, open the first image.
Go to Windows --> Actions
Hit the little paper peeling icon to create a new action
Hit the record button to record your action and name it something you can remember later.
Paste your logo, and place it where you want it.
Go to Layers -> Flatten Image
Stop recording (or you might record how you save, but this doesn't always work. If you do save, don't save over your original, rename it!)
Go to File -> Automate -> Batch, and choose the action you just saved, and select the folder you want to save the new logo-ified images into.
Carefully set all the save options
Click Run!
If you get prompted to choose color options on every save, you might want to redo the action so it includes (or does not include) "save as" options.
This is the short version of the answer. I'm sure there are ways to script it, too, but this may be easier if you're not familiar with scripting.

Making a button in indesign go to a specific page in exported PDF

In InDesign I can define buttons and can add different actions to them. One of these actions is "go to page", but apparently that function is only usable when exporting the InDesign document as an SWF. However, we want to export an interactive PDF.
When we open the exported PDF in Adobe Acrobat Professional we can touch up each and every button in the document and set the page to the page we want, but this is of course extremely tedious work, especially when you have several proving runs.
So, my question is: how do I get my buttons in InDesign to jump to a specific page without having to do the touch up late in Adobe Acrobat Professional? Surely it must be possible to navigate between pages?!
I stumbled on this issue a while back too, and i figured out how to link to a place in an interactive PDF document via Buttons:
1) Create Bookmarks on the pages you want to link to. (I usually make a text in the top of the page in 'paper color' and create a bookmark from that)
2) Button action "Go to destination" -> Bookmark
Hope this helps...
Make a box in inDesign.
Select the box.
Open Hyperlink panel
"Create a hyperlink destination" I use the page number
Then go to the page in your inDesign document where you want to make the button.
Make a box and select it
Open hyperlinkpanel "Make hyperlink" and choose the destination you made using the pulldown (not the page number counter, that didn't work for me).
interactiv->Hyperlink and You choose "New Hyperlink destination" from menu in top-right dropdown menu. And choose page.
I tried sometime but now i know the deal (on CS5 on Windows). I only have the German version so maybe i´ll label some things wrong:
When you create your button and determine the "action" you´ll get a list with available options. Here the upper options work in PDF and SWF, but some options are available "only in swf" and "only in pdf.
"Go to a certain page" is not available in PDF :(
So you have to edit the document via Acrobat.
Another thing: When writing an interactive pdf-file use the option "Export..." under "File", here you chose "Adobe PDF (Interactive)" under filetype.
Maybe (as a thought) there is a way to use Javascript in InDesign and/or Acrobat to assign the buttons automatically.

How to show PSDs online without letting others download it?

I have around 20 PSDs which I need to show to a few programmers. Is it possible to upload them somewhere where they can view them but not download?
Or only option is to convert all of them to JPGs one by one?
Thanks
You can use google docs to view .psd online. Upload it to docs.google.com, select the file to view, then before sharing click "File" and toggle "Prevent viewers from downloading"
Use Photoshop actions to batch convert many psd's to jpgs and upload the jpg's. If you fear that they can misuse jpg's too, add a watermark over your jpg images.
Pipeline to do this could be:
Window -> Actions
Open your PSD file
click, in Actions window, on the button in lower right corner "create new action"
Name your action
Click Record
Your actions are now being recorded.
Layer->Flatten image (take care now - not to accidentaly save your PSD as flattened!)
If it is an cmyk, convert it to rgb,if it has bleed, crop off the bleed part
Resize your image if needed image -> image resize
File -> save as...JPG
Close image
Stop recording action.
Now you can run that action on whole folder where your PSD-s resides:
File -> automate -> Batch
Choose your action, and chose your folder.
Choose your source folder... twaeak a little... and magic will start to happen!

iTextSharp + How to invoke the form button field click event programmatically though vb.net

I've have a editable pdf with button fields in it. I'm processing this editable pdf in my vb.net application using iTextsharp. I want to know, how to programmatically invoke the button field inside the pdf. Though, I'm using iTextSharp dll, I could not find any helpful resource to invoke and handle the button events. Please guide me how to invoke the button events of pdf, programmatically using vb.net.
iText[Sharp] doesn't execute the Javascript within a PDF. It can add/remove/change the scripts present, but won't run them.
For that you need a PDF viewer from Adobe, Appligent, or Foxit (alphabetical order, though Adobe's will be the best at running script, it also puts security restraints on what you can or cannot do).