Automatic File Associations by CS3

I have installed the 30 day trial on a Win XP desktop. I
notice that many file types are now associated with CS3 - php, css,
xml others. Is this necessary? I can't run php files, CS3 opens
even when I ask windows explorer to open a file with IE. It seems
the install expected to have a dedicated machine!
The other day I had CS3 open when I wasn't even doing
development. I think something else wanted to open an xml file.

OK then.
Here is a working (rough v0.1) bash script.
I have put this in my /usr/local/bin, so it works whoever (whatever) calls it.
Also useful sources for this work are the mailcap file and the xdg-mime utility from freedesktop.org.
#!/bin/bash
NO_ARGS=0
OPTERROR=65
if [ $# -eq "$NO_ARGS" ] # Script invoked with no command-line args?
then
echo "Usage: `basename $0` <file>"
echo " `basename $0` -h for help" #does nothing for now, but will use getopts for this
exit $OPTERROR # Exit and explain usage, if no argument(s) given.
fi
shift $(($OPTIND - 1)) #this not used, but good practice for if you reference any cl args later
#check for the presence (not validity) of a file and launch handler
if [ -f $1 ]; then
case `file -b -i $1` in
text/plain*) gvim $1;;
application/pdf*) xpdf $1;;
#add other file mime types and handlers in here
*) echo "$1 has an unknown file type";;
esac
else
echo "$1 does not exist"
fi
I can now put this into freemind's preferences and files attached by a hyperlink to a branch will be opened by their chosen handler application.
This is probably all my own fault for not using gnome/kde/m$win in the first place - but just one Sunday afternoon with Arch and openbox and - PROBLEM SOLVED )
Thanks for the pointers, guys!

