How to set Caption from Version Name?
I am looking for an automated/batch method to write Caption from Version Name for thousands of photos.
HAVE
File Name: P1001.RAW
Version Name: Red apple
Caption:
WANT
File Name: P1001.RAW
Version Name: Red apple
Caption: Red apple
http://homepage.mac.com/jlarson7/metadata/index.html has the following script, which may be closer
==============
tell application "Aperture"
tell library 1
tell project "untitled project"
tell image version "image001"
--set value of IPTC tag "Caption/Abstract" of image version "Canon 1Ds" to "hello"
--the above won't work IF the tag doesn't already have a value because the class doesn't exist until it does. Therefore you have to make the class then set its value. See the next tell block.
end tell
tell image version "image001"
make new IPTC tag with properties {name:"Caption/Abstract", value:"hello"}
--this line will work every time even if a value for the tag exists or not.
end tell
end tell
end tell
end tell
==============
Similar Messages
-
Does the Technical Communication Suite have an installation application similar to the Creative Cloud Suite? If so, how do I get it? If not, how do I upgrade from version 4?
Thank you.Not sure what CCS has that you’re referring to, but TCS5 is out and can be installed via subscription or downloaded installer.
-
How to set JDeveloper JVM version
Can you please let me know how to set JDeveloper JVM version?
I'm going to assume you mean you want to "compile against"?
in menu ->Application->progject properties -> Compiler->use custom settings->customer setting->change JDK Version Compatability by selecting the source and class files to be used and generated respectively.
use "Helpful" or "Correct" to give points, else let us know you need some more help -
I have an orginal iPad and there is no "sofeware update" button in the general menu as shown above, how do I update from version 4.3.3?
The option to update without the computer (Over the air) was made available with iOS 5. If your iDevice is using a version of iOS lower than 5, you will need to use iTunes on your syncing computer to perform the upgrade. Use the Apple link below as a guide for the upgrade.
http://support.apple.com/kb/HT4972 -
How I can upgrade from Version 10.7.4 into the last version ?
How I can upgrade from Version 10.7.4 into the last version ?
If your computer meets the requirements then open App Store, sign in with your Apple ID. Locate Mountain Lion, purchase and download.
Apple - OS X Mountain Lion - Read the technical specifications.
Macs that can be upgraded to OS X Mountain Lion
iMac (Mid 2007 or newer)
MacBook (Late 2008 Aluminum, or Early 2009 or newer)
MacBook Pro (Mid/Late 2007 or newer)
MacBook Air (Late 2008 or newer)
Mac mini (Early 2009 or newer)
Mac Pro (Early 2008 or newer)
Xserve (Early 2009) -
How to upgrade eSourcing from version 5.1.8 Patch 3 to 5.1.8 Patch 4
Please some one can guide me How to upgrade eSourcing from version 5.1.8 Patch 3 to 5.1.8 Patch 4 since i am new in CLM.
Hello Gadewar,
First of all make sure you read all the details given in the Upgrade Guide located at "Installation and Upgrade Guide"->SAP SRM->SAP E-Sourcing 5.1/SAP CLM 2.0->E-Sourcing 5.1/CLM 2.0 Component Upgrade Guide PDF at service.sap.com/support website.
Note you need to have the support account to login to that website.
How ever I am listing down basic steps required for upgrade below.
1) Download the installables from the website I did mention above, have DB jar, have custom jar (optional).
2) Take backup of the DB.
3) Take backup of Config folder. Also take backup of the <home Dir>/Lib if you have some customizations in the form of JARS.
3) Make sure the userid which is used for connection to DB have the required permission like CONNECT, RESOURCE, UNLIMITED TABLESPACE etc. It is given in the guide I mentioned above in section 4.1 Verify Privileges of Oracle Service Account.
4) Stop ESO instance and run the setup and then upgrade scripts.
5) Undeploy the old ESO application from App server and then deploy new .EAR from new <home dir>/fsapp on the app server.
6) Start the app server and your ESO will be ready. You may need to use Workbooks to upload Localized Resources. This is the case if you have modified some OOTB localized resources in the past as a part of customization and have not used the overrides to give new resource values. If you have used overrides for localized resources in the past then you are good and need not to load the workbook.
Again usage of Workbook depends on the requirement to requirement. You may need to use workbook based upon your business needs.
Make sure you have not modified any OOTB query definitions as a part of customizations, if that is the case you will loose those query definitions as upgrade scripts overrides OOTB queries and then you should backup those as well before upgrade and then you may re-pull them after upgrade.
Regards,
Jagjeet Singh
Edited by: ESO123 on Feb 2, 2011 8:54 PM -
How to batch change Caption with version name?
I'm using Aperture 3.0.2. I want to caption the photos based on version name. This way when I export the photos from Aperture to Picasaweb, the caption will show. This will allow the visitors to tell me which image proof that I need to re-touch.
I found my own answer. I wrote this AppleScript. It's my first AppleScript ever. It's nice to Goggle and found some other resources.
tell application "Aperture"
set imageSel to (get selection)
if imageSel is {} then
error "Please select an image."
else
repeat with i from 1 to count of imageSel
tell library 1
tell item i of imageSel
make new IPTC tag with properties {name:"Caption/Abstract", value:get name}
end tell
end tell
end repeat
end if
end tell -
Set Caption as File Name?
Sometimes people send me photos I want in my library, and those images are named with a string of text that would be a suitable caption. I've got a fair number of these images now, and I'd like to know if there is a batch way of changing the caption on those images from being blank to the file name.
In other words, if I have a bunch of files named "1973 Summer Trip to Las Vegas.jpg", etc., but with no metadata (blank caption, etc.), is there a way to automatically set the captions as the names of the file? I know that it is trivial to rename the file or version, and I'll do that once I've saved the present file name into the caption field.
Many thanks in advance for you help."tImg" is just a variable holding an image version id. You'll note that it shows up coloured green in Script Editor like other variables.
"tCap" in that script is a variable used to hold the value we want to put into the caption. So we set it to the name and then set the caption to it.
A good starting point for getting the AppleScript names of different tags is:
tell application "Aperture"
set selectedImages to the selection
get every IPTC tag of item 1 of selectedImages
end tell
Replace 'IPTC' with 'EXIF' to get a list of EXIF tag names, with 'custom' for your own tags you've added plus the timezone names, and 'other' for some other stuff like filename, pixel sizes, main rating etc. Note that in all cases the script will only list the names for tags that apply to the image - so an image with no IPTC data will return no tag names.
A couple of good places to get started with AppleScript and Aperture:
http://homepage.mac.com/jlarson7/news/index.html
http://brettgrossphotography.com/category/mac/applescript
Ian -
How to set songs from music as ringtones for contacts
How do I set songs from my music that is on the phone as ringtones for different contacts?
Songs and ringtones have different formats. They are not interchangeable. You would have to convert a song into a ringtone.
If you have a Mac, you could use the GarageBand app to do that. If you have a PC, there are apps to do the conversion, but I cannot name one. -
Aperture 3.1 uses Facebook captions as Version Names
Not sure whether this has happened due to the u/g to 3.1, but while still running 3.0.3 I exported a set of photos to Facebook.
By default, the Caption shown in FB is the filename (version name).
*In FB* I edited the captions but now Aperture is using those captions as the version names of the original photos (i.e. in the Projects, not just in the Facebook albums).
This is not good, since I now have several photos with the same version name!!!!
Is the the expected behaviour? I can't find a pref that affects it.
Anyone else seen this?David Riecks has an article on the issues with Aperture and IPTC metadata over at:
http://digitalassetmanagementnews.org/taxonomy-metadata/aperture-3-removes-iptc- extension-and-plus-embedded-metadata/
and
http://www.controlledvocabulary.com/imagedatabases/aperture3.html
It appears that you are correct in your assertion that Apple (Aperture) does not adhere to the IPTC standard for image metadata. Ad Mr. Riecks points out, this should be of major concern for anyone using Aperture as their image warehouse and then exporting their images out to anyone who does adhere to the IPTC standard as some of your most important data (inclusive of location, identification, rights use, and copyright - aka IPTC Core in Aperture) are essentially lost.
Very disappointing indeed! Failure to adhere to industry standards are the primary reason I stopped using Windows products and made the migration to Apple.
Hopefully Aperture will address this in coming releases to include the extraction of Faces data into the IPTC 1.1 Extension Description structure "Person Shown" with an option to extract the Faces data into the IPTC1.1 Extension Models structure "Model Shown" fields. -
How to Set "delete from hub and server" for each account
How can I set "delete from hub and server" differently for each account?
I have 3 emails (2 shared, 1 personal).
the personal is a 'hotmail' account which has device set to 'sync email', 'push', and 'Use SSL'.
it will only sync one way (from desktop to device).
I cannot set the global setting on the device to "delete from Hub and server" without affecting all accounts.
I do not want to have to confirm delete on every item.
previous to the 10.3 update this was not an issue.
am i missing something? or is this another step backwards?The only other way would be to set it to prompt every time you get an email. Yeah, I know that defeats the purpose.. I guess in this aspect it is a step back
-
How to set classpath from java class ??
I have tried to use System.setProperty("java.class.path", "my class path string ") to set classpath dynamically. But it is not working. How to set it dynamically from java class ?? Thanks , gary
Look into the java.net.URLClassLoader. You can't set the classpath after the fact but you can specify URL's that will checked when you try to load a class with that loader.
-
How to set "Title" as "File Name" in iPhoto 5?
iPhoto lets you batch rename the title for your photo library of a given roll. So if you have say "Vacation" you can set title to all the photos in there as Vacation -1 , Vacation -2 etc. etc. But, this is just the title for iphoto database. The actual filename will still be as IMG_xxx.jpg (or whatever is default in your digital camera).
Is there a way to set the Title as File name ?? I already have 1000+ photos iphoto and title is all set as my Roll Name - xx . But it will be great to have file names set as the title too.
I think I can batch rename in Image Capture before downloading the files, but then I have to again import those in iPhoto , so its two step process and inconvenient.
So, does anyone know how to set File name as Title ( you can only do other way around in iPhoto, I think) ? Any script available which can read iPhoto title and set the file name as Title? Thanks.
20 iMac G5 2GHz Mac OS X (10.4.1) Canon S2 ISHi kothrush,
You must rename in the Finder first, before importing into iPhoto.
You cannot do it after importing into iPhoto. Well, you can. You can share export the renamed images to the desktop. Delete the ones in iPhoto, then import the renamed ones back into iPhoto. That's a lot more steps.
Whatever you do, you cannot rename any images in the Finder that are already in the iPhoto Library or iPhoto will lose the link to the images.
Two Apple kbs for you to read
Don't tamper with files in the iPhoto library folder
About the iPhoto Library folder
Lori -
How to set value from one view to other view's context node attr b4 save
HI all,
My requirement is as below:
There are two views in component BP_CONT.
BP_CONT/ContactDetails IMPL class
BP_CONT/SalesEmployee SALESEMPLOYEE STRUCT.SALESEMPLOYEE
I want to set value from first view to second view's context node's attribute.
i get Sales Employee BP number in ContactDetails view, from here i want to set that value in to STRUCT.SALESEMPLOYEE
of second view in the same component.
please send me code snippet for doing the same.
Thanks in advance.
seemaHi Seema
You can access the fields from different views by either using custom controllers or by using component controllers, in your case you can access the Sales employee BP number from the Component controller.
first access the component controller as below in BP_CONT/SalesEmployee (in do_prepare_output method) or in (specific setter method)
lv_compcontroller type ref to CL_BP_CONT_BSPWDCOMPONENT_IMPL,
lv_partner type ref to cl_crm_bol_entity,
lv_role type string,
lv_partner_no type string.
lv_employee TYPE REF TO if_bol_bo_property_access,
lv_compcontroller = me->COMP_CONTROLLER.
lv_partner ?= lv_compcontroller ->typed_context->-partner->collection_wrapper->get_current( ).
lv_role = lv_partner->get_property( iv_attr_name = 'BP_ROLE' )
IF LV_ROLE = 'SALESEMPLOYEE'
lv_partner_no ?= lv_current->get_property( iv_attr_name = 'BP_NUMBER' ).
endif.
now set the value
lv_employee ?= me->typed_context->salesemployee->collection_wrapper->get_current( )
CHECK lv_employee IS BOUND.
lv_employee->set_property( iv_attr_name = 'SALESEMPLOYEE' iv_value = lv_partner_no )
Thanks & Regards
Raj -
How to set users from AD as UCM administrators
Hi
I need to set group from Active Directory as UCM administrators
We have configured AD provider on WLS and group named MyGroup in AD
I created role MyGroup in UCM and users from this AD group can login to UCM.
I tried to create credentials map named "MyMap" with "MyGroup,admin" values,
add "ProviderCredentialsMap=MyMap" to <domain>/ucm/cs/data/providers/jpsuserprovider/provider.hda
and restart UCM
But it not works.
Please advice
Thanks
LeonLeon wrote:I created role MyGroup in UCM and users from this AD group can login to UCM.Try removing the role "MyGroup" you've defined in UCM from the User Admin applet. It's not needed in this case. The "MyGroup" should just "come over" from AD as a role, if you've configured the WLS AD provider correctly.
Otherwise the mapping itself looks ok.
Maybe you are looking for
-
SQL Server Express intermittent installation issue
Have been seeing this error for several months trying to duplicate and troubleshoot. SQL Server 2008 R2 SP2 Express being installed on Windows 7 (x86 or x64) Professional, various processors, various execution environments (VM and non-VM). Yesterday
-
Excise Conditions - Statistical , A/c Key
Dear Sirs, Hi, My client is exporting the goods under bond. hence, I maintained JEXP, JECP and Ja1x excise conditions (respectively 14%, 2%, 1% excise duty) statistical in my export pricing procedure as no excise liability get generated here. Also, I
-
Racle BI Administration Tool has stopped working
hi, i have installed Oracle BI successfully, i have import table from my oracle database successfully,but when i want to see the data of the table ,error message appears it say : Oracle BI Administration Tool has stopped working A proplème made that
-
after burning a dvd with toast, it asked whether i wanted to eject or mount. what actually does 'mounting' mean? Does it have any affect on where i can play the dvd?
-
Idoc error for transfer posting
hi i am working on idoc type WMMBID02.when i am doing stock transfer i.e. transaction MB1B trough idoc i am getting as Deficit of BA Unrestr. prev. 1,096 EA : 100536 PRDC RG01 9ANNA19002 Message no. M7021 but when i check the stock for the material i