How to write IPTC metadata to files without opening the file?
HI,
I'm trying to run a script (preferably in JS) that allows me to write metadata to a file. I can acheive this very easily by opening the file, but I'd need to batch process many large images, so opening them would cause severe slowness. The purpose of adding the metadata to the files is to search upon them in Bridge.
We're using CS5, but have CS6 if it's better to use.
My Script
// set current doc ref
var docRef = app.activeDocument;
// Set caption in active document
docRef.info.caption = "Some Meta-Data";
Do I need to use bridge to write the metadata without opening the file? Or can running the script in PS allow me to do so?
Thanks,
Tom
Its easy if you use XMP metadata.
app.activeDocument.info.caption (in photoshop script metadata)
and it is the same field as:
Dublin Core namespace
namespace: http://purl.org/dc/elements/1.1/
Property: description
you change description on XMP = you are changing the same image.info.caption
Your answer is here:
http://forums.adobe.com/message/5743730#5743730
Similar Messages
-
How to view source of email message without opening the message?
In addition to Verizon Email, I use Windows Live Mail. With Windows Live Mail I can view the source of a message without opening the message. This way I can find out if the message is legitimate or spam before potentially getting hit with malware from a bogus message by opening it. I can then set up a blocking rule so a bogus message from either the sender or the domain never appears in my Inbox. I have not found a way to do this in Verizon EMail.
Is there a way to view the source of a message without opening the message in Verizon EMail? Right clicking just opens the message which I do not want to do.computerbug,
You can get a preview of your email. Log into the Verizon account and go to email > in the top you will see
Conversations
Contacts
Calendars
Settings
Click on settings < General settings > Display and you will see 2 options for email view.
(Preview is not available, if the resolution is less than 1024 by 768 pixels)
Thanks,
Tonya D -
How to write a Web service Handler without modifying the Web service code
Hi,
How can I write a SOAPHandler without modifying the Web service code. I want to add a generic handler which will take care of SOAPHeader for all the webmethods. To add a handler is it necessary to modify the web service code?You will find answer in [implementing_handlers_using_jaxws_2|http://blogs.sun.com/sdimilla/entry/implementing_handlers_using_jaxws_2]
-
How to print multiple pages in OAF without opening the doc
Hi,
I have a search page, where i get multiple rows in the result page. In the result page i have a column with the docs attached(PDF format). I also have the option of selecting the multiple rows with a single click.
My question is say if i get 10 rows in result page with the PDF pages attached. I would like to print the 10 pdf's without opening them in a single go.
Any help/suggestions appreciated.
Regards
macHi,
I have a search page, where i get multiple rows in the result page. In the result page i have a column with the docs attached(PDF format). I also have the option of selecting the multiple rows with a single click.
My question is say if i get 10 rows in result page with the PDF pages attached. I would like to print the 10 pdf's without opening them in a single go.
Any help/suggestions appreciated.
Regards
mac -
How to write a Mail Java program without using the JavaMail api?
Can I do that?
if so, which classes should be used?
and how can i use Javamail to write a program which
allows me to write Email.You can open up raw sockets to an SMTP server to send email.
Here is one article that has code for how to send email using sockets.
http://www.javaworld.com/jw-12-1996/jw-12-sockets.html -
How to write to a log file within a JSP
Hello everybody,
do you know how to write to a log file within a JSP.
my code is (/space/SP/tlf/ExcepcionJava.jsp):
<html>
<body bgColor=#C4E1FF>
<%@ page import="java.io.*" %>
<%
FileWriter salida = new FileWriter(response.encodeURL("log.txt"));
salida.write(request.getParameter("errorMsg"));
salida.close();
%>
</body>
</html>.. I run under Solaris, Jrun 2.3.3
I have also test with getServletContext().getRealPath(), but I get /netsrv/nes/docs/ instead of /space/SP/tlf/Hi,
Give the full path of the log file to the FileWriter. Such as;
FileWriter salida = new FileWriter(response.encodeURL("/usr/local/tomcat/logs/testlogs/log.txt"));
nurettin -
How to AVDocGetPDDoc without opening the pdf file
Hi all,
how to AVDocGetPDDoc without opening the pdf file in acrobat plugin sdk.
Regards,
JKthanks for ur reply, now its fine.
-
How to write a Xml installation file to build web installer using IzPack.
Hai everyone,
I have got a problem in building a web installer using IzPack.I am getting this exception,when I am compiling my install.xml using a compile tool provided by IzPack soft.Eventhough I have not mentioned "packsinfo.xml" in my Xml installation file.
Fatal error :
null\packsinfo.xml (The system cannot find the path specified)
java.io.FileNotFoundException: null\packsinfo.xml (The system cannot find the path specified)
What went wrong??
It is very very urgent. Could anyone tell me how to write a Xml installation file for building web installer,please??
any help will be highly appreciated....
Thank you very much in advanceHi,
that is not really a java related question. Have you tried to find some IzPack support forum? I've never heard about it, so I can't help. -
How to write data to text file using external tables
can anybody tell how to write data to text file using external tables concept?
Hi,
Using external table u can load the data in your local table in database,
then using your local db table and UTL_FILE pacakge u can wrrite data to text file
external table
~~~~~~~~~~~
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_7002.htm#i2153251
UTL_FILE
~~~~~~~~~
http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_file.htm#sthref14093
Message was edited by:
Nicloei W
Message was edited by:
Nicloei W -
How do i download and e-mail from a zip drive without opening the file
How do I download and e-mail data from a zip drive without opening the file?
Hi.
If you have a Zip drive, you can handle the file as you would any other file. Copy and paste. Drag and drop. Select and attach as an email attachment.
Zip drive data discs came in two capacities, 100MB and 250MB. So the largest files would not exceed those capacities, depending on the media from which they are pulled.
The trick, I should think, would be finding a working drive that can read the media... and hope that media is not corrupted. Zip media was notorious for failing.
I hope this helps. -
How to write code for save file directory?
how to write code for save file directory?
how to find usa timezone code using java swing?
i have some code help me
public class ItsInitializer {
private static boolean s_initialized = false;
private ItsInitializer() {
public static synchronized void initialize() {
if (!s_initialized) {
// Modifies default time zone, disables Daylight Saving Time.
TimeZone l_defaultTimeZone = TimeZone.getDefault();
int l_rawOffset = l_defaultTimeZone.getRawOffset();
String l_id = l_defaultTimeZone.getID();
SimpleTimeZone l_simpleTimeZone = new SimpleTimeZone(l_rawOffset,
l_id,
0,
0,
0,
0,
0,
0,
0,
0);
TimeZone.setDefault(l_simpleTimeZone);
s_initialized = true;
2.
long timeMillis = ...;
long time = timeMillis / 1000;
String seconds = Integer.toString((int)(time % 60));
String minutes = Integer.toString((int)((time % 3600) / 60));
String hours = Integer.toString((int)(time / 3600));
for (int i = 0; i < 2; i++) {
if (seconds.length() < 2) {
seconds = "0" + seconds;
if (minutes.length() < 2) {
minutes = "0" + minutes;
if (hours.length() < 2) {
hours = "0" + hours;
3.
import java.text.SimpleDateFormat;
import java.util.Date;
public class Convert {
public String getDateTime(String pattern){
SimpleDateFormat sdf = new SimpleDateFormat(pattern);
return sdf.format(new Date());
* @param args
public static void main(String[] args) {
Convert con = new Convert();
System.out.println(con.getDateTime("hh:mm:ss"));
5.import java.text.SimpleDateFormat;
import java.util.Date;
public class Convert {
public String getDateTime(String pattern){
SimpleDateFormat sdf = new SimpleDateFormat(pattern);
return sdf.format(new Date());
* @param args
public static void main(String[] args) {
Convert con = new Convert();
System.out.println(con.getDateTime("hh:mm:ss"));
[ November 23, 2005: Mess
private Locale locale = Locale.US;
private static final String[] tzStrings = {
"America/New_York",
"America/Chicago",
"America/Denver",
"America/Los_Angeles",
Date now = new Date();
for ( TimeZone z : zones) {
DateFormat df = new SimpleDateFormat("K:mm a,z", locale);
df.setTimeZone(z);
String result = df.format(now);
System.out.println(result);
String date="05/19/2008 04:30 AM (EST)";
SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy hh:mm aaa (z)");
TimeZone.setDefault(TimeZone.getTimeZone("PST"));
long millis = sdf.parse(date).getTime();
sdf.setTimeZone(TimeZone.getDefault());
System.out.println(sdf.format(new Date(millis)));
[ November 23, 2005: Mes -
Reg: How to Stop Polling of JDBC Adapter without Scheduling the adapter
Dear Gurus,
Here I am having one requirement. My clients wants to send data from JDBC adapter (ORcale System table) to R3 system via RFC.
His Requirement::
1. He is not telling the time of data flow from Oracle server so that based on that we can schedule the adapter in the Communication Channel monitoring (Availablitiy Time Planning) or Else we can Schedule by deciding the setting of the polling interval time.
2. He is telling that When ever he waants to send the data he will place one dummy file in the File Adapter FTP location so that it will became an Indication for u to poll the jdbc adapter and to transfer the data to R3.
3. Untill he keeps the file or gives indication he doesn;t want to communicate with Oracle server due to some security and it s a most important data base he doesn't want to disturb that Oracle Server as so many business are running on that.....
We Proposed::
1. Atleast you need to tell the scheduling time or poll interval time so that we can schedule our adapter.
but he s not accepting for this
2. Atleast U need to give access for Data base to enter one more extra field like STATUS CODE so that we will add one number and we keep on Update in the Update table and based on that Update table statement it will poll.
but he s not even accepting for this
3. Finally we prposed that to create another table in the Oracle SYstem as Dulplicate Table which is similar to Standard Orginal table when ever he wants to pick the data please keep that data in this Duplicate TABle so that JDBC adapter will pick the data from thsi TABLE instead of picking the data from that standard table so that it will not effect any standard table data in the table.
but he s not even accepting for this
We have done some R & D:::
1. WE approached even through BPM and via switch conditions is one scenario
FILE RECEIVE >SWITCH CONDITION> RECEIVE AND SEND or else EXIT
2. Using correlation in anotehr scenario means correlating File adapter and JDBC and based on one dynamica value it will goes to SEND STEP ( RECE IVE --> RECEIVE --> SEND STEPS )
Even though we know this...concept that...we jsut tried::
In BPM we can control the flow in XI 3.0 but we cannot Stop the Polling of JDBC adapter at backend because one the data comes from FILE adapter it will keep on HOLD untill it receives the JDBC from Oracle then based on the condition or Correlation it will goes futher SEND step means after that file adapter is picking file or not ...what ever it may be JDBC will polls at backend and brings that data to BPM"
Hence sugest me How to Stop Polling of JDBC Adapter without Scheduling the adapter or else using STATUS CODE Update statements in JDBC Tables
Regards:
Amar Srinivas EliHi! All,
Finally I decided to do the scenario in two steps:
1: FILE REQ --> JDBC REQ -->JDBC RES --> FILE RECV
2: FILE RECV --> RFC
But I am getting issue while doing first scenario
Desgn :
I have created 2 Synchronous interfaces :
1) FILE 2 JDBC REQ
In this a) out put message is FILE Req
b) Input msage:; FILE RES
2} JDBC2FILE RECV
a) Output mesage;; JDBC REQ
b) Input Msge :: JDBC Response
Mappings:
1) File REQ-->JDBC REQ
2) JDBC RES-->FILE RES
Interface mappings:
1: FILE 2 JDBC REQ--> JDBC 2 FLE RECV
CONFIGURATION ::
1: One Seder File CC
2: Two reciever CC's one is for JDBC RECEIVER and other s FILE RECEIVER
3; One Sender Agreement
4: 2 Recver agreements
5: One Interface Determination and
6: One RECCV Determination
My Question;;
1. First let confirm whether my development steps are right or not ?
2: Another thing s I am not sure reg Configuration Steps means
whetehr one interface determination and one Receiver Determinations are required or not as these are synchronous Interfaces
3: main Issue is::::
If my scenario s FILE2RFC2FILE then I will get RFC response automatically but here issue is this is JDBC
My reqquirement is By sending one Field from fILE to JDBC REQ it needs to send entire TAbLE records as a Response to file as XML
without having Sender JDBC how can I send the JDBC Res to FILE and If that is the case then again JDBC adapter is polling which is contradict to the client requuirement which i explained above.
pleas suggest me the Detailed steps mainly Colloboration agreements and logical routings and
also explain in detail if i can go for BPM
Also give cleear blogs but before giving make sure that it contains detailed screen shots because aIready gone thorugh
Scenario File-JDBC-RFC
File<-->JDBC Sync coomunication.
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file(Without+BPM)
/people/luis.melgar/blog/2008/05/13/synchronous-soap-to-jdbc--end-to-end-walkthrough
Regards::
Amar Srinivas Eli -
How do I close a numbers document without closing the entire app?
Can anyone tell me how I can close a numbers document without closing the entire app? i.e. go back to the folders display page - is this even possible?
It is not a bug, but a new feature.<br />
Some menu entries in the main menu bar are hidden if you use the mouse and only appear if you use the keyboard to open the menu (Bug 626825).
You can see the difference if you use Alt+F to open the File menu or other menus like the Edit menu (Alt+E) and Bookmarks menu (Alt+B) and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by tapping Alt or by pressing F10.
*[https://bugzilla.mozilla.org/show_bug.cgi?id=626825 bug 626825] - Hide redundant menu commands unless the user invokes the menu using the keyboard (make use of the openedWithKey attribute)
''(please do not comment in bug reports; you can vote instead)''
See also:
* [[/questions/799856#answer-155765]] -
How can I move columns in Numbers without distorting the formula in other cells? In Excel I can cut and paste entire columns and the formula in other cells adjusts accordingly. When I do it in Numbers, the formula messes up. How can I do this?
For example: I have formulas in columns D and F that relate to columns C to CU
If I want to move one column from one position to another (say S to T), the formula loses the colums that was moved, i.e. it doesn't recognize it has moved, rather sees it as deleted... How can I do this without distorting the formula?Thanks for the feedback.
If I often urge askers to look at the available resources, it's because a large range of questions asked in the forums are already answered in these documents.
As they are PDFs, they are easy to search in.
CAUTION
Download them while they are available.
Given what is delivered with iBooks Author, I'm afraid that we will not get such easy to use documents.
Searching infos in the iBooks Author documentation available on line is awfully cumbersome and a lot of embedded links are wrongly flagged this way. In the Help files they aren't links but underlined strings.
It seems that the tool used to generate the web pages was wrongly configured.
Yvan KOENIG (VALLAURIS, France) dimanche 22 janvier 2012
iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
My Box account is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
My iDisk is : http://public.me.com/koenigyvan -
how to recover my viber messages? without replacing the other application when i will restore my last backup.
Maybe from the restored iPod via How to perform iPad recovery for photos, videos
Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official
http://www.amacsoft.com/ipod-data-recovery.html
iPod recovery software to restore lost music files
http://www.pcrecoverytools.com/ipod-data-recovery.html
Yu also said:
I think this is because
I backed up a long time ago, and the iTunes update may have erased the back up?
No, updating iTunes does not delete any iOS device backups.
Maybe you are looking for
-
When I updated to Lion, a folder named RamdiskFixer appeared in my Applications folder. What do the applications contained in this folder do?
-
How to get Pre Photo. Elements 10 to open?
I purchased Adobe Premiere Photoshop Elements 10 on 5/4/12 from the adobe site. I downloaded the file, installed it, but can't get it to open without the install wizard wanting to delete all of the Photoshop Elements 10 content. I allowed it to del
-
Ipod touch won't turn on + broken home button.
I bought my 5th generation Ipod touch in September 2013, so it's just over a year old. The other night I was scrolling through instagram, pressed the sleep button, then 5-10 minutes later I needed to search something but my Ipod screen stayed black.
-
Troubles Exporting SQL databases from Azure
1. If I connect via SQL Server Management Studio and choose Export Data Tier Application to local disk, it never ends 2. If I export via Azure web portal, it takes few hours 3. The only way that works is using SQL Server Management Studio and export
-
Podcast capture to User blog pages?
Hi All It's probably related to workflows but I'm still getting my head around PcP interacting with blog server. PcP publishes podcast created from podcast capture to a group blog page. no probs. What I'm not getting is how to tell Pc Capture to post