File Opener

There are many file openers out there, but each one lacks some features that I really need. Here's what my ideal file opener should be like:
1. Store configuration in plain text in a simple parseable format. Ideally, 1 line per type or program or method of opening, so a script can simply extend the configuration by adding another line
2. Allow the user to open the same file in different ways. (e.g. open a video windowed, fullscreen, audio-only, etc. configurable by the user)
3. Allow running the same file file with different programs (videos with mplayer, mlpayer2, VLC, totem,...)
$ open --with mplayer foo.avi # runs mplayer
$ open --with vlc foo.avi # runs VLC
$ open foo.avi # runs the default program
4. Ship with a configuration that recognizes the type of most files and opens them out of the box.
$ open asdfjkl # AND IT JUST WORKS
5. Support determining file types based on multiple factors: mime type, extension, full file name and path
$ open foo.c # runs "gcc foo.c && ./a.out"
$ cd myproject; open bar.c # runs "make && ./bar"
6. Run different programs, depending on whether X runs or not, whether STDIN is a keyboard,...
$ open foo.html # runs "firefox foo.html"
$ DISPLAY= open foo.html # runs "elinks foo.html"
$ : | open foo.html # runs "elinks -dump foo.html"
7. Enumerate all possible methods to open a file, and choose the method based on an entered number
$ open --list foo.png
0: feh (windowed)
1: feh (fullscreen)
2: gimp
$ open --method=2 foo.png # runs gimp
8. Have an unnoticable startup time
9. Have GUIs for curses and for X that allow you to quickly pick a program and add new file types/programs.
Ranger has a file opener that can do most of those, but fails at #1, #6 (fails if STDIN is no keyboard), #7 (no listing), #8 and #9.
AFO (Automatic File Opener) is a prototype that improves in #1, #7 and #8 over ranger, but I'm still not quite satisfied.
Some day I want to code a file opener that can do it all, but first I want to ask you:
What do you value in a file opener? Are there important features that I missed? What's the best file opener that you came across?

