Newb - can photoshop scripts do this ...?
Let's say I have a newsletter that goes out once every four months.
On the bottom of each newsletter I want to put a "personal message", for example, "Dear Dave, How are you doing. Hope you like our latest newsletter. Thanks, ..."
There are about twenty people. Dear Dave, Dear George, Dear Lucy, etc.
So basically I want photoshop to open the newsletter and paste the appropriate text at a certain position near the bottom. Then send it to the printer or save it out as a pdf.
Is it possible?
(I am using CS4)
Basically I see no terrible problems with the task; Printing might be an issue depending on the platform, but the pdf creation should not be too hard.
Check out »Creating data-driven graphics« in the Help.
Similar Messages
-
Newbie, can some1 help explain this error
Customer.java [36:1] cannot resolve symbol
symbol : method showMessageDialog (java.lang.String)
location: class javax.swing.JOptionPane
JOptionPane.showMessageDialog( "Credit limit exceeded" );
^
Customer.java [38:1] cannot resolve symbol
symbol : method showMessageDialog (java.lang.String,int)
location: class javax.swing.JOptionPane
JOptionPane.showMessageDialog( "The new balcance is " + newBalance, JOptionPane.INFORMATION_MESSAGE );
^
2 errors
Errors compiling main.
herez the code
// To determine if a customer has exceeded the limit on a charged account.
// Java extension packages
import javax.swing.JOptionPane;
public class Customer {
// Main method begins execution of java application
public static void main( String args[] )
// Initializing variables in declarations
int balance , newBalance, charges, totalItems, totalCharged, credits;
String input;
input = JOptionPane.showInputDialog( "Enter Credit Limit" );
credits = Integer.parseInt ( input );
input = JOptionPane.showInputDialog( "Enter Balance" );
balance = Integer.parseInt (input );
input = JOptionPane.showInputDialog( "Enter charges" );
charges = Integer.parseInt (input );
// Calculate balance
newBalance = balance + charges - credits;
// Calculate total items
totalItems = totalItems + 1;
// Calculate total charged to account
totalCharged = totalCharged + charges;
if ( newBalance < credits )
JOptionPane.showMessageDialog( "Credit limit exceeded" );
JOptionPane.showMessageDialog( "The new balcance is " + newBalance, JOptionPane.INFORMATION_MESSAGE );
System.exit ( 0 );
}Take a look at the API:
static void showMessageDialog(Component parentComponent, Object message)
static void showMessageDialog(Component parentComponent, Object message, String title, int messageType)
These two are the only two signatures cloest to yours. Notice you only passed in the message, you did not put in the component or the title.
You can try:
JOptionPane.showMessageDialog(null, "Credit limit exceeded" );
JOptionPane.showMessageDialog(null, "The new balcance is " + newBalance, "Balance", JOptionPane.INFORMATION_MESSAGE ); -
Can a script be written to improve the import process?
Hello everyone -
One of our managers would like to create topics by importing text from Word. That is simple enough, but she would like to add a 'mapping' function to the import process that would create the topics in the appropriate folder.
For example, the RH table of contents is structured by category (4), state(50) and line of business(15). The Word file is structured as a table, and in that table are columns for category, state and line of business, along with additional text (such as description, etc).
During the import process, she would like to map the Word file by category, state and line of business. Using that mapping, import each line of the table and create a topic in the appropriate category, state and line of business.
Is it possible to write a script to accomplish this task? Or, is this just too complicated an operation?Photoshop Scripting-wise this seems fairly "easy".
But I would recommend creating a template file (that already combines background image, png overlay and the Type Layers).
Maybe data driven graphics would also be an option …
Photoshop Help | Creating data-driven graphics -
Hi,
Please help me for this.
I need to create XML file for mentioned below. when i run the photoshop script i need deatails for active document name, date, time and status.
<?xml version="1.0" encoding="UTF-8"?>
<sample>
<filename>Cradboard_Boxes_Small.tif</filename>
<date>today date</date>
<starttime>now</starttime>
<status>delivered</status>
</sample>
<sample>
<filename>Cardboard_Boxes_Student_Vaue_Pack.jpg</filename>
<date>today date</date>
<starttime>now</starttime>
<status>delivered</status>
</sample>
I need read that xml after creating and modify based on file name. i need to modify status after file finished.
if the file name is already exist i want to modify or delete or add whatever i need.
Kindly help me simple wayYou may want to look into getting Xtools ps-scripts - Browse Files at SourceForge.net then. Most of the support is for ActionManager script code where XML code is use as an intermediate step. There are quite a few Photoshop script in XTools . Ross Huitt is an expert javascript programmer though is is fed up with Adobe's lack of support for Photoshop scripting particularly the bugs in ScriptUI he is still maintaining tool he has created for us free of charge. Tools like Image Processor Pro. None of his scripts are save as binary so you can read all of his code there is a wealth of knowledge in there....
Also there is a scripting forum Photoshop Scripting -
Newbies can script! Script to connect to the internet with WPA.
Assuming you have wpa_supplicant set up:
#!/bin/bash
# A simple script to ease your life.
echo First, please type in the name of your wireless adapter "(normally wlan0)".
read INTERFACE
echo Please enter what DHCP client you want to use "(dhcpcd or dhclient)"
echo Not sure? Type dhcpcd.
read CLIENT
echo Putting $INTERFACE up.
sleep 1s
echo "</--------->"
sleep 1s
ip link set $INTERFACE up
echo "<//-------->"
sleep 2s
echo "<///------->"
sleep 1s
echo Getting access via WPA.
sleep 1s
echo "<////------>"
wpa_supplicant -B -Dwext -i $INTERFACE -c /etc/wpa_supplicant.conf
echo "</////----->"
sleep 2s
echo "<//////---->"
sleep 1s
echo Obtaining a address.
if [[ "$CLIENT" == "dhcpcd" ]]
then
dhcpcd $INTERFACE
else
dhclient $INTERFACE
fi
sleep 1s
echo "<///////--->"
sleep 1s
sleep 2s
echo "<////////-->"
sleep 1s
echo "</////////->"
sleep 2s
echo "<//////////>"
ifconfig $INTERFACE
sleep 1s
echo If the ping works, this means the connection is succesful!
ping -c 5 www.google.com
sleep 1s
I know there is room for improvement, but I think that's pretty good for a user that used Arch ONE week and never scripted before.
No, I didn't copy this script from other sites.
So, what can I script next?
Last edited by VOT Productions (2011-10-22 11:33:06)WPA Internet CONNECT! 1.1
It has now a ping feature after it's done, IP info, and it takes less time!
See what I meant by newbie?
By the way, it still does time a bit of time. The reason is because I want these extra few seconds for it to connect. Sometimes you might get an IP and not connect instantly.
Last edited by VOT Productions (2011-10-22 11:32:49) -
Can i invoke Photoshop Scripting in web page?
Can i invoke Photoshop Scripting in web page?
hmmm...
On the page in admin,we should have a button to export the item to Photoshop. A PSD of the entire should be assembled from the elements of the XML. This means that the text leading and tracking will need to be translated from server settings to Photoshop settings. Font sizes should also match. -
Any way that the play button can be scripted in Photoshop?
I can't for the love of me figure out if there is a way to script the play button to a JavaScript file in Photoshop without personally setting it to the "Space button". Does anyone know of the way to script this to a JavaScript file for an extension.
p.s. I can get script-listener to create this event. I have tried.I'm sorry, I'm not speaking about the "action" play button, I mean is there a way to script the play button on the "Video Timeline". Actions and scriptlistener does not display this option.
-
I get "an error has occurred in the script on this page" it comes up for no reason on Firefox and I can't remove the message, it then goes away on it's own after 3 minutes? how do I prevent this message coming up? I have Windows 7.
I can work the screen behind the message which stays in the centre of my screen.Windows version is...?
What pages are giving you problems? [post links to same]
Are you getting the script errors only when attempting to print or...?
Has your printer's manufacturer confirmed that your currently installed printer software is IE11-compatible (yet)?
~Robear Dyer (PA Bear) MS MVP-Windows Client since 2002 Disclaimer: MS MVPs neither represent nor work for Microsoft -
The exact and full message is:
A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
Script: https://fbstatic-a.akamaihd.net/rsrc.php/v2/yk/r/w50KHoJTfoZ.js:26
so, I have read the many other threads on this problem:
1. I just installed firefox for the first time - this happens on facebook and many other sites
2. I have reset firefox - did not fix the problem
3. I have checked all my extensions and plug ins for up to date
4. I turned off hardware acceleration
5. I tried disabling all my plug ins
6. I used to use firefox, but it started doing this and I was never able to resolve this and went to chrome.
I am using Win 7. No problem, ofr the most part, using IE or Chrome, I just wanted to try firefox again. Does it not work with win 7?You can try to clear the Flash local storage and settings if the problem is with the Flash plugin.
*Windows Control Panel > Flash Player > Storage: Local Storage Settings
**Remove a specific domain: Local Storage Settings by site
**Remove all domains: Delete All and Delete Data
Flash Website Storage Settings panel:
*http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html
Global Storage Settings Panel:
*http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager03.html -
can not update photoshop keep getting this error
Adobe Bridge CS5 4.0.5 Update There was an error downloading this update. Please quit and try again later.
Adobe Extension Manager CS5 5.0 Update There was an error downloading this update. Please quit and try again later.
Photoshop 12.0.4 update for Photoshop CS5 There was an error downloading this update. Please quit and try again later.
Photoshop Camera Raw 6.7 Update There was an error downloading this update. Please quit and try again later.
contacted customer service they could not help me I have previously had Photoshop on two other computers I deactivated it from one computer to put on a new one put. Can not do the updates I need them for camera Raw.
Please HelpWhat operating system are you using?
You can try searching for, downloading the updates yourself and running the installers:
Product updates -
We have several licences of Adobe Photoshop Elements V9 can we use the same licence key for latest version or what version can we install is this key???
We are Gouvernment and we use Windows 7 64 bits edition with office 2010.
Thanks.Hi Denis, if you have license of Photosho Elements V9 then you can only install V9, please check the download link: Download Photoshop Elements products | 9, 8, 7. Please also check System requirements | Adobe Photoshop Elements
Atul_Saini -
I have a license for CS6 on my MacBook Pro. I want to purchase an iMAC and be able to do my heavy duty Photoshop processing on this new iMAC when I am at home I need to keep CS6 on my MacBook Pro and use it when I travel. How can I have copies of CS6 on both machines. I am the only user of this software.
You can install and activate CS6 on both machines perfectly legally.
-
I cannot download updates to Photoshop Elements 9. I get an error message that my serial number is not recognized or eligible. Can you help with this?
Hi,
Which operating system are you running on?
What updates are you trying to download?
The last update was 9.0.3 - check by loading the editor and going to Help -> About Photoshop Elements
The last supported Camera raw is ACR 6.5 - check by loading the editor and going to Help -> About Plug-ins -> Camera Raw
Do you have a reason to update?
Brian -
I get this pop up screen continuously on my screen. Ever since I switched to Firefox, I was using Safari. The only other Apps open are my Mac Mail and Finder.
A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. Script: http://static.ak.fbcdn.net/rsrc.php/v1/yY/r/BaybJiEemV4.js:13
Each time I am asked to either Stop Script or Continue.Looks like a script on the Facebook page.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode -
I currently have a MackBook with Photoshop CS6 installed. This came with the laptop when I bought it on eBay, therefore, I don't have the serial number for the software. Can I still transfer the Photoshop CS6 from this laptop onto a new one?
Thanks
JackNo.
Whoever sold you the laptop should have removed the software first, or gone through the proper process to transfer the license to you. Chances are that they used it to obtain an upgrade, in which case it would not even to eligible to be transferred.
Maybe you are looking for
-
S540 low performanc​e
Hello everyone, My issue is - brand new Lenovo s540 works very slow. Symptoms: 1) HD video playback lags (i have descibed it here https://forums.lenovo.com/t5/ThinkPad-Edge-S-series/s540-HD-video-playback-lags/td-p/1843284) 2) Low benchmark results.
-
How to improve render quality of FXG graphics (gradients, paths, alpha)
Hi I created a FXG graphical asset in Illustrator. Basically, it has some radial gradients along paths in it. Overlapping gradients have alpha values and blend over. I would assume this is a pretty common use case if you create glassy/half 3D design
-
Upgrade to kernel 2.6.26.2-1 and my ralink-based wireless adapter
The latest upgrades (kernel26, rt2500, etc.) are causing me major problems with my wireless adapter. It's a junky Belkin model which uses the rt73usb driver (part of the rt2500 package, I believe). Anyway, after the upgrade, if/iwconfig returns no
-
I have purchased a ringback tone for my 5c but cannot figure out how to assign it to my specific phone? we have three phones on our contract. any suggestions?
-
Ipad 2 screen problem (blue spots)
Today something happend to my ipad 2. There're blue spots on the screen. They shows when I'm charging my ipad and disappear after 30 mins (UPD: NOW THEY DONT DISAPPEAR ANYMORE.) IM SCARED