Select File Archive it then Open the original file

I have created an application that lets me select a file save it to another location then open it with the default application. My problem is that the file the application opens is the one that I just saved as a copy. The result is that when I close the application the new file is saved to the archive location not the original location. To further complicate this the application is Access which I have to run in Windows using Parallels. Any suggestions would be greatly appreciated.
Thanks
Mitch

You are correct Access constantly saves the file you are working on in fact it is one application that does not have a save to or save as option (for the entire file) it always saves the file back to where it was opened from. Not sure I understand what you mean when you say "manually save a file". Are you suggesting I should save to the archive location then save it back on top of itself ? Checked results and it shows that the variable being passed to the open command is not the one set with set variable. The set variable results shows the file and path that is set with the "ask for finder items" command. The file and folder name in the get variable results is the path from the copy command?
Thanks again
Mitch

Similar Messages

  • Selected App cannot be used because the original file cannot be found and must be re-downlaoded from the iTunes

    1- on the beginning i used to  purchase any App from iTunes and will be downloaded  to my MBAir with out any problems .
    2- But, after 2 or 3 days i will get Apps icon as inactive icon in the itunes Aplication  and cannot copy them to my iPhone neither cannot open them in his  iTunes and i will get an error message " selected App cannot be used because the original file cannot be found and must be re-downlaoded from the iTunes".
    MBAIR with Mac OS 10.8.4 with the latest iTunes version 11.1
    thx.

    And redownloading doesn't work...?

  • HT2128 Does any one know how to attach a document from your mail, while you are already in your e-mail, meaning not having to look for your file first and then open the e-mail.

    Does any one know how to attach a document from your mail, while you are already in your e-mail, meaning not having to look for your file first and then open the e-mail.

    Luis
    Good question - and one that a lot of (business) people would like solved!
    Your question prompted me to do some research, and I found this workaround posted by Scott Grossberg:
    His solution actually addresses a second problem too - how to attach a document when replying to an email message. In your case you may not need to consider the "reply" aspect - but if not right now, it'll come in useful someday!
    I've pasted it verbatim - if it works for you (it does for me) then all credit goes to Scott for solving the problem. There's just one thing I'd add to his solution: you will probably want to rename the message, as by default Goodreader gives it the Subject line: Mail with GoodReader attachments.
    THE GOODREADER OPTION
    1.  CREATE the document you want to send.
    2.  SAVE it to GoodReader (this will require you to buy and install the app).
    3.  Go to your email and OPEN the email thread to which you want to Reply and attach your file.
    4.  COMPOSE your Reply.
    5.  DOUBLE TAP the message.
    6.  TAP SELECT ALL. This will copy the entire email thread.
    7.  OPEN GOODREADER on the iPad and go to the file you want to send as part of your Reply.
    8.  At the bottom of the GoodReader screen you will see an EXPORT icon (it looks like a rectangle with an arrow pointing to the right).
    9.  TAP the Export button.
    10.  TAP EMAIL FILE. Depending on your needs, tap either SEND FILE “AS IS” or “FLATTEN ANNOTATIONS.” This will open a compose message screen with the chosen document already attached.
    11.  TAP in the body of the email screen. TAP PASTE. This will place your composed Reply and the prior email thread into the message.
    12.  ENTER the Recipients’ names in the TO: field of your message.
    13.  SEND your email Reply.
    The modified version (= when composing a new message rather than a reply):
    1 Make sure that the doc you want to attach is saved in GoodReader
    2 In the message you are composing, double tap, select all, and then copy.
    3 Open GoodReader and select the file you want to attach
    4 Select the export button at the bottom of screen
    5 Select e-mail file
    6 Position cursor in body of the email message, tap and paste. You may want to delete the "sent from GoodReader" text that precedes the attachment.
    7 Rename your message (as by default it will be Mail with GoodReader attachments)
    8 Add the recipient's address in the To field.
    Hope this helps! All thanks to Scott for this workaround.

  • When I create a .pdf from an Office file, I have to close the original file before using.  Help?

    When I create a .pdf file from an Office 2010 file (.docx or .xlsx), I cannot move, rename or alter the .pdf file until I first close the original Office file.  If I try, I get a message that the file is in use.  Is this due to some sort of cache setting?  Any suggestions?

    I believe we are using Adobe drivers within Office to generate the PDF through the print function.  All of the settings appear to be Adobe.  If I launch Distiller separately and navigate to the setting I get the exact same settings form I get when I go through the print properties settings. 

  • I have a 2007 iMac with version 10.6.8.  When downloading "some" files to my computer, these files become "zip files."  When I open the zip file, it produces a document in some coding language. How can I open the file to produce a legible document?

    I have a 2007 iMac with version 10.6.8 and 4GB of expanded memory.  When downloading "some" emailed documents, the downloaded file becomes a "zip file," which when opened looks like a coded message.  How can I open the "zip file" so that it produces a legible document?  Please, help!!  thank you!!!

    A "zip file" is a compressed file. "Zipping" in principle does not and cannot change the contents. So that if the contents before zipping are garbage, or unreadable on a Mac, when you expand the file you will get garbage or an unreadable file.
    The first thing to verify therefore is whether the file, before it was zipped, was in a "Mac friendly" format. Can you do that?
    You do not need an App to zip or unzip. These functions are built in on our Macs.
    And yes, zipping and unzipping using the built in functionality, work fine in OS 10.6.8. And 10.7 and 10.8 and 10.9.

  • ITunes tells me "Could not be used because the original file could not be found. Would you like to locate it?"  I can locate it and all my other music, but can only open one song at a time.  How do I set it to open all my music whenever I want it?

    iTunes tells me my song selection: "Could not be used because the original file could not be found. Would you like to locate it?"  I can locate it and all my other music, but can only open one song at a time.  How do I set it to open all my music whenever I want?
    Message was edited by: Woildbill

    I just spent several hours dealing with this when switching to a new PC. It was extremely frustrating as I knew my files were on my external HD but no matter how many times I copied my old iTunes folder over the files were still missing...because dummy me had forgotten to "unhide folders" on my new PC and my old files were actually stored in a hidden folder created long long ago.
    This is how I did it on Windows 7 with iTunes 10
    1. Look in iTunes Advanced Preferences to see where iTunes is saving files. (Edit, Preferences, Advanced)
         Example: C:/Users/Woildbill/My Music/iTunes/Music
    2. Ensure you are able to see hidden files - Control Panel, Folder Option, View, Show Hidden Files
    3. Use Your Computer's Search Function to Locate the Missing File (Start, Search, type name of song - I started my search in "My Music" folder but be sure to expand to entire Computer if not found right away)
    4. In Search Results, right-click found folder and select properties. This will tell you where the file is actually stored.
    5. Use Windows Explorer (right-click start) to navigate to the location of the file. It is likley your other missing files are in the same location.
    6. In Windows Explorer, copy the newly located files to the iTumes location from Step 1 and everything should work again.
    Hope this helps!

  • Can I create action to Save As...  and change only one character of the original file name?

    I'm working on a group of  files(25-28) at a time. I have to save each one as a photoshop .raw file and change the first character of the file name. the rest of the file name must remain the same. I then close the original file with no changes. I tried to create an action for this. The only problem is that the next file overwrote the file I used to create the action.  Is it possible to creat an action to save as... and keep the file name of the new file but chage the first character to the same one used in the recording?

    Good day!
    I think what you are describing is not possible with Actions.
    Scripting would be an option, but more convenient might be simply saving the files with unchanged names and then edit the names of  the whole bunch in Bridge in one go (Tools > Batch Rename).
    Regards,
    Pfaffenbichler

  • After I zip a file, should I or can I delete the original files since I'm trying to save space, or do I have to keep the original one?

    I'm trying to free some space up on my computer and was going to start compressing as many files as I can.  I noticed that when I compress one, I see the new zipped file and then still the original files.  So, should I delete the original files after I get the zip file?
    Thanks!

    Yes, you can delete the original files.
    But if you're running short of space, consider getting a larger HD for your Mac.  
    See: http://eshop.macsales.com/shop/hard-drives/2.5-Notebook/

  • With out changing/opening the fmb file and fmx file Can i know the version

    Hi all,
    I am working with forms in different versions.
    I have number of fmx files with few are complied in 5i, few are in 6i and few are complied in 10g.
    All are in the same directory.
    The problem is because of all are reside in the same directory, i don't know the version of the selected file.With out changing/opening the fmb file and fmx file Can i know the version of the selected fmx file?
    Is there any possiblity to get the version of fmx file with java code?
    Advance thnaks
    Madhava

    Hai prasath..
    as i said we will not change fmb/fmx file directly.
    Is there any chance to write a small java code and get the version.
    adv thanks
    Madhava

  • How can I auto export a PDF File using the "Smallest File Size" preset and set the Exported File Name based on information from an Imported PDF?

    Greetings all,
    I am trying to create a script to automate a PDF export process for my company for inDesign. I’m fairly new to inDesign itself and have no previous experience with javascript, although I did take C++ in high school and have found it helpful in putting this code together.
    We have an inDesign template file and then use the Multi-page PDF importer script to import PDF files. We then have to export two version of each file that we import, then delete the imported file and all of the pages to reset the template. This has to be done for nearly 1000 pdf files each month and is quite tedious. I’m working on automating the process as much as possible. I’ve managed to piece together code that will cleanup the file much quicker and am now trying to automate the PDF exports themselves.
    The files are sent to us as “TRUGLY#####_Client” and need to be exported as “POP#####_Client_Date-Range_North/South.pdf”
    For example, TRUGLY12345_Client needs to be exported as POP12345_Client_Mar01-Mar31_North and POP12345_Client_Mar01-Mar31_South.
    There are two templates built into the template file for the north and south file that are toggled easily via layer visibility switches. I need to get a code that can ideally read the #s from the imported Trugly file as well as the Client and input those into variables to use when exporting. The date range is found in the same place in the top right of each pdf file. I am not sure if this can be read somehow or if it will have to be input manually. I can put North or South into the file name based on which template layer is visible.
    I am not sure how to go about doing this. I did find the following code for exporting to PDF with preset but it requires me to select a preset and then type the full file name. How can I set it to automatically use the “Smallest File Size” preset without prompting me to choose and then automatically input some or preferably all of the file name automatically? (If the entire filename is possible then I don’t even want a prompt to appear so it will be fully automated!)
    PDF Export Code (Originally from here: Simple PDF Export with Preset selection | IndiSnip [InDesign® Snippets]):
    var myPresets = app.pdfExportPresets.everyItem().name;
    myPresets.unshift("- Select Preset -");
    var myWin = new Window('dialog', 'PDF Export Presets');
    myWin.orientation = 'row';
    with(myWin){
        myWin.sText = add('statictext', undefined, 'Select PDF Export preset:');
        myWin.myPDFExport = add('dropdownlist',undefined,undefined,{items:myPresets});
        myWin.myPDFExport.selection = 0;
        myWin.btnOK = add('button', undefined, 'OK');
    myWin.center();
    var myWindow = myWin.show();
    if(myWindow == true && myWin.myPDFExport.selection.index != 0){
        var myPreset = app.pdfExportPresets.item(String(myWin.myPDFExport.selection));
        myFile = File(File.saveDialog("Save file with preset: " + myPreset.name,"PDF files: *.pdf"));
        if(myFile != null){
            app.activeDocument.exportFile(ExportFormat.PDF_TYPE, myFile, false, myPreset);
        }else{
            alert("No File selected");
    }else{
        alert("No PDF Preset selected");
    So far my code does the following:
    1) Runs the Multi-Page PDF Import Script
    2) Runs PDF Export Script Above
    3) Toggles the Template
    4) Runs #2 Again
    5) Deletes the imported PDF and all pages and toggles template again.
    It’s close and much better than the original process which was almost 100% manual but I’d like to remove the Preset prompt from the PDF script and have it automatically select the “Smallest File Size” preset. and then if there’s a way to have it auto-fill in the file name so no user input is required at all other than selecting each file to import. (If there’s a way to setup a batch action for the multi-import script that would be even better!)
    Thanks in advance and if there’s anything else I can provide that would help please let me know! Even a nudge in the right direction will be a big help!

    If you hold down the option key, it will typically show the location. Or you can often hit option-return on the file and it will reveal the file in the Finder, instead of opening it.
    Final option is to open it, and just option-click the filename in the toolbar of Preview and it should show you the location.
    It's probably an attachment to an email you've received. If you have Mail set to cache emails and their attachments it'll be stashed in a subdirectory of ~/Library/Mail. Which is fine.

  • Double-clicking to open files stops working after opening lots of files.

    When I double-click a file it will open the file in CS6 version 13.0.1, but then after a while double-clicking will no longer open jpeg or raw files.  I can open the same files by going to File > Open in the Menu Bar.
    When I am simply opening downloaded files from my camera, I can open 200-300 by double-clicking with no problems.  However, at times when I am working on an image, it is not long before I can't open a file by double-clicking.  It will open a blank Photoshop window, but without any Toolbar or Menu Bars.
    This happens on a regular basis.  Sometimes, also, Photoshop is slow to Quit, for no apparent reason.
    Is anyone aware of this problem?

    Still having this problem.
    If I open a jpeg and just change the name, then Save As to a folder, I can then open another jpeg by double-clicking.
    However, whenever I open a jpeg and make changes to the image in Photoshop, then Save As to a folder, I can then no longer open a jpeg by double-clicking.  Photoshop will open, but the jpeg will not open.
    Since this only happens after making changes to a jpeg in Photoshop, it seems to me the problem is with something in Photoshop, and has nothing to do with my OS.

  • When i open an mp3 file from a source other than apple, does itunes create it's own file and can I then delete the original mp3?

    when I open a music file from a source other than apple, does itunes create it's own file and can I then delete the original mp3?

    If you use iTunes' default settings then when you add a file to iTunes it places a copy of the file in the iTunes media folder and it leaves the original in place.  The exception is when you drag it to the Automatically Add To iTunes folder.
    It does not convert the file.  You can delete the original if you wish.

  • Some of the songs I have downloaded onto i tunes won't play when I select it to do so.  The error message I get is "The song could not be used because the original file could not be found.  Would you like to locate it?"  How can I get my songs to play?

    Some of the songs I have downloaded into i tunes won't play when I select it to do so.  The error message I get is "The song can not be used because the original file can not be found.  Would you like to locate it?"  When I select yes I'm sent to a screen that has my i tunes library listed.  When I select the song in question I'm asked if I would like to open the song.  When I select this option I get nothing.  The songs I have downloaded must be somewhere because they are listed in my i tunes library and on the screen I've been sent to.  I can't the songs to play however.  This is not true of all of my songs but it is true of quite a few of them.  Actually, one song is too many.    How do I get my music to play that seems to be locked up somewhere in the computer?

    Presuming they're on your computer, right click on them and then follow the prompts to locate hte file on your computer.

  • CS5 The selected file cannot be linked because its type (audio) does not match the original file's t

    Greetings,
    I have been working on a very large project using CS5 on my desktop computer. Now I am on the road and bought a laptop so that I can continue to work. I placed all of my assets on a back-up external 2tb drive (which I was able to open without incident on my desktop). I installed CS5 on my new laptop and now when I try to open the project I get the following message "The selected file cannot be linked because its type (audio) does not match the original file's type (audio and video)". This message appears before I indicate the path to any of the assets. Then, when I do indicate the path to each asset, I get the same message for individual files.
    Any advice is appreciated.
    Thanks,
    Jeremy

    I had this problem and have found a solution / workaround:  my issue was when trying to open a cs5 project that had been collected on mac and then transfered to pc, my footage was all png image sequences but this will hopefully work in other situations...
    Open the project and cancel the first dialogue box that pops up where you get the "file cannot be linked" error when trying to reconnect footage.  The project will open and then in the project panel, right click on any footage that needs reconnected and choose "Replace footage..." this will open a dialog that will allow you to select the file that gave you the error in the first place without any issues.  Any sequences with that footage will now work and everything show be all good. 
    You may experience "Offline material is present in this export and will be encoded using the offline media graphic" on first export but apparently you can just ingore that, but i guess it's woth testing a few short sections before commiting to a huge render...
    This workaround isn't perfect as i had about 50 pieces of footage i had to relink via this method one by one but at least it saved redoing the edit which was critical for my project...
    good luck!

  • Selected file cannot be linked because its type (video) does not match the original file's type

    I've been using Premiere Elements 9 for a couple of years now, and a few months ago I began having problems importing AVI files created from a BlackMagic Intensity Pro capture card.  (These issues were not previously occurring, and since they surfaced, I have exhausted the various settings for the BlackMagic card, used various software such as BlackMagic's own Media Express as well as the freeware VirtualDub, and still have the following problems.)
    In addition, these AVI files play just fine, in their entirety, using Windows Media Player and in Quicktime.
    The problem (or possibly two, but I suspect they could be related) is that most of the AVI files I attempt to import will either (1) import all video and NO audio, or (2) import ONLY a short segment of audio and video, and the length that Elements imports varies.  Usually only in the range of a minute or two.  The rest of the file is not imported at all.
    After much digging in forums, and testing various settings in trying to figure out the issue, I decided to back up all of my files and completely wipe all hard drives and start over with a fresh installation of Windows and Premiere Elements 9.  I haven't installed much else yet, as I wanted to first find out if the reinstallation improved things with Elements.
    For the first project I created in Elements after the reinstallation, Elements successfully imported an entire AVI that was nearly 2 hours long, audio and video.  This was a file that previously would not import properly into Elements.  This suggested that my earlier installation of Elements must have been corrupted somehow.  At this point I was very hopeful that all was well.
    I proceeded to edit the video as I had wanted, saved the project, and exported it to an MPEG format file.  I had originally wanted to export it as an MOV, but I hadn't yet installed Quicktime, so Elements couldn't do that just yet.  The MPEG export was successful and plays fine.
    However, I then installed Quicktime, and once it was finished, I restarted the PC and reloaded the same project.  This time, Elements claimed the media was offline.  I double-clicked on a segment of the video, and directed Elements to the raw file, but then an error message popped up:  "The selected file cannot be linked because its type (video) does not match the original file's type (audio and video)."  This was the same file I had JUST edited and of which I created an MPEG.
    I tried creating a new project and the "Get Media" function to import the AVI again, but this time only the video imported with NO audio.  (This would explain why the error message said what it did, but not why the audio wasn't imported.)
    What in the world is going on with Elements???  I am baffled since the ONLY task I have done on this machine after a complete reinstallation of both Windows and Elements is edit one AVI.  I find it very hard to believe that just installing Quicktime caused this.
    Some info on my system:
    System:  Asus P6T w/ Intel i7 920 and 12 GB memory
    OS: Windows 7 Ultimate
    Video Software:  Premiere Elements 9
    Capture Card:  BlackMagic Intensity Pro (PCI-e)
    Capture Software:  AVIs recorded with either BlackMagic Media Express or VirtualDub (only prior to the reinstallation, as neither of these programs are currently installed)
    I'm getting to the point with Elements that I might need to just abandon it and find something else that is more reliable.  Anybody have suggestions to help with this, so I won't have to migrate?

    mtnsports
    We think that we need to start off with definiting the properties of these .avi files that you are importing into Premiere Elements 9.0/9.0.1 (assumed that you are working for the required 9.0.1 Update).
    You say that the "avi" was created from a "BlackMagic Intensity Pro capture card". What are the properties of this .avi that you imported into Premiere Elements? Not all .avi are created equal. What is the video and audio compression, frame size, frame rate, interlaced or progressive, pixel aspect ratio, typical duration?
    Based on the properties of the video what have you been setting as the project preset?
    Let us start here.
    More later.
    ATR

Maybe you are looking for

  • LightShow Magic  popup not working?

    Hi folks,   I am trying to import content from the existing site to  the new BC site, and I have uploaded the relevant js files and folders, but even though the linked files are seen in the Inspector on the live page, the popup link to Enlarge and cr

  • Customer service NO longer available @ Verizon

    NO promised returned call Fail to meet promises made 4 times in 2 months Impossible to get back with the same person who promised and failed

  • Streaming HD content to apple tv really slow, why?

    Does anyone know why when I have fibre optic broadband, 100Mbps download speed that when I try and stream a HD tv show or film to my Apple tv (2) from either my mac or ipad it buffers and buffers, plays, then stops halfway through, buffers again for,

  • Problem with iPhone 5 (not turn on)

    Good day to all! I have an urgent question, since I do not know what to do. Became transfer information from iPhone4 on iPhone5. Make a backup through iTunes. Then plug 5ku and made copies of recovery. not tracked, it was successful and once again ma

  • E1200 Router installation desired without modem/internet

    I purchased an E1200 wireless router with the intention of "connecting" three wireless laptops in our home (close proximity).  I do not desire internet with the connection and so didn't purchase a modem.  It will not install because I do not have it