Filename to IPTC Title, but without extension. (Currently using DAM script)

Hello,
Apologies if this isn't the correct forum to ask this question:
I am currently using the DAM Filename to Title script with Bridge CS4 - http://www.damuseful.com/pages/PimpMyBridge.html - to get the filename into the IPTC title script. This however puts in the extension into the title field also. So a JPG file named 2000 ends up with 2000.JPG in its Title field. I wish to not have the extension appear in the Title field.
Is this possible by modifying the DAM script / using any other freely available script.
In case it helps, this is what the DAM script currently looks like:
#target bridge
if ( BridgeTalk.appName = "bridge" )
//This script copies selected thumbnails' filenames to the title field
//Also shows how to add menu items
//The AdobeLibrary scripts must be loaded
//This script was created by John Beardsworth www.beardsworth.co.uk/ and modified by Peter Krogh www.DAMuseful.com
//This script may be freely distributed and modified
// Let's create our menu
    var menu = MenuElement.create( "command", "Write Filename to IPTC Title Field", "at the end of Tools");
    menu.onSelect = function(m)
var getFolderChildren = true ;
var filesOnly = true ;
var thumbs = getBridgeThumbnails ( TYPES.PHOTOSHOP_OPENABLE, getFolderChildren, filesOnly) ;
for ( var i = 0; i < thumbs.length; i++ )
{ thumb = thumbs[i];
   md = thumb.synchronousMetadata;
   md.namespace ="http://ns.adobe.com/photoshop/1.0/";
   md.Title = thumb.name;
   Window.alert ("Done " + i + " records");
There are also 3 other Adobe Library scripts that come with the download.
I know absolutely nothing about scripting, so baby-steps would be appreciated.
Many thanks.

Change:
md.Title = thumb.name;
To:
md.Title = decodeURI(thumb.name).replace(/\.[^\.]+$/, '');

Similar Messages

  • Insert Filename into IPTC Title metadata

    Good Morning,
    I am wondering if there is a way to insert the filename of an image into the IPTC title metada.
    Below is an example of our file name system.
    (ex. YYMMDD-M-TI822-001)
    The only part that changes is the 3 digit number at the end.
    How would I go about writing a script to have Bridge automatically do it or is there one already writen that I can download and use?
    Thank you for your help.

    Change:
    md.Title = thumb.name;
    To:
    md.Title = decodeURI(thumb.name).replace(/\.[^\.]+$/, '');

  • Apple says my iPhone 5 is locked but I'm currently using it in a different country. How is that possible??

    HOw insist that I can use it in a different country when Apple says it's locked?!

    You need to ask the carrier the iPhone is locked to, to officially unlock, nothing Apple can do.

  • I am receiving a new ipad (3 i guess) from my mom who is in the U.S but i am currently in the philippines. I ofcourse, want to have apps,games,movies etc. can i use an itunes giftcard (also from the U.S) to buy my apps without any problems?

    i am receiving a new ipad (3 i guess) from my mom who is in the U.S but i am currently in the philippines. I ofcourse, want to have apps,games,movies etc. on it. can i use an itunes giftcard (also from the U.S) to buy my apps without any problems?

    No.
    iTunes terms of service:
    The iTunes Service is available to you only in the United States, its territories, and possessions. You agree not to use or attempt to use the iTunes Service from outside these locations. Apple may use technologies to verify your compliance.

  • My bank id works with IE but not in Firefox, even if I run without extensions. What is the problem?

    My bank id works with IE but not in Firefox, even if I run without extensions. What is the problem?

    Make sure you are using the correct user name / password.
    https://support.mozilla.org/en-US/kb/firefox-cant-load-websites-other-browsers-can
    https://support.mozilla.org/en-US/kb/secure-connection-failed-error-message

  • Is there any app available to directly copy movies from in built Movies app on iPhone directly to a Nas. I currently use iTunes for this with the Mac, but want to know if its possible without actually using a Mac or PC with iTunes?

    Is there any app available to directly copy from iPhone or iPad from the movies app to a nas without having to use iTunes.

    wjosten - thanks very much for the detailed instructions. I'll try this as soon as I get my replacement and it looks like you'll probably end up getting the green tick

  • How to use Terminal to Find or Locate files without extensions?

    I'm conversant with the cli, but not a power-user.  I've discovered a fairly large number of audio files, across dozens of sometimes nested folders, that (somehow) lost their '.aif' extension and now appear as Unix Executable Files.  Upon appending said files with the proper extension, they are perfectly normal audio aif's.
    My Problem: using the Terminal, how can I search a directory tree to find those files *without* an extension, discriminating between files and folders, and then append the correct extension to only the files?
    I've tried a number of queries, mostly built around the idea of using 'filename.*', but for some reason searching for an extension omission (as opposed to a specified string) isn't so simple. 
    The following: ls -al *.
    Brings up 'No such file or directory'
    And the following ls -al .*
    Brings up files AND directories
    I need o discriminate between files and directories, finds all files without extensions, and rename them with the appropriate extension.
    Can anyone help?
    Best, Tom

    The following will find files without a file extension in the current working directory and any sub-directories->
    find . -type f ! -name "*.*"
    If you are confident that the files found are the appropriate audio file (in this case aif) then you could->
    find . -type f ! -name "*.*" -exec mv {} {}.aif \;

  • Re Titled but not Actually Renamed ?

    I read a lot of Post but I don't this question was addressed directly.
    I renamed all of my IPhoto pictures. Now when I drag this photo to the desktop, or [b]export to an e-mail or application it shows the original name. As if nothing had been changed.
    I read that you must change the name before putting the photos into IPHOTO. Where can I import them to in order to change the name first. Documents? but then I can't preview a bunch together and see if any are the same picture but in different colors. Which effects my titling, if it was the same picture it would need to have the same title but in a,b,c?
    I do 100's of pictures in a roll, is there any way to change the actual title once it is in IPhoto?
    I saw something about export and re-importing with a new title? Is this a long process, is it an ideal solution to my situation?
    Any insight would be nice.
    What do I do about my currently re-titled but obviouly not actually renamed Files.

    mjoon
    I renamed all of my IPhoto pictures. Now when I drag this photo to the desktop, or export to an e-mail or application it shows the original name. As if nothing had been changed.
    What you did was TITLE the pictures, you did not rename the file. If you use the File -> Export command, then you have the opportunity to export the file with the Tile as filename.
    I read that you must change the name before putting the photos into IPHOTO. Where can I import them to in order to change the name first
    Use Image Capture (in your Applications folder) to upload the pics from your camera to the desktop. Then you can use an app like File List to batch rename the files. Thereafter, can import them into iPhoto. As to viewing the pics, you can use Preview.
    Here's my question: Do you NEED to rename the FILES while the pics are in iPhoto? I have yet to see a scenario where this is necessary.
    Regards
    TD

  • Edit PHP files without extension

    Hi,
    I'm currently developing a website with DW CS3 and I'm using
    apache's mod_rewrite so I have clean URL's. The thing is that doing
    this forces me to rename my php files e.g.
    index.php to
    index. Is there a way that DW recognizes these files as PHP
    files, so I have nice highlighted code?
    Greets,
    Nick

    Hello,
    Right clicking and selecting open is exactly the answer to
    the question you
    asked about how to open files without an extension.
    There are many young people and people just learning here, so
    all questions
    are answered.
    How was anyone supposed to know you meant something else, and
    that you
    already knew the answer was to right click and select open?
    You didn't mention DW was giving you errors until after 2
    people gave the
    answer to the question you asked.
    The fact that DW is giving you an error message when you try
    to open the
    file is something else entirely.
    So, if that's your actual question, can you expand on "DW
    keeps giving me
    errors" and share what the error messages are, so we can try
    and help you?
    Take care,
    Tim
    "magoo" <[email protected]> wrote in message
    news:gcr7s0$m9n$00$[email protected]..
    > Murray *ACE* wrote:
    >> Right click on the file and select Open.
    >>
    >>
    >> "magoo" <[email protected]> wrote in
    message
    >> news:gcr39p$r7o$01$[email protected]..
    >>> Alan wrote:
    >>>>> is it possible to open files without
    extension in DW?
    >>>>
    >>>> yes- but they will be treated as a plain
    text file, they won't be
    >>>> associated with any type of scripting type
    so no code hints or code
    >>>> coloring.
    >>>
    >>> That`s fine, so how does it work?
    >
    > Wow, what an ace you are. If it was that easy I would
    not have bothered
    > posting here ...
    >
    > --
    > Regards
    > magoo

  • Sqlplus Spool without extension

    Hello
    the answer is in the title
    I want to konw if it's possible to Spool a filename without extension in sqlplus commandline
    Spool Toto
    Select ...
    Spool Off
    is it possible to have a result file name toto and not toto.lst??
    Thank

    the answer is in the titleFine then ;-)
    I do not have a solution to your problem. You can create toto.txt or any other extension
    spool .toto
    prompt what a nice file
    spool off

  • Quick Look for files without extensions.

    I have many files without extensions that quick look does not recognize as text files. Bash shell scripts generally do not use an extension, for example (they are identified by their first line). Similarly I have a lot of text file notes w/o a ".txt" extensions.
    Is there any way to have quick look recognize these as text files? They currently have either text edit or textmate as their default "open with" app. I presume there is a config file of some sort for quick look that will let me default files with no extension to text files, but have not found it yet.

    Can't Quick Look for some text files
    Re: Is it possible to change the viewing format?
    Quick Look for files without extensions.
    Re: Can I view text files without a .txt extension in Quick Look?
    How do I add support to Quick Look

  • How to make previous version documents(CS1 and CS3) without extension  readable in InDesign CS5

    I have some previous version documents of CS1 and CS3  on Mac  which have been saved without any extension e.g 300, CS3doc etc.
    When I open such documents in InDesign CS5 they appear to be unreadable .  Only on  selecting 'All documents' filter  I am able to open those documents.
    I want to make all such documents (which are without extension) readable with 'All Readable Documents ' also .
    How I can do that, please  help me !!!!!

    The first thing I'd do is make sure the issue is really what I suspect it is - i.e. I suspect your extension-less documents don't have the proper type and creator.
    If you fire up a Terminal window, you should be able to use the GetFileInfo command to check one of the files:
    Assume 'sampleFile' is sitting on your desktop, you'd do
    GetFileInfo ~/Desktop/sampleFile
    (not sure when/whether GetFileInfo is installed on a Mac - I think it used to be part of Apple's developer tools, but on my Snow Leopard it resides in /usr/bin)
    Check what it says for 'type' and 'creator'.
    If these are not correct, we've confirmed that that's the reason why they don't show up in your file dialog.
    If the issue is type/creator related, I can think of the following options:
    a) Change your code to accept ANY file type/extension - I suspect this would work (not tested!):
    openFileDialog->AddType( '????' );
    If memory serves right, '????' should be accepted as a wildcard.
    b) correct the file types BEFORE they are viewed in the File Dialog - for example, if these files are in a very specific folder somewhere, you might be able to scan the folder, and correct their type and creator (e.g. iterate through all extensionless files in folder 'xyz' and change their type and creator). A lot depends on how those files get there, and whether they are tied to a specific folder or not - are they 'old' files, or are they being generated in some workflow? If they're all over a user's system or all over a file server, such pre-scanning and cleaning up file types approach will be a no-go.
    Cheers,
    Kris

  • I have an ipod, ipad, and iphone. ilike to use imessage on all of them but i dont want messages to appear on the devices i am not currently using. nor do i want to have to keep a saparate account or id for eCH OF THEM. WHAT IS THE FIX?

    i have an ipod, ipad, and iphone. ilike to use imessage on all of them but i dont want messages to appear on the devices i am not currently using. nor do i want to have to keep a saparate account / id for each device  how do i fix the settings on each so that with the same ID / login I can chech me emails, share contacts etc, be able to use i messenger on each without the whole conversation automatically beiing picked up by my other devices? some conversations just arent intended to be shared!

    Turn it into the local police department with an explanation as to who you tried to contact and what they told you. That's the only safe procedure, as otherwise the owner could report the iPod as stolen, even though you tried to return it, and get you into trouble.
    Regards.

  • Looking to run windows on my MBPro through Bootcamp or Parallels, but would like to use a downloaded Windows 7, is it possible to install without the Windows Disc?

    Looking to run windows on my MBPro through Bootcamp or Parallels, but would like to use a downloaded Windows 7, is it possible to install without the Windows Disc?
    Need to set up a workstation on my MBPro that will only run on Windows. Im willing to use Bootcamp or Parallels to see what works best. Need to get this set up this week to enable working from home on my MB - rural and hoping to buy Windows 7 online - am I able to get windows working through either bootcamp or Parallels without the actual Windows disc? Bootcamp set up guide calls for a disc.

    Welcome to Apple Support Communities
    First, the answer to your question is yes, it IS possible to install Windows in Parallels without a disc, using an .iso image file.
    Boot Camp since OS X 10.8 also installs Windows without a disc: https://discussions.apple.com/thread/4889551?tstart=0
    Parallels has complete documentation, series of forums, and a knowledgebase. You can also download the current release of Parallels 9 and try it for free for a few weeks before you decide to purchase it.
    The Parallels Desktop for Mac product page: http://www.parallels.com/products/desktop/
    The Desktop for Mac forums: http://forum.parallels.com/forumdisplay.php?58-Parallels-Desktop-for-Mac
    Documentation: http://www.parallels.com/support/desktop-virtualization/desktop/#c12970
    The Knowledgebase for Desktop for Mac: http://kb.parallels.com
    The primary difference between a Boot Camp installation and a Parallels installation is that in the Boot Camp installation, you're installing Windows into a separate partition on your internal mass storage device (hard drive or SSD) and then rebooting your Mac directly into Windows.
    In Parallels, you're always running OS X on the Mac and Parallels is running a Windows virtual machine.
    Not to get too technical here, but it is also possible for Parallels to run an installed Windows Boot Camp partition as a virtual machine. If you're evaluating system performance with a trial copy, that might be the way to go, because you only have to install Windows once on Boot Camp as a dual-boot system, then install Parallels Desktop and run the Boot Camp partition as the virtual machine.
    There is a performance difference between the two, with the Boot Camp Windows installation being faster, but without the convenience of running both Mac and Windows applications simultaneously offered by Parallels. Sometimes that convenience outweighs a performance hit.
    I can't give you more Mavericks and Parallels 9 specifics, because I'm currently running Windows 7 with Parallels 7 on OS X 10.8.5. Parallels 7 will not run on OS X 10.9 Mavericks.
    I've been using Parallels (to run a few old rarely-used WIndows applications with features that would require a steep learning curve and major expense to purchase and learn a similar Mac app) occasionally since Parallels 3 and Windows XP. With each new release of OS X, each new release of Parallels, and each new Windows release, there are ALWAYS 'early adopter' bugs that get worked out over time.
    Message was edited by: kostby

  • IBooks will not sync PDF collections with my IPhone. It syncs the collection title but not the content?

    My IBooks will not sync PDF content with my IPhone. It syncs the collection title but no content. Both devices are set to sync collections? Any ideas how to fix this?

    The 'sync collections' setting does not copy books or PDFs between devices - all it does is if you have the book on both devices and you move it into a collection on one of them, then it will be put into the same collection on the other device.
    You will need to sync each PDF that you want on your phone. If you don't currently have them on your computer then connect your iPad to your computer's iTunes and do File > Devices > Transfer Purchases to copy them over (that should copy PDFs and/or epubs that are in the iBooks app, not just actual ibooks), and if using a Mac with Mavericks on it do File > Move Books From iTunes in the iBooks app on it, and you can then sync them to your iPhone.

Maybe you are looking for

  • Logic to populate the key field of a DSO

    Hi SDN community, I have a very unique requirement and need ur help on this. I have a created a generic Datasource with two fields <b>Material Number</b> and <b>Minimum Quantity</b>. This is loaded into MINDSO01. The MINDSO01 in BW side will have two

  • OEM 2.1.0 and Oracle 8.1.5 onb Linux

    Hi I have a probleme with OEM (2.1.0 on NT simple client) and Oracle 8i (8.1.5 on RedHat Linux 6.0 the server) My Agent run with no probleme and when I search this agent via my Enterprise Manager Console I have no probleme (the agent is find). But vi

  • No longer able to export in JPEG-B

    I have this vexing issue that I cannot figure out. I can no longer export as JPEG-B. It has vanished from the list of available formats to export to. I have tried deleting the preferences and restarting the system. But no luck. Anyone have any sugges

  • In Stock trasfer order how to pick pricing condition types

    Dear Experts, I am new to SAP MM my question is In Stock transfer order (plant to plant through purchasing) it is picking PI01 pricing condition types? how it is picking? what are the Accounting doc are updating?

  • Not getting Service interface in receiver side

    Hi, I am working on a newly configured PI server. Here, I am working on a synchronous SOAP to RFC scenario from third party to ISU. From the Display WSDL option of ID I have created a wsdl file and testing the scenario by importing wsdl file into SOA