Changing File Association to Applescript App

Hello,
I wrote an applescript application that I can use to launch Final Cut Pro (the script displays a message that I want the users to read while FCP is being opened). It works great!
I tried to associate all my Final Cut Pro files (.fcp) with my applescript application and that doesn't work! It works for a single file, but the moment I click on change all (command+i ->open with->change all) it reverts back to Final Cut Pro. I tried repairing permissions. I tried using RCDefaultApp - that didn't work either.
Just as a test, I wrote an applescript application that just opens textedit and tried to associate all my .txt files to my application and I had the same issue.
I would really appreciate any help on this. Thanks!

This happens because all AppleScript applications (at least those saved via the Script Editor) have the same application signature.
In order to do this you need to use AppleScript Studio to create a document-based application and define a unique application signature. You then associate Final Cut Pro documents with your application's signature so that the OS will launch your app instead of FCP.
You may be able to hack it by playing with the resources in the AppleScript app bundle but it's probably easier to do in AppleScript Studio.

Similar Messages

  • Can I mass-change file associations?

    On a Win7 I installed CS4 and CC. However, Bridge CC (although installed last) has *all* files associated with CS4. Which of course makes my life very difficult right now. Is there a way to massively change file associations in Bridge CC? I've done it many many times one-by-one in the past, and I really don't want to do it again.
    Thanks

    Yes, if you want to mess with registry.  Try this solution for CS6, but use CS4.  Will be slightly differenct as CS4 was 32 bit program.
    HKEY_CURRENT_USER\Software\Classes\Applications\Photoshop.exe\shell\op en\command
    This key was set to the path for Photoshop CS6 when it should have been set to Photoshop CC.
    In other words, in my case, it was set to:
    "C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Photoshop.exe" "%1"
    When I changed the CS6 to a CC, in other words, so the whole key reads:
    "C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Photoshop.exe" "%1"

  • I cannot globally change file associations

    I used to have Aquamacs installed. All .tex files were associated with Aquamacs. Later, I uninstalled Aquamacs and installed Textmate. I'd like to have all .tex files associated with Textmate.
    To do this I went to a .tex file in the Finder, right clicked for More Info, went down to Open With and changed the associated app in the dropdown box from AquaMacs to Textmate. I then clicked "Change All...".
    I would now expect that all .tex files on my machine open by default with Textmate, however this is not the case. Some of the .tex files open with Textmate; others still have the old Aquamacs associated. There is no discernible pattern as to why "Change All..." worked for some files but not others. I thought maybe the Finder process needed to be restarted for the global change to take effect, but I've restarted my computer and the old associations are still there.
    What I'm doing now is going through my harddrive hunting for files to change on a file by file basis. But this is frustrating and seems like the sort of busywork
    1. Is this a bug?
    2. Is there a way to force "Change All..." to actually affect all of the files?
    3. Is there a way to remove Aquamacs from all Open With options? Since this program has been uninstalled, it seems like a bug for it to appear as an option at all.
    Thanks.
    Mac Mini Duo 1.66 GHz, 2 GB   Mac OS X (10.4.8)  

    Bill
    The following Terminal commands will reset your Launch Services database, which should remove Aquamacs from the "Open With …" lists, and should then allow you to use the "Change All …" button.
    Open the Terminal (from /Applications/Utilities) and copy and paste the following into the Terminal window, one line at a time, with a return after each line:
    cd /System/Library/Frameworks/ApplicationServices.framework/Frameworks
    cd LaunchServices.framework/Support
    lsregister -kill -r -domain local -domain system -domain user
    rm -f /LibraryCaches/com.apple.LaunchServices-014*.csstore
    killall FinderThe last command will force a restart of the Finder (so you may find windows that you had "docked" re-appearing: don't worry!)
    Let us know if you still have problems.
    iBook dual USB Mac OS X (10.4.8)

  • Do I have to change file associations in Windows 7 one at a time?

    I changed my ancient Paint Shop Pro for Elements 11 but the file associations are still PSP. I can change them one at a time but that will take forever! Is there a way to associate all the appropriate files in one go?  I managed it many years ago in PSP and Windows XP but have no idea how; I'm hoping someone will know. Thank you.

    ok.
    You can add to this menu.
    See this, method 2:
    http://www.vistax64.com/tutorials/126340-open-add-program.html

  • Changing file associations for Stuffit

    Soooo, I tried opening a BIN file using Stuffit Expander (well, indirectly using it by opening the file from Firefox), but because the VLC Media Player has changed the file associations so that by default it opens them, I can't open it (and for the record, the BIN file in question is the install file for AIM, direct from the AIM website...I'm downloading it as a backup for file transfers). Because Stuffit seems to be integrated within the kernel (as opposed to being a separate program), I can't go about changing the file associations the normal way. Is there a way for me to do it without uninstalling VLC?

    Stuffit Expander is a separate program. You can get it here.

  • Change file association

    Hi,
    Does anyone know how to globally change the file association of a file type.
    I work with Adobe Flash which uses actionscript (.as) files (text files). I've recently started using Eclipse which is a Java IDE and an actionscript plugin (FDT).
    For some reasons it's saving out my .as files as something different. They still work within Flash but not with Apple's quicklook...
    In the terminal I've noticed that 'file' returns 'Java program text'.
    eg.
    $ file Main.as
    Main.as: UTF-8 Unicode Java program text, with CR line terminators
    This is the same within all user accounts on my machine... however on another another Macbook it returns,
    UTF-8 Unicode English text, with CR line terminators
    Any idea how I can convert all my .as files to 'English text' so that they work with Quicklook.
    TIA

    Sorry I misunderstood your question earlier.
    I did a little research into how QuickLook works. Different file types are handled by "qlgenerator" files (which are actually packages). You can install new ones in /System/Library/QuickLook or /System/QuickLook. The default ones live in /System/Library/Frameworks/QuickLook.framework/Versions/A/Resources/Generators .
    Each qlgenerator contains an info.plist file that appears to define which file types it handles in the CFBundleDocumentTypes property. I'm not sure what format they're in, though, because they look like "com.apple.rtfd" and "com.microsoft.word.doc".
    Text.qlgenerator is the one that handles text files and others that TextEdit can view (such as rtf and doc). I bet you could make a copy of it into System/Library/QuickLook and edit its info.plist file to handle your file type(s).

  • Can't change file associations

    I can't seem to change the file associations for quicktime. The checkboxes are greyed out so I can't deselect them.
    I have tried un-installing and re-installing both quicktime itself and itunes but am not asked which files to associate during installation of either. I have also tried un-installing and running the windows cleanup utility but it doesn't show any quicktime entry and when I re-install the file types are still greyed out.
    Anyone got any ideas.

    This could be caused by damaged QuickTime preference files (or possibly a permissions problem on the preferences files).
    We can try rebuilding one set of your preference files to see if that helps with the greyed-out stuff.
    First, quit QuickTime if you have it open.
    Next, you'll need to make sure you are set up to view hidden files and folders in Vista (or 7).
    1. From the Start menu, click Open.
    2. In the Organize menu, click Folder and Search Options.
    3. Click the View tab.
    4. In the "Advanced settings" pane under "Hidden files and folders" make sure that the "Show hidden files and folders" option is selected.
    5. Click OK.
    Next, you'll remove the QuickTime preference folder (and contained file).
    6. In Computer, open Local Disk: C or whichever drive your documents are stored on.
    7. Open the Users folder.
    8. Open the folder with the name of the Windows 7 user account in which the QuickTime file types are "greyed out".
    9. Open the AppData folder.
    10. Open the Local folder.
    11. Open the Apple Computer folder.
    12. Drag the QuickTime folder out onto the Desktop.
    Now you'll rebuild the preference folder and file.
    13. Launch QuickTime. Check your file types again.
    Are they still greyed out, or can you change them now?

  • Can't change file association (Powerpoint 2011 to Powerpoint 2008)

    Hello
    On my iMac I've recently installed MS Office 2011. The old version of Office 2008 is still installed as well. I've got some problems with the new version of Powerpoint (2011). Therefore I'd like to use the old version of Powerpoint (2008) for all my Powerpoint files.
    Unfortunately it is not possible to just uninstall Powerpoint 2011 without uninstalling the whole Office suite. So my idea was: changing the file association and let opening all Powerpoint files with the older version.
    The problem is: I can change the association of a single file. But if I try to apply the changes to all files of this type, it does not work. This behaviour only exists for Office files.
    Does anybody know, why this happens?
    Any help is appreciated. Thank you,
    Marco

    Launch Services has always been a bit..."strange"
    Why not compress the MS 2011 PP (right click it to bring up finder's contextual menu and select compress) into a zip file.  Trash the uncompressed file (see below).  And then launch services hopefully won't have any choice but to select and use MS 2008 PP.
    Before you delete the original in the trash.  Double click the zip file to expand it back to another copy of 2011 PP.  Make sure that launches properly.  This is just an extra safety (paranoid) check to make sure the original zipped correctly.  Then you can also trash this second copy as well.

  • Changing file associations doesn't work after CS4 install

    I am running into an issue on any machine I install CS4 on in which I would like (for the time being) to keep CS2 or CS3 on whereby the Open with in get info always defaults to the particular CS4 app, no matter if I set it to CS2/CS3 and hit change all. You can do an individual file and set the .indd file to open in ID CS2, but if you try to force a change all to default any .indd file to open with ID CS2, it reverts automatically back to ID CS4.
    I have tried this on various workstations with differing OS's, Tiger, Leopard, and all yield the same result. It is like no matter what you do all the CS4 apps have precedence for whatever reason and cannot be universally overridden. Any ideas or others that have run into this?
    I have use Onyx to clean up the Launchservice databases and to clean up associations, have thrown out some plists, etc. and nothing is working.
    Any help would be appreciated.
    Brian

    Thanks, Bob. I will take a look at, but it might not be exactly what I was hoping for as I was hoping to avoid the user from having to drag files onto something just to open them up.
    Any ideas why CS4 overrides the ability to globally set the Open with to CS2 or CS3 but you still can on just one document?
    Odd behavior.
    Brian

  • Changing file associations in finder

    Hi there,
    My 1st post.
    I did a search for this and although I have read some close answers, everything I tried has not worked.
    I want to associate a bunch of java files to an editor I like to use called Smultron. I have tried the following:
    * Command-I -> Open with -> change all.
    * Right click -> Open with -> other -> Always open with.
    * Right click -> Get info -> Open with -> change all.
    * RCDefaultApp (version 2.0.1.X) to change ectensions and file types.
    * Also reset the LaunchService database with : /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
    None of these solutions work unless changing a single file. That is, I am expecting to change all file types of type java to use Smultron by somehow setting a change all or always open with....
    Two other observations: By manually changing each of my java files individually, I am able to get finder to recognize them as associated with Smultron. But the icons are randomly shown as Smultron icons or .java icons and they are never the same when I re-open finder.....even though in all the files the icon is for Smutron when shown in Get info.
    I should also point out that I have killed finder and the restart didn;t work.
    I rebooted and same problem persists. I am not running FileVault.
    Is there any bonafide way to change a file type associtiation so that it affects all files of that type on the system without having to do this manually?
    Many thanks in advance

    You can try applying the 10.5.6 Combo Update This is a fuller install, as opposed to an incremental "delta" update so it should overwrite any files that are damaged or missing. It does not matter if you have applied it before.
    Remember to Verify Disk before update and repair permissions after update from /Applications/Utilities/Disk Utility.
    But... this sounds like it may be the applet and not your Java or Finder that is to blame. Look in /Utilities/Console log for clues. You can copy & paste here.
    -mj
    Message was edited by: macjack

  • Windows 7 won't allow file association with CC apps.  Why?

    The title says it all.  Any app I installed that replaced a prior version won't link.  I go in manually and attempt to create a file type association and Windows simply ignores the request.  There are no error messages.  I hestitate to dive into regedit with really knowing what I am doing but I did look and see that Photoshop is showing 2 versions (12 with a path to CS5 and 70 with a path to CC).  Indesign has no folders and apaprently no value set and the same is true of LR.  Acrobat on the other hand, works fine.  All programs function correctly as long as I open the program first and then open the file.
    I realize thids is a relatively minor thing but I teach these programs and have to download the files from a university website shell.  Having to manually do this with 30 files/assignment is a royal pain.
    Thanks for any suggestions,
    Steve

    Hi Steve1904,
    So you have use the backup and Restore to restore your files from Windows XP to Windows 7 directly?
    This should be considered not work.
    If you would like to transfer files between Windows XP and Windows 7, you need another tool called Windows Easy Transfer.
    See the article below if you would like to upgrade from Windows XP to Windows 7:
    Upgrading from Windows XP to Windows 7
    If possible, follow the steps there, then things should be OK.
    Best regards
    Michael Shao
    TechNet Community Support

  • Can't change file association for Office

    Hi
    I've previously gone to Apple Support without success on this - so I hope it's not too obvious a question!
    I'm running Office v.X on my new Macbook, having previously uninstalled the demo for Office 2004 from the machine. However, when I save Word files emailed over to me they are associated with the non-existent 2004 version of Word (11.2.0) and consequently I can't open them from the Finder (gives error -10660 as it can't find this application).
    While I can change my Word files individually to point at the v.X version of Word that's actually running on the Macbook, if I click Change All from within the Get Info... box then the application in Open with... reverts back to 2004 Word! This makes it impossible for me to universally associate my Word documents with Word v.X. Grrrr.
    Apple have suggest that the Finder is picking up that Office 2004 is still the default application. However I ran the uninstall utility and there's nothing obvious in the Library/Receipts folder - where apparently you'd expect this to be set.
    Any ideas as it's really irritating?! Please keep it reasonably simple for me
    Many thanks
    marc
    MacBook   Mac OS X (10.4.7)  

    Hi, Marc.
    I presume you've uninstalled the Office 2004 demo completely.
    See my "Resetting Launch Services" FAQ.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Changing File Associations

    I associated the file type "ASPX" with Mozilla Firefox and accidentally checked "always launch Firefox" for this file type. As a result, whenever I load an ASPX page, Firefox opens a new window and seems to get in a recursive loop, opening window after window.
    How do I disassociate this file type with Firefox, essentially undoing my mistake?

    just delete the association from within FireFox's preferences.

  • How do i change file associations

    I installed a beta version of photoshop CS6, but have now removed it. Whenever I try to open a .jpg file, it still tries to open it in CS6. I have been down the "Get Info" route and tried to use the 'Change all' method, but the files still revert to CS6. Any ideas??

    I cannot speak for .htm files, but I had a similar problem with PDFs (having installed 2 viewers). I went into the native BB file manager and highlighted a PDF file and hit the Blackberry button - to the left of my touchpad - and there was an option for 'OPEN WITH >' Choosing the application there seemed to change my default. YMMV. (I have a OS 6 Bold 9650 on Verizon, )

  • [SOLVED]Gui for changing file associations

    hello everyone!
    i use openbox as WM, thunar as my filebrowser and chromium as my webbrowser.
    i ran into the following issue:
    everytime i download something with chrome and click on the entry displayed on the bottom it mostly does not do anything. but i found out that it queries
    xdg-open
    which then reads
    ~/.local/share/applications/defaults.list
    which seems very logical to mee since this is a very centralized approach in opening files. this way thunar and chrome use the same apps. but it seems pretty cumbersome to me to type every file-type into this file.
    i found out that thunar is able to add entries into this file by selecting an application manually to always use this application for this kind of file.
    but is there any way that i can select file-roller for example for ALL archives and add ALL those entries into defaults.list? or all media-files to be opened with vlc since this is my only media-player anyway. thunar is not the issue here but chrome is :-)
    i know that ubuntu-tweak has got something in this direction but this does not work on arch :-(
    so is there any gui or something that allows me to populate defaults.list in an easy manner?
    thanks in advance!
    Last edited by Labello (2010-08-08 14:04:58)

    Sorry for the hassle.
    I found a solution and added it to the OpenBox-article in the wiki:
    http://wiki.archlinux.org/index.php/Ope … sociations

Maybe you are looking for

  • Sharing one library on external NAS drive for multiple users on one ibook

    Hi there, We (my wife and I) have only the ibook. We would like to use only 1 iphoto library for all of our family photos. I have a network drive with a bigger capacity to store the library. I read the post by CaptSwing. It seem to easier if library

  • Creating a new shape...

    Sigh. Consarn it. This should be *basic*. Here in Flash CS4 Explorer, I have shapes. It's intuitive that I be able to right-click on Scene1, and be able to Insert Shape. Can't. I go to the frame. Can't. I right-click everywhere. I see 'Create Shape',

  • G/L Account Group field in FI

    HI all, I need a report based on the G/L account group from ECC. in BI. I have searched all the datasources in FI like AR ,AP and GL ,but couldn't find the datasource which has G/L account group field. Actually my requirement is I need to pick some s

  • No mobileme gallaries showing up in Iweb?

    None of my mobileme albums or movies are showing up in IWeb. The pages that had photos or movies from my gallery are there but if you click on them in IWeb they go away and it says I need to upload items to my gallery. anyone have any ideas about thi

  • How to alternate color of rows in html cfgrid

    Hi all How can I alternate the color of rows in html cfgrid? I don't have acess to CFIDE/scripts/ajax/resources/ext/css/ext-all.css which is where according to firebug the css styles are kept Thanks