"choose file name" loses the extension when clicking a file

I'm using the "choose file name" command in a script but when I click on an existing file it loses the extension.
Apparently the same problem as here:
http://discussions.info.apple.com/message.jspa?messageID=10410632
Is there a workaround for that ? Or is it just impossible to retrieve the needed extension ? (and we need to wait for Apple to fix that...)

Hello
Well, not that I know a work-aronud except for the obvious to type the extension manually...
Since I cannot think of any good reason for the command's interface to drop the extension deliberately, I'd classify this as bug.
You'd better send feedback to Apple requesting fix.
*If you send bug report via bugreport.apple.com, you'd likely get duplicate notice saying that it has been already reported. So try general feedback channel :
http://www.apple.com/feedback/macosx.html
The more users want it to be fixed, the more chances for it to be fixed.
Regards,
H
P.S. By the way, 'choose file name' command had not let user choose existing file (with existing files grayed out in dialogue). It is rather new feature letting user select existing file. Perhaps 10.5 (AppleScript 2.0) and later, I guess. Defect in new feature should be able to be fixed easily without breaking backward compatibility.

Similar Messages

  • If i download any file which is prepare on microsoft office 2007 . The file have been download without extension of the prog. Means if files name is "1,docx" when i download from firefox it download in that form "1". after download i have to rename and gi

    If i download any file which is prepare on microsoft office 2007 . The file have been download without extension of the prog. Means if files name is "1,docx" when i download from firefox it download in that form "1". after download i have to rename and give the extension name is plz tell me the way that office files are compatible with it.
    == This happened ==
    Every time Firefox opened
    == when i download the office files

    In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
    To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • How to get file name on the base of extension

    hi
    reply me
    how to get the filename on the base of extension from the
    current directory......
    for example
    i create file with the "igg" extension and save in the folder
    where the exe file of director save....
    i want when exe run then exe file read filename of the
    define( "igg" ) extension with out path just name of the file with
    igg extension
    tel me how
    regards
    farhana khan

    Here's a solution that requires no xtras:
    on GetFilesWithExtension(aFolderPath, aExtension)
    -- INPUT: <aFolderPath> should be a valid string
    folder path
    -- <aExtension> may be a string file extension,
    without the
    -- dot. For example: "txt" or "igg"
    -- OUTPUT: Returns an error symbol or a linear list of file
    names
    -- in the given folder. If an extension is given, only
    -- files with the given extension will be listed. If not,
    -- all files and folders will be listed.
    vFileList = []
    if not stringP(aFolderPath) then
    return #stringPathExpected
    end if
    vIgnoreExtension = not stringP(aExtension)
    vDelimiter = the itemDelimiter
    the itemDelimiter = "."
    n = 0
    repeat while TRUE
    n = n + 1
    vFileName = getNthFileNameInFolder(aFolderPath, n)
    if vFileName = "" then
    exit repeat
    end if
    if vIgnoreExtension then
    vFileList.append(vFileName)
    else if the last item of vFileName = aExtension then
    vFileList.append(vFileName)
    end if
    end repeat
    the itemDelimiter = vDelimiter
    return vFileList
    end GetFilesWithExtension
    You can also use
    Buddy API's baFileList,
    which allows you to do wildcard searching.

  • When someone other than myself downloads an image from my web album, a dynamically generated file name replaces the original file name.  How I can prevent the original file name being replaced during the downloading process?

    When someone other than myself downloads an image from my web album, a dynamically generated file name replaces the original file name.  How I can prevent the file name being changed during this downloading process?

    Hi Glenyse,
    Here are my steps.
    1.  I upload multiple image (jpg) files onto my photo album.
    2.  I select the "sharing" by email option for this album.
    3.  I enter the recipient's email address.
    4.  The recipient receives my message and clicks on the link.
    5.  The recipient accesses my photo album and clicks on one of the images.
    6.  The image opens up to its own screen.
    7.  The recipient selects the "download" and then save file option.
    Here is the part I do not understand.  For some reason, during this "download" process, the original name which I have given to the file is replaced by different name.  So I was hoping that someone knows how to prevent the file name from being changed during the "download and save" process.
    Much appreciated if you can help me find a solution to this problem.
    Mary  

  • Is there a way to automatically set the file name in Acrobat Properties when exporting a PDF from Indesign?

    When I used Quark to make a PDF, the title area in the PDF was automatically populated with the file name, there in the properties tab. We like use this area to confirm file names of original files, so we can keep track of drafts, (in case the file name of the PDF is changed, which our boss often does). Is there any way to set up InDesign to do the same?

    @stadlock – I think I know what you mean…
    You exported to PDF and changed the file name in the export dialog to a different one from the document name presented there the first time you exported that document. And in exports after that the new name will be presented in the dialog instead of the name of the document.
    What you can do against that?
    1. First time you want to export: Save before the document is exported. And do not save after it's exported with a new file name.
    2. After the new file name is already there in the export dialog:
    Type in the document name in the dialog. Export. Or abort after chosing a export preference. Save. Check again, if the document's file name is in the export dialog. If yes, procede like in suggestion #1. If not do a full export with the document's file name, save and then procede with suggestion #1.
    Uwe

  • File Name Copy (not text inside the file ) and change the extension of file

    Hi,
    I have a requirement in which I have to copy the file name (not the text inside file ) from one folder/dir to another folder/dir with some another extension.
    Suppose we have file abc.txt of 20kb in a folder ,we need this in another folder with abc.done extension of 0 kb.
    This I need just to trigger a process.
    I have a below code to copy some files from one folder to another but this code copies the complete file not the file name only.Need help.
    package com.sumit.collections;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.nio.channels.FileChannel;
    public class FileMove {
         * @param args
         * @throws IOException
         public static void main(String[] args) throws IOException {
              FileMove fm=new FileMove();
              fm.copyFiles();
         public void copyFiles() throws IOException { 
              File destination=new File("C://soft//test2");
              File srcDir = new File("C://soft//test");
         File[] files = srcDir.listFiles();
         FileChannel in = null;
         FileChannel out = null;
         for (File file : files) { 
         try { 
         in = new FileInputStream(file).getChannel();
         File outFile = new File(destination, file.getName());
         out = new FileOutputStream(outFile).getChannel();
         in.transferTo(0, in.size(), out);
         } finally { 
         if (in != null)
         in.close();
         if (out != null)
         out.close();
    Thanks
    Sumit

    Thanks for all your help.I got the solution.
    package com.sumit.collections;
    import java.io.File;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.List;
    public class DotDoneFile {
         public static void main(String[] args) throws IOException {
              DotDoneFile fm=new DotDoneFile();
              fm.copyFiles1();
         public void copyFiles1() throws IOException { 
              List<String> filnamne = new ArrayList();
              File destDir = new File("C://Barcklays-soft//test2");
              File srcDir = new File("C://Barcklays-soft//test");
              File[] listOfFiles = srcDir.listFiles();
         try{
         for (int i=0;i<listOfFiles.length;i++){
              if (listOfFiles.isFile())
              filnamne.add(listOfFiles[i].getName());
              System.out.println(listOfFiles[i].getName());
              File.createTempFile(listOfFiles[i].getName(), ".done", destDir);
         catch(IOException ioe)
         System.out.println("Exception creating temporary file : " + ioe);

  • Programaticly changing the (suggested only) file name in the save prompt when signing a document?

    When you sign a document in Adobe X (or XI), the system says it needs to save the file first.   Is there some way to change the (suggested only) file name to a different value for that save?
    Right now, people open a blank form - lets call it formX.pdf.   They fill it in and sign it.  The suggested file name for the save is FormX.pdf.   I can generate a unique file name which i'd like to put in place of the suggested default...

    AFAIK, you can't do it with code. Your best option might be to use a form field to show a message to the user when they sign the document with that information.

  • Good afternoon ladies and gentlemen!   My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In t

    Good afternoon ladies and gentlemen!
    My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In the settings Adobe Bridge - in "open RAW-files by double-clicking in Adobe Camera Raw» box is checked. When you try any changes in the settings Adobe Bridge system displays a message:
    Bridge's parent application is not active. Bridge requires that a qualifying product has been launched at least once to enable this feature.
    The entire line of Adobe products on my computer updated to the latest updates. Previously, a family of products Adobe Photoshop on your computer is not set. Computer - PC, Windows 7 Enterprises.

    <moved from Adobe Creative Cloud to Bridge General Discussion>

  • How to hide the file name (the bizarre number assigned by the camera) when exporting an image version in aperture from an album. Pl understand I want to keep the file name in the project library version.

    how to hide the file name (the bizarre number assigned by the camera) when exporting an image version in aperture from an album. Pl understand I want to keep the file name in the project library version.

    Within Aperture you have Images, which are constructed on-the-fly from two files (the Master and the Version).  You get an image-format file _only_ when you export an Image.  You select the file name (usually a scheme) when you create an image-format file (that is, when you export).  Look under "Aperture→Presets→File Naming" for built-in Presets.  You can, of course, create your own or customize any provided.
    The Preset is applied to only the file newly created by your "export" command.  It is not applied to the Image in Aperture (unless you rename your Versions or your Masters).

  • How to Capture the File Names of any extension using ssis

    Hello,
    Can you please let me know on how to Capture the File Names of any extension(EG : xls,text,.csv etc) at a time  and stores in excel file  using SSIS?
    Any help would be appreciated.
    Thanks,
    Vinay s

    If you need to act differently on each file type separately or if not all types of files are wanted, i.e. the Filespecifier cannot be *.* in the Foreach loop:
    In the ssis package
    make 3 variables:
    to store the file extension, e.g. User::CurrentExtension of type string
    to store the filename found in the directory: @CurrentFilename
    to store the name of the directory where the files reside e.g. User::CurrentDirectory
    make a foreach loop of type Foreach Item enumerator:
    in the items list you add each file extension that you need
    txt
    csv
    xls
    xlsx
    As Variable mappings map the CurrentExtension to Index 0
    Inside this foreach loop add another foreach loop of type Foreach File enumerator, in the collection Expressions
    add Expression Directory , set to @[User::CurrentDirecotry]
    add Expression FileSpec, set to "*." + @[User::CurrentFileExtension]
    In the Variable mappings, map Variable user::CurrentFilename to Index 0
    Inside this loop use Execute SQL Task to insert the filename in a Excel connection.
    Jan D'Hondt - SQL server BI development

  • What is the extension for debug log file name?

    Hi,
    1) Please let me know what is the extension for debug log file....
    is it .dbg or .log ?
    in one of the sr the service engineer asked to put .log as the extension is this correct?
    here is what he said...
    a) Enable the following Profiles at user level:
    OM: Debug Level = 5
    INV: Debug Trace = YES
    INV: Debug Level = 11
    INV: Debug File = [directory value from above query]/logfilename.log
    (make sure that you have write permission for this file and directory)
    WSH: Debug Enabled - Yes
    WSH: Debug Level - Statement
    2) do the end-user (for whom trace is enabled) need to have read and write permissions on the directory and the log file?
    Thanks
    Raju

    user652672 wrote:
    1) Please let me know what is the extension for debug log file....
    is it .dbg or .log ?
    INV: Debug File = [directory value from above query]/logfilename.log
    (make sure that you have write permission for this file and directory) It is what you set in the value of "INV: Debug File" profile option (according to the above value, it will be logfilename.log).
    2) do the end-user (for whom trace is enabled) need to have read and write permissions on the directory and the log file?No, just make sure the directory is writable by the oracle and applmgr users.

  • How to not append '.PART' to the file name of the currently downloading file, and just download the file with its normal filename

    In Windows, when Firefox (I'm currently using 7.0) downloads a file, it appends ''.PART'' to the file name of the currently downloading file and just renames it to its original file name after it finishes downloading.
    I sometimes like to watch a currently downloading video file, so it will be better if Firefox just downloads the file to its actual filename (like what Opera does), so I can easily double click the incompletely downloaded file and watch it with the video player assigned to that file extension, rather than the awkward ''Right click -> Open With -> Choose Default Program'' route with .part files.
    Does anyone know how to set Firefox to do this?

    It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox and prevents Firefox from renaming the .part file.
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See "Disable virus scanning in Firefox preferences - Windows"
    * http://kb.mozillazine.org/Unable_to_save_or_download_files

  • Changing file names in the Finder

    Hi,
    Is there a way to change the names of video files in the Finder then relink them in FCPX? I have some files that I imported from my camera. Unfortunately, the camera's date was incorrect. I'd like to change the file names via the Finder to the correct dates, then relink them to the associated projects in Final Cut Pro X. However, this doesn't seem possible: when I relaunch FCPX, the "new" files appear alongside the old files in the event library and there doesn't seem to be a way to relink them.
    thanks,
    fh

    You can't relink files in FCPX. Best way to rename clips is within FCPX itself.
    final
    Batch rename clips using a naming preset
    1. In the Event Browser, select the clips you want to rename.
    2. To open the Info inspector, click the Inspector button in the toolbar (shown below), and click the Info button at the top of the pane that appears.
    3. Choose Apply Custom Name from the Action pop-up menu          and choose a naming preset from the submenu.
    The clips selected in the Event Browser are renamed.

  • I can no longer directly print from the USPS print servelet. I now have to save the file and rename the extension to PDF load in another program to print. It used to be automatic. What happened?

    When trying to print from the USPS website (to print a label) when I click to pay and print instead of my print selection screen coming up I get the "Firefox doesn't know what to do with this" screen. THrough some web searching I found I can save the file, then change the extension to PDF and load it in another program and print but it adds two steps and is a real pain. Why would this have changed????

    It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox.<br />
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See also "Disable virus scanning in Firefox preferences - Windows"
    * http://kb.mozillazine.org/Unable_to_save_or_download_files

  • Changing of the physical file name of the file after archiving

    Hi all,
    We are in process of archiving  and  completed the process successfully and archived to o:\PRODSID\<filename>.
    When refresh   is happening from Prod to Quality   the archived data will come as O:\PRODSID\<filename> and the archived files will not be accessible since quality system  is not able to find the path with O:\PRODSID\<filename>.
    Is there anyway i can change the physical file name  of the archived files to correct path O:\QUALITYSID\<filename>, i need to change only the SID  only    from PRD to QUALITY.
    Thanks,
    Subhash.G

    Hi Subash,
    Do you want change the Physical File name or the Path from PROD to SID.
    Path :- in the transaction called FILE, double click on Logical Path Definition , select the Logical File and double click on "Assignment on Physical Path to Logical Path" and you can change FILENAME also here
    Thanks,
    Sravanthi

Maybe you are looking for

  • Unable to save data in record working time

    Hi All, I am working on ESS portal , when I try to record & save working time in portal , it throw an error message as 'Unable to save data'. Can you plz assist me on this. Usefull answers will be awarded. Thanks, Nilima

  • How can I download the Crystal Report Viewer XI

    We need a way for users who recieve .rpt files as email attachements distributed from BOE XI R2 to be able to view the reports and use drill-down functionality without being able to edit the report. I found the Crystal Reports Viewer XI R2 release no

  • Does distance of hub to appliance make a differenc...

    Hi, please bear with me as I am technologically challenged! I had BT broadband fitted a couple of months back and everything was fine. The hub was in my lounge and I have a Vodafone Sure Signal booster box for my mobile signal which is connected to t

  • How to change report title dynamically??

    Hi, I need to change the report title dynamically. The report title must contain the value of a particular culumn in the same report. ex: col1----col2 123----abcd Report title should be report123 Thanks

  • Battery not charging when MBP is RUNNING

    Strange thing just started happening, when my MBP is running my battery is not charging (green light on MS, says not charging on screen). When it is asleep or shut down I get an amber light and it does charge. It will also charge iPhone over USB. Whe