I fixed a few bugs and improved the ability to accept input. The syntax is now a bit different.
open foo.bar                               # opens foo.bar in first match of "bar" in config
open -m auto|manual|list foo.bar  # changes selection mode (the -m option also takes a|m|l)
open -n 2 foo.bar                        # opens foo.bar in second match of "bar" in config
Here's the code:
#!/bin/sh
# Simple file opener based on file extension
# Depends: libnotify, dmenu, slmenu, cut, sed, grep, tr
# --CONFIG--
extlist="$XDG_CONFIG_HOME/open/extlist" # Location of list of extensions
delim=":" # Which character to use for delimiter in extlist file
default_mode="auto" # auto/manual (set to auto for automatic program selection)
dmenu_default=1 # Controls whether dmenu is used by default in X
# ---END----
number=""
mode="$default_mode"
explicitmode=0
stdredirected=0
if [ -t 0 ]
then
interactive=1
else
interactive=0
fi
if [ -z "$DISPLAY" ]
then
dmenu_default=0
X=0
else
X=1
fi
eval set -- `getopt -n open -o m:n: -- "$@"`
while true
do
case "$1" in
-m) mode="$2"; shift 2; explicitmode=1;;
-n) number="$2"; shift 2;;
--) shift; break;;
*) echo "Invalid option"; exit 1;;
esac
done
case "$mode" in
a) mode="auto";;
m) mode="manual";;
l) mode="list";;
esac
if [ -n "$number" -a ! "$mode" = "list" ]
then
mode="auto"
fi
if [ $interactive = 1 -a $dmenu_default = 0 ]
then
if [ -e $HOME/.slmenurc ]
then
. $HOME/.slmenurc
else
SLMENU="slmenu -i"
fi
menu="$SLMENU"
else
if [ -e $HOME/.dmenurc ]
then
. $HOME/.dmenurc
else
DMENU="/usr/bin/dmenu -i"
fi
menu="$DMENU"
fi
fn=${@: -1}
if [ -z "$fn" ]
then
while read input
do
fn="$input"
done < /dev/stdin
stdinredirected=1
fi
if [ -z "$fn" ]
then
if [ $interactive = 1 ]
then
echo "No filename given"
else
notify-send "No filename given"
fi
exit 1
fi
if [ ! -e "$fn" ]
then
if [ $interactive = 1 ]
then
echo "Invalid filename"
else
notify-send "Invalid filename"
fi
exit 1
fi
hasext=$(echo "$fn" | sed -e '/\(\.\)\?\(.\)\+\.[a-zA-Z0-9]\+$/! {d}')
if [ -z "$hasext" ]
then
if [ $interactive = 1 ]
then
echo "'$(basename $fn)' has no extension"
else
notify-send "'$(basename $fn)' has no extension"
fi
exit 1
fi
ext=${fn##*.}
all=$(sed '/^\#/d' "$extlist")
suitable=$(echo "$all" | sed -e "/$delim *\(\([a-zA-Z0-9,]*,\)\?$ext\(,[a-zA-Z0-9,]*\)\?$\)/I! {d}")
if [ "$stdinredirected" = 1 ]
then
noninteractive=$(echo "$suitable" | sed -e '/^|/! {d}')
if [ -n "$noninteractive" ]
then
suitable="$noninteractive"
fi
else
suitable=$(echo "$suitable" | sed -e '/^[^|]/! {d}')
fi
if [ $X = 1 ]
then
suitable=$(echo "$suitable" | sed -e '/^[^@]/! {d}')
else
suitable=$(echo "$suitable" | sed -e '/^[%@]/! {d}')
fi
if [ -z "$suitable" ]
then
if [ $interactive = 1 ]
then
echo "No program found for extension '.$ext'"
else
notify-send "No program found for extension '.$ext'"
fi
exit 1
elif [ -n "$number" ]
then
if [ $(echo "$suitable" | wc -l) -lt "$number" ]
then
if [ $interactive = 1 ]
then
echo "Invalid number: '$number' (Not enough options)"
else
notify-send "Invalid number: '$number' (Not enough options)"
fi
exit 1
fi
fi
if [ $(echo "$suitable" | grep -e "^ *$delim$delim") ]
then
if [ "$explicitmode" = 0 ]
then
mode="manual"
fi
fi
namelist=$(echo "$suitable" | cut -d "$delim" -f 1 | tr -s ' ')
if [ "$mode" = "auto" ]
then
if [ -z "$number" ]
then
number=1
fi
command=$(echo "$suitable" | sed -n "$number"p | cut -d "$delim" -f 2 | tr -s ' ')
elif [ "$mode" = "list" ]
then
if [ -n "$number" ]
then
echo "$namelist" | cat -n | sed -n "$number"p | cut -d "$delim" -f 1
exit 0
else
echo "$namelist" | cat -n
exit 0
fi
elif [ "$mode" = "manual" ]
then
if [ $(echo "$namelist" | wc -l) -gt 1 ]
then
selection=$(echo "$namelist" | eval $menu -p "Program:")
if [ -z "$selection" ]
then
exit 1
fi
else
selection="$namelist"
fi
selectionln=$(echo "$namelist" | grep -xn "$selection" | cut -d "$delim" -f 1)
if [ "$selectionln" ]
then
command=$(echo "$suitable" | sed -n "$selectionln"p | cut -d "$delim" -f 2)
else
command="$selection"
fi
fi
case "$command" in
*\"\$fn\"*) eval $command;;
*\$fn*) command=$(echo "$command" | sed 's/\$fn/"\$fn"/g')
eval "$command";;
*) eval "$command \"$fn\"";;
esac
The config file looks like this:
# Format = Name:Command:Extensions
# Use commas to separate extensions
# Begin a name with % to make it available outside of X
# Begin a name with @ to make it available ONLY outside of X
# Begin a name with | for it to be used when stdin is redirected (implies %)
# Movies
%Mplayer : mplayer : avi,wmv,asf,mp4
%Mplayer (Fullscreen): mplayer -fs : avi,wmv,asf,mp4
VLC : vlc : avi,wmv,asf,mp4
# Music
%Mplayer : mplayer : mp3,ogg,flac,wav
%Mp3blaster : mp3blaster : mp3,ogg
%Aplay : aplay : wav
# Images
Viewnior : viewnior : jpg,png
Gimp : gimp : jpg,png,xcf
@Fbv : fbv : jpg,png
# Text
Gvim : gvim : txt,conf,c,py
@Vim : vim : txt,conf,c,py
%GCC : gcc "$fn" -o a.out : c
# HTML
Firefox : firefox : html
@Links : links : html
# Redirected input
|Cat : cat : c
|Links Dump : links -dump : html
# User input will always be required for extensions prefixed with double colons
::avi,c
@ indicates a program that will only be run when not in X.
% indicates a program that doesn't care if X is running or not
| indicates a program that will only be run if the input was originally redirected to the script, eg. "echo foo.bar | open" or "open < input.txt"
For now, these symbols appear in lists and selection menus.
As before, mimetypes aren't handled, behaviour doesn't change based on the path, and the code is a bit hacky. Tested on bash, zsh and ksh.
@hut I had a go at the item on your list where you wanted ": | open foo.bar" to behave differently to "open foo.bar". How would you do that? The only way I can think of is to check for an interactive shell, but then it flags things like gmrun and dmenu_run as non-interactive, which limits what you can do with those tools. I've included a check for whether the input was given as an argument or redirected. That way, "echo foo.html | open" can behave differently to "open foo.html". But my shell scripting skills aren't capable of anything more than that!
Last edited by mutantpineapple (2012-02-16 22:21:30)