Similar Messages

  • How to remove automatic file associations in Dreamweaver CS5?

    When installing Dreamweaver, I chose to associate a broad array of file extensions with the program.  I would like selectively remove some of these automatic file associations (e.g. .php).  I have found this question posted several times, but never answered.  Any assistance would be greatly appreciated.

    Thanks, John.  The link you provided would help to change the automatic file association in Windows 7.  I should have been more specific that my ultimate goal was to have .php files not automatically associated with any program (so that I could modify the file extensions of some .php files).  I don't believe this could be achieved by changing the automatic association via the operating system (because you must select another program to automatically associate with a given file type).  However, my particular problem is resolved because I discovered that I could just deselect "hide extensions for known file types" in the "view" tab of "folder and search options".  This way I could change the .php extensions even though they were still automatically associated with dreamweaver.  Although this may be an obvious solution to many, I thought I would share it here in case anyone else finds themself stuck in the same way.

  • CS3/CS5 File Associations OS X

    Hi all,
    I have had to install InDesign CS5 on 4 of our Macs here for iPad development, but these 4 Macs will still be using CS3 for normal everyday magazine publishing. We can't upgrade the rest of the team to CS5 until next year so they have to continue to use CS3 until then.
    The problem is after installing CS5 you cannot change the file association for .indd files back to CS3, when you try it just reverts back to CS5 instantly. Is there a way around this, as by force of habit the users with CS5 are going to double click on files and have it open in CS5 and before they realise have modified or saved the file in a format that isn't backwards compatible.
    Is there a way around this problem? I have set the file associations back to CS3 within Bridge but that will only work for files being opened within Bridge itself.
    Any help would be appreciated.
    Cheers,
    Chris

    Our Soxy works around this issue too. When I am in the process of testing scripts, I often have CS3, CS4 and CS5 running concurrently - and thanks to Soxy, double-clicked files .indd still always open in the correct app, unlike the Mac standard behaviour to try and open the .indd file in whatever InDesign version you happen to have running.
    Cheers,
    Kris

  • No file association for ID CS3

    I have a fairly new Windows XP box and have configured my Adobe the same way as on my last computer: Full CS3 Design Premium installation, plus ID CS2 (for compatibility reasons). All of my .indd files are associated with ID CS2. Okay, I guess it must be because I installed CS2 2nd.
    No problem. I just went into Windows Explorer to change the file association to ID CS3. But ID CS3 is not listed in the program list. So I browsed to C:\Program Files\Adobe\Adobe InDesign CS3\InDesign.exe and clicked okay. But the association does not change. The icon and program association remain ID CS2. One last tidbit: In Windows Explorer, if I right-click an .indd file to "open with", the only program available is ID CS2.
    All the above applies to Bridge as well as Windows Explorer.
    I have to open my .indd files by starting ID CS3 and opening from w/in the program or by dragging a file to the open program window. If I'm in Bridge and I forget and double-click on a file, it loads ID CS2 and then tells me I can't open the file.
    I assume something happened in the Registry that shouldn't have (or didn't happen that should have), but I don't understand why Windows won't let me manually associate the file type.
    Any ideas on how to help Windows find ID CS3 without reinstalling the program?
    Thanks,
    -David

    >It worked for me but the solution was not an intuitive one. Seems like Adobe should work out this kink for future customers.
    The fact that you had a problem suggests that it's your system, not Adobe that is the root cause. A successful and undamaged installation WILL create the proper file associations, and will even use the correct version icon for older files (in Windows, though, only one version of the application -- the last one installed -- will be associated with the open command from Explorer or Bridge).
    Peter

  • How do I stop Illustrator CS3 from continually stealing file associations?

    Since moving from CS2 to CS3 I've been plagued with a file association problem. Every time I run Illustrator CS3, it steals the file association for .FLT files (this didn't happen in CS2). .FLT files don't appear in the Bridge so I can't do anything about it there. Problem is that .FLT files have been around since 1990 and are used by a 3D modelling package. Now Illustrator keeps trampling the file association and I can't figure out how to stop it. The .FLT files I've used for the past two decades are NOT Illustrator filters.
    Anyone got any bright ideas? At the moment I have a registry hack sitting on my desktop that I have to run each time I close Illustrator.
    C.

    Ok here's the solution to this.
    It turns out that Illustrator deletes and resets the .flt file extension key and the Adobe.Illustrator.Filter key every time it is run. Removing registry permissions for system didn't work, neither did removing them for owner/creator.
    It seems that the change happens as "me" - the person logged on. As I'm an administrator anyway, I was able to remove all rights for every user (including me) except administrators, and then change the administrator rights to allow everything except set and delete.
    So the .flt file extension key is essentially locked down completely now, and the problem is solved. However as the owner of the key I can still get in and change the set/delete flags if I ever need to change it again.
    Thanks to Harron for giving me the hint on the right way to pursue this.

  • TXT File Association is remove when Adobe Dreamweaver CS3 is remove.

    For some reason when Adobe Dreamweaver CS3 is remove, .txt
    file association is also remove; new text file is missing. Fix for
    TXT File Association is available at Windows XP File Association
    Fixes:
    http://www.dougknox.com/xp/file_assoc.htm

    For some reason when Adobe Dreamweaver CS3 is remove, .txt
    file association is also remove; new text file is missing. Fix for
    TXT File Association is available at Windows XP File Association
    Fixes:
    http://www.dougknox.com/xp/file_assoc.htm

  • File Association and FW CS3

    I have tried to associate .jpg files and .gif files with FW
    CS3, and my Windows XP Pro will not do it. It only recognizes
    Fireworks 8 .... even though I use the browse button in the File
    Types window and browse to Adobe Fireworks CS3. I have tried this
    through the Control Panel and the Files Types tab, and by
    right-clicking on a .jpg and selecting Open With and then browsing
    to FW CS3.
    I also uninstalled and reinstalled FW CS3 hoping that would
    help. Still not working.
    I'd love to be able to right-click on a .jpg file and open it
    with FW CS3 like I have been able to do with all my versions of FW
    going back to FW3.
    Does anyone have any suggestions for me?

    By the way,
    If that method doesn't work,
    -Go to the Start Menu and select Run
    -Type C: (the letter of your hard drive)
    -From the Menu choose Tools > Folder Options
    -Now click the 3rd tab named File Types
    -Wait until the Flashlight animating Icon has finished. You
    should now
    see a whole list of icons. These are file types
    -Go to the file type you wish to change. You could scroll
    until you
    reached the right file type but this takes too long. So
    instead just
    type the three letters of your file type - the extension in
    order (do it
    quickly or you will just select a starting letter instead of
    a follow up
    letter. For example choose PNG;
    -In the subcategory it says Details for '***' extension'
    where '***'
    is the file type you chose. There are two buttons there.
    Click the
    Advanced button
    -A new dialog window opens named "Edit File Type". Select the
    "New"
    button
    -Another new dialog window opens named New Action. In the
    Action
    field type a name for the action you want to perform. For
    example Open
    in Fireworks CS4
    -Now click the Browse button and select the executable with
    which you want to open the file extension. (Fireworks
    CS4.exe)
    -Click OK in the New Action window
    -Click OK in the Edit File Type window
    -Click Close in the Folder Options window.
    Do the same for all other file extensions you want to change.
    Linda Rathgeber - Adobe Community Expert
    http://www.adobe.com/communities/experts/members/8.html

  • How to restore file associations in Bridge CS5?

    Hi
    Some time ago I somehow lost file associations in Adobe Bridge CS5. Now when I doubleclick a RAW file (Canon .CR2 file) I get Firefox, when I doubleclick a JPG I get FastStone and when I doubleclick a PSD file nothing happens at all. Also Photoshop is not in the options I get by right-clicking photos and choosing "Open with...".
    I have tried [ Edit -> Preferences... -> File Type Associations -> Reset to Default Associations ] , but that didn't help.
    Also when I look in the File Type Association dialog, my file types are set to "Explorer Settings", and Photoshop is not among the other options. I don't know how this uses to be (if associations are defined in Bridge or it uses Explorer/Windows settings?), but how do I easily recreate original setup from when I installed Photoshop?
    Regards
    Stig Nygaard
    http://www.rockland.dk/
    http://www.flickr.com/photos/stignygaard/

    Hi Neil
    Thanks for the answer. I'm aware I can manually setup associations one-by-one for all file types I need, but just hoped there was some easier way. I mean there's a lot of file types associated in either windows/explorer or directly in Bridge. Some that I might not know I need tomorrow.  Two things I have found out since I asked the question:
    1) The problem is probably caused by uninstalling my old CS4 after I had installed CS5. It looks like somebody experienced a similar problem by uninstalling CS3 after the installation of CS4: http://forums.adobe.com/message/1899159#1899159. So apparently a bug Adobe hasn't fixed even though it was in previous version too!? :-( I think it is only natural to keep your old version installed for some time when installing an upgrade. Just to make sure the new version works well before you uninstall the previous (And I have previous had the problem that a new version of Photoshop had a habit of freezing on my PC - or some other error I don't remember -  until Adobe released an update. So there's a reason for my behavior).
    2) I have installed a second copy of CS5 now on my secondary portable PC, and are using this to make a similar setup regarding file associations in windows/explorer and Bridge. All associations for Photoshop was lost on my primary PC, and God... there's a lot of file associations to setup again... May I recommend Adobe (if reading this) to fix this bug and/or make a script to automatically recover all associations in case of loss!
    /Stig

  • 3gpp file association in Bridge CS5 Production Premium

    Hello,
    To make the issue really simple, I have a video camera on my phone that outputs video to a .3gpp file extension.
    I am trying to associate Quicktime to open it as the default for Bridge.
    The .3gpp or .3gp file extension is not listed in the file type association under preferences in Bridge.
    Anyone know how I can set this up?
    I do have the files associated with Quicktime outside of the Bridge interface, but whenever i double click the file in Bridge, it plays it in Windows Media Player.  Windows media player will play the video portion, but does not play the sound, also i cannot preview the video in Bridge.
    I am using windows 7 pro 64 bit.
    Any help would be appreciated, thanks.

    Hi Neil
    Thanks for the answer. I'm aware I can manually setup associations one-by-one for all file types I need, but just hoped there was some easier way. I mean there's a lot of file types associated in either windows/explorer or directly in Bridge. Some that I might not know I need tomorrow.  Two things I have found out since I asked the question:
    1) The problem is probably caused by uninstalling my old CS4 after I had installed CS5. It looks like somebody experienced a similar problem by uninstalling CS3 after the installation of CS4: http://forums.adobe.com/message/1899159#1899159. So apparently a bug Adobe hasn't fixed even though it was in previous version too!? :-( I think it is only natural to keep your old version installed for some time when installing an upgrade. Just to make sure the new version works well before you uninstall the previous (And I have previous had the problem that a new version of Photoshop had a habit of freezing on my PC - or some other error I don't remember -  until Adobe released an update. So there's a reason for my behavior).
    2) I have installed a second copy of CS5 now on my secondary portable PC, and are using this to make a similar setup regarding file associations in windows/explorer and Bridge. All associations for Photoshop was lost on my primary PC, and God... there's a lot of file associations to setup again... May I recommend Adobe (if reading this) to fix this bug and/or make a script to automatically recover all associations in case of loss!
    /Stig

  • Restore file associations

    For no reason, the file associations for InDesign CS3 have suddenly disappeared and indd files are associated with no program. How can I restore these? I'm running XP Pro 32-bit.

    Hi Neil
    Thanks for the answer. I'm aware I can manually setup associations one-by-one for all file types I need, but just hoped there was some easier way. I mean there's a lot of file types associated in either windows/explorer or directly in Bridge. Some that I might not know I need tomorrow.  Two things I have found out since I asked the question:
    1) The problem is probably caused by uninstalling my old CS4 after I had installed CS5. It looks like somebody experienced a similar problem by uninstalling CS3 after the installation of CS4: http://forums.adobe.com/message/1899159#1899159. So apparently a bug Adobe hasn't fixed even though it was in previous version too!? :-( I think it is only natural to keep your old version installed for some time when installing an upgrade. Just to make sure the new version works well before you uninstall the previous (And I have previous had the problem that a new version of Photoshop had a habit of freezing on my PC - or some other error I don't remember -  until Adobe released an update. So there's a reason for my behavior).
    2) I have installed a second copy of CS5 now on my secondary portable PC, and are using this to make a similar setup regarding file associations in windows/explorer and Bridge. All associations for Photoshop was lost on my primary PC, and God... there's a lot of file associations to setup again... May I recommend Adobe (if reading this) to fix this bug and/or make a script to automatically recover all associations in case of loss!
    /Stig

  • Problems with Folder view settings and file association in Windows 8.1

    My Windows 8.1 64 bit started forgetting the view settings from a folder.So if I go in a folder and I set it to List-View for example,whenever
    I close that folder and I reopen it the view is set automatically to Details view.And this applies to every folder in my computer except Desktop.It drives me crazy,especially in my pictures folders.
    Also with this problem another one came.I can't set a program to open some files,so the file associations for some files is broken.For example
    i can't set qTorrent to open torrent files.It just won't open them and the files apear as white documents just like I hadn't had a Torrent program installed already.I find it weird that both problems appeared together.
    I previously had to reinstall windows on my machine,because of this problems.It worked normal at the begging,but today these problems appeared
    again.
    I tried scanning SFC
    Scan with no result.
    I hope I will get a fix here.
    Thanks.
    Update:I also just discovered that Metro apps are not working...what the heck its wrong with my windows.

    Hey thanks for the reply ,but I got a fix for everything.Apparently the problem is in the registry.
    So If the problem began recently, you can try this to fix it :
    Press Windows Key + R to show the Run box, type RSTRUI and press enter.
    Choose a recent date and time from before the problem beginning (such as the day before yesterday) and click Next.
    The system will restore registry settings from that day, and restart.
    If you do this however,all the programs you had installed after the restore point date will
    be DELETED   (same with any settings changes made before that date),so be sure to backup things.Hope this will help someone someday. .

  • Lost PhotoShop CS4 File Associations!

    I just uninstalled CS3 on my main PC as I already have CS4 installed on it and no longer use CS3 and needed the HDD space. After I did so, all of my files associations that I had to PhotoShop have now been blown out!  How to do I get all of them all back easily?  I do not want to have to do a reinstallation and I have no idea what all of the file types are that are associated with CS4. Thanks in advance for any and all help provided.

    In Bridge there is a file association menu, check the make sure this is set for CS4.  Otherwise this is probalby a windows thing.  If you have Vista go to control panel/default programs/associate files.  Click on the file and and browse to select CS4 as default program.
    In Windows XP I believe you open windows explorer and click on folder options/details

  • Lost all file associations after updating to CC 2014 and uninstalling CC

    Installed IN, AI, PS CC 2014. Uninstalled IN, AI, PS 2014. Lost all file associations. Win 7 and Win 8. Anyone else?

    read reply #3 about the ORDER of uninstalling & installing
    If you uninstall and reinstall to fix, run the cleaner after UN and before RE
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • Bridge won't open JPG files in Photoshop CS3

    I changed my preferences to remove the check-box "prefer Adobe camera RAW for Jpeg and TIFF files" , restarted Bridge and tried to open a JPEG from bridge directly into photoshop. But double clicking on the image in bridge opened "paint".
    So I change the Bridge preferences back to Prefer ACR for JPEG again, restart Bridge, and then bridge tells me that it cannot find Photoshop CS2. CS2 is not even loaded on this machine anymore.
    So then I go to the file type associations preferences and "browse" to the CS3 version of photoshop, restart bridge, and double click on a JPEG and it again says that CS2 cannot be found. I change the association again using the "browse" to CS3 and then it opens the image up in "Paint" again.
    Why won't Bridge open JPEG's in ACR anymore?
    Why won't bridge open JPEG's in Photoshop CS3 anymore?

    Bill, thanks for the reply. But I do not think that the file associations is the answer here. If I am using bridge to open files in ACR or Photoshop, I do not believe that I need to change the windows file type association. I have other PC's where the file association is not photoshop and bridge works fine opening these files. In fact, when using windows explorer to navigate JPG files, I do NOT want photoshop being opened to preview these images. On my other PC's, I can both preview JPG's using windows picture viewer, and open the JPG's via bridge in ACR. Furthermore, Photoshop CS2 is NOT the application listed for JPG's in the folder options in the control panel. So the problem that I have here has something to do with Bridge or perhaps something is corrupted int he files.
    The reason why I suspect a corruption, is that not all files behave in the same manner in bridge. Some files with the same extension open as I would expect, while others do not. I did not realize this fact when I made my original post.

  • Can't open EPS files in Illustrator CS3 since installing CS6

    I'm on Windows 7, and need to be able to open .eps files with Illustrator CS3. Since installing CS6 yesterday I'm no longer able to associate EPS files with Illustrator CS3. When I right click an eps and go to "open with", only Illustrator CS6 is listed. When I "choose default program", only Illustrator CS6 is listed. If I "browse" and manually select the Illustrator CS3 executable, it still defaults to CS6. Using the same process with .ai files works fine, there is no issue. However these .eps files are not behaving like .ai files. If anyone could suggest a solution to my problem I would be very grateful.
    EDIT:
    Also, attempting to set the default program through the "set associations" control panel doesn't work, after selecting the Illustator CS3 executable it still shows up as CS6.

    Some research solved my issue. Need to create a registry entry for Illustrator CS3 (v13) in the eps file extension section of the windows 7 registry.
    1. Navigate to:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.eps\OpenWit hProgids
    2. Create a new "binary value" key called "Adobe.Illustrator.13" (leave the value blank).
    That's it. CS3 is now a valid choice for eps files. Hope this helps anyone who has the same issue.

Maybe you are looking for