Similar Messages

  • Photoshop CS4 Crashes on File-Open

    After using Photoshop CS4 for 9 months, I now get an instant crash whenever I open an image with File-Open. I see the image I wanted to open for a few seconds at the back of the error message (1st screenshot, below) and then it disappears - on clicking OK on the first error message, I get a second error message (2nd screenshot, below). I upgraded to version 11.0.1 - no difference. I have completely uninstalled all plug-ins - no difference. I have completely uninstalled and then reinstalled Photoshop to version 11.0 - no difference. I have upgraded a clean install to version 11.0.2 - no difference. I have deleted the prefs file - no difference. I deleted a set of new fonts I had installed after reading a thread on this forum - no difference. Occasionally, I CAN open a file from Windows Explorer with the right-click menu Open With... Adobe Photoshop CS4 then, after doing that, FIle Open does not cause a crash for opening one file, sometimes 2 but then I get the crashes again until the next time I run Photoshop but it seems random as to when it will open a file or not.
    I am now considering uninstalling all Adobe products, manually clearing out the registry and then trying another install but all this is taking time I don't have.
    Does anyone have any other suggestions I could try. I am getting desperate!
    Thanks in advance for any help you can give.

    Memory address issues can be tough to track down. Often, they will occur when a program either mis-reports the memory addresses used, or tells the OS that it has released them, when it has not.
    Though written with video editing in mind, there still might be some tips for setting up your computer, in this ARTICLE. If you have Win7, please look down-thread for Black Viper's tuning page.
    Now, Adobe programs have always been great at reporting their memory usage, but it could still happen - I've just never encountered it over the decades.
    Good luck,
    Hunt

  • Trying to create a Photomerge in Bridge, when the files open in Photoshop ( small jegs ) , I get a error message of " Unable to process latte files " / " null is not an object "

    Trying to create a Photomerge in Bridge, when the files open in Photoshop ( small jegs ) , I get a error message of " Unable to process latte files " / " null is not an object "
    Please help

    Wait a second, Photoshop can make lattes now?  Personally I prefer my coffee black, but man have I been under-utilizing this program.

  • Adobe reader xi i am running 2 display screens and when i have a file open and go to print the print page opens on my second screen.  How can I get adobe reader to just display on one screen?

    adobe reader xi i am running 2 display screens and when i have a file open and go to print the print page opens on my second screen.  How can I get adobe reader to just display on one screen?
    I want the capability of adobe reader to just run on one screen.

    I had the same problem.
    Try this.
    https://igppwiki.ucsd.edu/groups/publichelpwiki/wiki/a1538/Howto_Disable_Acrobat _as_the_Safari_PDF_Viewer.html

  • I have recently updated my CC programs to the latest version and now all of my files wont open by default into their respective programs, only if I open the program and go to file open and open the file from there. How can I fix this?

    I have recently updated my CC programs to the latest version (CC2014) and now all of my files wont open by default into their respective programs, only if I open the program and go to file>open and open the file from there. How can I fix this?
    I have tried 'Open with' and the version of the program now installed on my computer isn't even suggested as an option and when I browse for it, the file wont open with it anyway

    On Windows (don't know about Mac), the latest version will always take over the file association, and become the default for indd files. It's impossible to change it.
    But there is a plugin for ID that makes this possible. Never tried it myself.
    https://www.rorohiko.com/wordpress/downloads/lightning-brain-soxy/

  • On my mac when i click on pages, a new document doesn't open instantly  but a window with my files open and then  have to click on the left bottom new document in order to open one. How can i have directly a new document when i click on pages icon

    On my mac when i click on pages, a new document doesn't open instantly  but a window with my files open and then  have to click on the left bottom < new document> in order to open one. How can i have directly a new document when i click on pages icon

    How to open an existing Pages document?
    Click Pages icon in the Dock to launch Pages.
    When Pages is open, click File menu in the  Pages menu bar.
    Select “Open”.
    When the select document  dialog box opens up, highlight/select the document and click “Open”
    at the bottom right corner of the dialog box.
    s
    https://support.apple.com/kb/PH15304?locale=en_US

  • Launching file open dialog box in Forms 6i

    hi,
    We have to launch file open dialog box using forms 6i within oracle apps
    and store the file into the database.
    Any ideas?
    Thanks,
    AZ

    Hi azodpe
    i have a solution(Source Code) plz give me ur email address
    i ll mail u later.
    Khurram

  • File Open Dialog Box

    Under my install of Vista Enterprise on an AD network, I'm am not getting the "computer" option to access local and network drives when I select "File/Open".  All I get is the redirected "home" directory for that user.  True for all Adobe applications (have the latest Creative Suite 4).  Other Windows apps using Windows file/open dialog box can get to the network.  Tech support said I should have an option to select the OS dialog box, but I do not see that on my install.

    In Edit > Preferences > File Handling, uncheck "Enable Version Cue".  This is where you will find it in CS4; earlier versions may have slight variations.  In some versions, you may also get a checkbox in the file open dialog (down at the lower left, as I recall) that lets you select OS dialog or Adobe dialog.   Also, in Bridge (again CS4), go to Edit > Preferences > Startup Scripts, and uncheck Adobe Version Cue CS4.  (I have this unchecked, and even with Enable Version Cue checked in PS I don't get the Adobe dialog or the option to set it, so the setting in bridge seems to be the master.)

  • File Open Dialog Box Hiding Behind - Urgent

    Hi All
    We have write code for Opening File in File Open Dialog Box. But its stays in inactive mode behind SBO. Once we press ALT +TAB only then we can see it. How to Activate it or make it visible automatically in SAP Business One.
    The Code for Opening File we have written is in C#
    <b>OpenFileDialog objOpenFileDialog = new OpenFileDialog();
    objOpenFileDialog.InitialDirectory = System.Windows.Forms.Application.StartupPath + "
                        objOpenFileDialog.Filter = "Excel files (.xls)|.xls";
                        if(objOpenFileDialog.ShowDialog()!= DialogResult.Cancel)
    string ExcelFilePath = objOpenFileDialog.FileName;
    }</b>
    Thanks in Advance
    Asutosh

    Common problem... Do the following instead.
    System.Windows.Forms.Form form = new System.Windows.Forms.Form();
    form.TopMost = true;
    OpenFileDialog objOpenFileDialog = new OpenFileDialog();
    objOpenFileDialog.InitialDirectory = System.Windows.Forms.Application.StartupPath + "\";
    objOpenFileDialog.Filter = "Excel files (*.xls)|*.xls";
    if(objOpenFileDialog.ShowDialog(form)!= DialogResult.Cancel)
    string ExcelFilePath = objOpenFileDialog.FileName;
    That should do it

  • File Open Dialog Box  on Button Click

    Hi
    I am devloping some webpages using JSF and RichFaces..
    I would like to appear File open Dialog box to choose single file and multiple files and another Folder chooser dialog box to choose the folder content..
    Both the operation should be performed while choosing the Button Choose File and Choose Folder...
    I have already tried Input type = file and aphace tomohawk..
    But i all the components are coming with text box and browse button..
    I dont need that. I need to open the dialog box once i clilck my choose file r folder button and it should work browser indepent.....

    HTML doesn't provide you the possibility to select multiple files or select folders at a single browse. Thus JSF can't do any much for you. Best what you can do is to write a signed applet or web start application which does the task. The Mojarra Scales component library has a ready-to-use component which embeds an applet which does that task. Check [https://scales.dev.java.net/multiFileUpload.html].

  • File open dialog box broken in all apps! ( 10.5.6/7

    Hi, I've got a very odd problem that Apple phone support seem to be unable to solve.
    Basically, every file open dialog box system wide is broken, from file->open in textedit to the browse button on websites for uploading files.
    When trying to display this finder panel, it beachballs for ten seconds then gives me a grey area where the usual finder browser usually resides and the open / cancel buttons at the bottom of the panel.
    I've repaired permissions which had no effect.
    The finder works perfectly other than it's little file open dialog which other applications use...
    Updating to 10.5.7 did nothing to fix the issue.
    Does anybody have any idea how to resolve this?
    Thanks!
    chris.

    V.K. had you create another user to eliminate the possibility that it is a preference file causing the problem. It was reported the problem remained with another user, so the problem is system wide, not with a single user's preferences.
    The Archive & Install is relatively painless. It only replaces the system and leaves everything else untouched. What is replaced is saved in a new folder it creates named Previous System, in case there is something there you might want to bring back (most often 3rd party files, but I have never needed anything from the Previous System folder).
    The only hassle with the A & I is resetting preferences. If you check the option during the A & I to retain user settings, there is usually not very much that needs resetting.

  • Save As / File Open dialog boxes too large to use on laptop

    I have a Macbook Air and am using one of the new Apple LED Cinema Displays, although this problem was also present when I was using my older Apple Studio Display.
    The problem is that some of the system dialog boxes, notably File Open and Save As are huge when I am just using my Macbook with no external screen. They are so big i cant see the lower right drag handle and make them smaller and cant access buttons at the bottom like "New Folder".
    I think this is because I resized the dialog box when I last had my large external monitor connected and now that it is not connected (I'm at home on holiday not at work) I cant find a way to make them reset to their normal size.
    Does anyone know anything that would help? I've had a good search online and also in these forums and havent found anything - but apologies if I've missed an existing open thread.
    Thanks,
    Glenn.

    This did not work for me - and in my case it was the "Export" Save As sheet in Keynote. There is a real solution for this problem. Firstly all user 'preferences' and these are things that include not only preferences set in the application's preferences window but also window position, size, recent items etc. are stored in the preferences .plist file for an application (stored in the users account Library folder) . If an application starts to behave strangely, crashes on start etc. deleting this file while the application is NOT running can often fix a problem. So if a window is in an unusual location or partially off-screen then trashing the file often will fix the problem (BTW - if you are unsure how to find the file activate the Finder and select the "GO" menu -> "Go to Folder" and type ~/Library/Preferences - make sure you are not in the System's preferences folder - deleting these items is typically bad...). Preference files for an application are typically named com.companyname.programname.plist. So for Keynote the plist is com.apple.keynote.plist. Preferences are recreated when the application is launched. Often though this is a bit extreme. If you double click a plist file the "Property List Editor" application will start (at least if you have the developers tools installed - all free and on the Leopard DVD - with a free Apple Developer ID you can also run the most up to date version pre-snow leopard). In the plist editor all of the various options available in the program are listed - ones from the preference panel and other application information. In the case of Keynote (possibly other apps - I haven't checked) the NSNavPanelExpandedSizeForSaveMode key stores the size of the Save/Save As sheet. I downsized from a 17" MBP to a 15" MBP and the string size for this was 682 wide by 843 tall in pixels - my screen is only 900 px and once you consider the space needed for the application menu bar and tool bar the dialog buttons were 'just' barely visible - tauntingly so. I dropped the height to 743, saved the plist and reopened Keynote (remember to edit these while the application is not running - and always save a copy first before editing the file). This worked for me perfectly and unlike other suggestions here provides precision control. Now having said that 1) these files are XML and can be edited using a text editor but the plist editor is much prettier; 2) typically the keys are named using their appropriate Coca names for the property - but each developer can and does write their own code often deviating from Coca - hmm MS, Adobe come to mind - so remember that its good to read through the plist and Google to make sure that you are editing the correct information; 3) plists are automatically recreated if you really screw-up and need to delete - unfortunately in doing so Word will forget that no-one actually likes "when editing automatically select the whole word" so you will need to redo all of those kinds of preference tweaks.
    D.

  • Crystal Report 2008 File Open limit

    In Crystal Reports 2008 when selecting File > Open > Enterprise  The number of files listed in each directory looks to be limited to around 25 files.
    If I have a directory with more then that number of files, I have to move the file to another folder or rename it (using CMC) so it shows up in the first bunch of files if I want to open it.
    Is there a way to increase the number of files shown in the Enterprise window?
    Thanks

    Hello,
    Not exactly clear what you want? Save your reports to your D drive would be my first guess.... If you are referring to the \temp folder then change your system Environment Variable from the default to d:\temp and also change the TMP to d:\Tmp.
    You could even set your Swap file to d drive also. I suggest you contact your IT department or search Microsoft's site on how to optimize hard drive space when it's limited. PLEASE back up everything first before making changes to your swap file location, if you don't do it right you may not be able to start windows.
    Thank you
    Don

  • Office for the Mac - file open slowness, freeze, or crash

    When I select the File - Open window, any of the Office programs take a few minutes to display all of my files in the Documents folder. When they are finally displayed, any attempt to scroll through the list or go to a specific file results in the Mac's spinning wheel being displayed. Quite often, nothing happens after the wheel stops spinning. Sometimes, it just continues to spin. Consequently, it is almost impossible to use the File - Open window in Office to select a file to open. The only way I can do so is to use Finder to display my files in the Documents folder and then selecting them in that program's File - Open window.
    When the wheel is spinning, Force Quit says that the specific Office program being used is "not responding." Usually, I use Force Quit to close down the Office program if it has frozen, crashed, or been slow using the File Open window.
    I spent an hour yesterday with Microsoft Support on the problem. The conclusion of the tech was that I had too many files in my Documents folder. I pointed out that other programs such as FileMaker Pro didn't have this problem. The tech's response was that Office has to scan the entire Documents folder every time the File Open window is opened, but that FileMaker Pro stores a list of the last files in the Documents folder and doesn't rebuild the list every time.
    I am skeptical of this "answer." The problem didn't exist until a few months ago.
    My computer is a MacBook Pro 2.3gHz with 16 GB of RAM and a 750GB hard drive which has about 500GB free. This is a fairly fast machine with a Geekspeed of 10688. I was running the latest Mac OS Yosemite 10.10.1. The problem first surfaced with Office for the Mac 2008 about 3-4 months ago running Mac OS 10.10.1. I installed Office 365 yesterday, and and Mac OS Yosemite 10.10.2 today, and nothing changed.
    The only solution that I know of is to take a lot of time to segregate my files in the Documents folder into more subfolders (I already have quite a few). That I am loath to do, because the solution doesn't work very well. It takes about a minute to select a subfolder in the File Open window, and then about another 30 seconds before Office allows me to scroll through a relatively small number of files (e.g., 100 files) in the subfolder.
    When this question was posted to the Microsoft Community, I was directed to an article talking about problems with Office and Mac OS. None of the solutions worked, probably because the article considered only Office X and Office 2004 for the Mac and OS 10.2 and 10.3.
    Help, please!

    1) Verify that Office is fully updated. v14.4.7
    2) I suggest you run Font Book and vailidate your Fonts. Microsoft installs duplicate fonts and after you clean up your fonts, this has often fixed odd issues with Office.
    Office 2011 Duplicate Fonts to Delete
    3) Delete the com.apple.LaunchServices file in your User's Library/Preferences folder. Log out under the Apple in the Menu bar and test. More info
    If this fails to fix....
    Testing in a new User will quickly tell you if the problem is system wide or if it's your User's folder that contains the problem.
    Put a few test files in the Shared folder. Data in the Shared folder can be accessed by another User. When you "Switch Users", you can access the files in the shared folder. After you log into the new test User, drag from Shared (it actually copies). Put the test files in Documents.
    Open Word. It won’t be in the Dock in the new User. Go to Applications to open.
    Do you still see the issue?
    If yes, you can eliminate the number of files in your Documents folder.
    If no, then you might want to do a clean up in Documents.
    *Remember to drag files back from Shared when you log into your main User.
    **(Fair disclosure: OfficeforMacHelp is my site. I may receive some form of compensation, financial or otherwise, from links on my site.)

  • CS5 can only open images from file open

    I've done some googling/forum searching to no avail so far. Entering my exact error only directed me to some twitter statuses, so I'm hoping someone will be able to help.
    Basically, CS5 gives an error if I try to open images by: dragging from finder, double-clicking from thunderbird, using the edit tool in Acrobat Pro, double-clicking in Bridge and probably a number of other situations.
    As the topic states, it only seems to be able to open files via File > Open (Open Recent also appears to work). Other than that, CS5 appears to be working normally. It's more of a nuisance than anything, but it's disturbing my workflow quite a bit, so that's why I've decided to post about it.
    Now here's the kicker: This new development seemingly coincides with installing some drivers (that's assuming they are called drivers in the OSX world) for a Lexmark 654de scanner/copier we just had installed here at work. I searched the computer for "lexmark" hoping I could trash some related files but literally nothing shows in the results.
    You may argue, genuinely, that I should be posting this on some kind of Lexmark forum, and I may end up doing that. I assume a forum of photoshop users to be more helpful than Lexmark support forum if they even have one, though.
    Error Text is as follows: The document "whatever.jpg" could not be opened. Photoshop cannot open files in the "Adobe Photoshop JPEG file" format.
    Insert TIF for TIF files, PDF, etc. It seems to happen to all the common filetypes I use. Neither InDesign nor Illustrator are experiencing similar issues (if that helps).
    Standard infomation:
    Adobe Photoshop CS5 version 12.0.2 x64
    Mac OSX 10.6.6
    8GB RAM
    952.98 GB Free Space
    512mb ATI Radeon HD 5670
    Lexmark 654de scanner/copier/fax machine could be related to the problem
    Thanks for reading and offering any advice you may have.

    This is a long shot but try going to Preferences/Type and uncheck "Show Font Names in English".
    Quit illustrator and restart, does it work now?
    The reason I´m suggesting this is that unless I have this box unchecked, some internal function in illustrator crashes after I´ve opened one document and I have to quit & restart if I wan´t to open another one. A rather silly bug and I stumpled upon the solution by accident after cursing illustrator for a couple of months...

  • I cant edit an CS4 file open in CS6. Colours, Most of the tools are in-active

    I cant edit an CS4 file open in CS6. Colours, Most of the tools are in-activeC

    once is enough to ask. Editing problemCS6

Maybe you are looking for

  • Cancel (reverse) Return Order, PGR not possible due to storage bin in 904

    Hi gurus hope someone can explain in detail with transaction what am I missing since I'm MM guy and dont know very well SD transactions but here's my scenario, There is a return order with a delivery (1110500002), then PGI (651), this drive me to pro

  • I can't burn a CD.  Error Code 4280 why is this?

    I just purchased a CD of itunes.  When I went to burn the cd onto a disc all it says is something about error 4280.  I do have the current updated version of itunes.

  • How do I remove an old scanner from the File_Import sub-menu?

    I'm running Photoshop CS6 under Windows 7-32bit, on a Dell Optiplex 360 with 4GB of RAM installed. My hard drive has 96GB of free space, so system resources seem adequate. I recently replaced an old multi-function printer and a flat-bed scanner with

  • Recording to DVD Error

    I get the following error when I try to burn to a DVD. "this disc could not be verified and might be unreadable. Try again using a new, blank disc. (error code 0x80020063)" This happens at the end of the process. Looking at the disc after it appears

  • Fonts in iBooks.

    Hello! Can I change  the font on PDF books on iBooks as well as highlight words?