Use HyperLink(mailto:...) to open a file?

A question was posted previously about linking to an image file. The HYPERLINK function allows this if the image is on a web server and can be accessed via http:// but you can't use HYPERLINK to access a local file on your computer (or at least I can't seem to). The HYPERLINK function will also take a mailto: command and will open up your mail client with the address, subject, and message of your desire. I was wondering if it could also use the "attachment=..." part of the mailto command to attach a file to the email. Thus you could bring up a local image in your email client. I failed at getting it to work but I may have been formatting the command wrong. Anyone have experience with the proper formatting or anyone know if this is not a supported functionality?

As System Events returns an URL when we ask it for a file's properties, I tried to use this URL with no results but the files where on a single machine.
Maybe it behaves differently on a network.
To get the URL I uses this script:
set thefile to "Western 4:photos ???:PA030012.JPG"
tell application "System Events" to get URL of disk item thefile
the result is something like:
"file://localhost/Volumes/Western%204/photos%20%3F%3F%3F/PA030012.JPG"
%20 is the description of the space character
%3F is the description of the question mark character
Yvan KOENIG (from FRANCE vendredi 17 avril 2009 21:56:16)

Similar Messages

  • File hyperlink doesn't open link file, says 'No permission'

    Hi,
    I have created some pdf file links in Evernote and when try to open them systems says "The file __ couldnt be opened because you dont have permission". I am the only user on my mac(OS 10.8.3) with admin privilege and checked all permissions it is "Read/Write" for me. Also all those files were created by me.
    But when I open the file manually in preview and close the window (Not Preview application), and then click the hyperlink it opens it. So I am not sure what to do, apparently these file links does not work when document is not opened by preview application.
    I also have a hyperlink for a document (Pages) but that opens perfectly fine.
    I searched in community forum and someone suggested to repair file permissions using disk utility. I tried all that but no results.
    Please help and thank you .
    Shan

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • When I download a .pdf file using mozilla, I cannot open that file despite having adobe reader on my desktop. I cannot save the file to open at a later time

    I wished to view a .pdf file of a vehicle brochure. Mozilla found the brochure ok, but would not let me view it or save it. I ended up having to use IE to download and then view the file. How do I enable Mozilla to allow me to view .pdf files< I have Adobe Reader 9 installed on my PC (using Dell and Window 7)

    https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox
    https://support.mozilla.com/en-US/kb/Opening+PDF+files+within+Firefox

  • Using web.show_document to open xml file

    I have successfully created an xml file and saved it to a directory on my hard drive. I was tyring to find answers to Client_OLE2 and stumbled upon Web.Show_Document to open this file. Essentially the file is in a spreadsheet format so when I manually open using IE then Excel is launched. Anyway, currently I am running forms locally and have set a virtual-directory virtual-path in my orion-web.xml file. My virtual path is /report_tmp/. So in my form I have issued the following call to launch a browser and display the file:
    Web.Show_Document('/report_tmp/'||v_filename, '_BLANK');
    This call does not produce any errors nor does it display the file. What am I doing wrong?
    Thanks,
    c

    Is the browser launching?
    If it is have you tried a show source on the browser window?
    Sometimes if you open an XML file in a browser you get a blank page but the XML is there. Something to do with the XML format I think. I'm no expert on XML just a behaviour I have observed.

  • Using adobe reader to open PDF files.

    I downloaded, and had to delete and try again, adobe reader.  I couldn't open the PDF files I wanted to.  What did I do wrong?  I tried this 3 times.  One sight I needed to download and print allowed me to go to my applications open Adobe Reader and download it then to my computer. However, then I had to securely trash it as it wasn't something I wanted to keep on my computer being a finance page.  Another company I tried to do it that way after it said it coudn't read it, and it didn't work.  I never had this trouble before until I downloaded this new adobe reader.  What did I do wrong?

    Thank you for the reply.  Answer to your operating system I have is:  Mac OSX Version 10.7.5
    I did download and install  Adobe Reader XI  11.0.0
    This is a different version that I first had, and I don't know where the first version went.
    This all started when our internet provider had problems that went to all areas.  I might have been working on something when I lost my original...now sure.
    When I tried to download a bank statement (and I tried to different banks using Firefox and Safari) I get the message:
    "Adobe Reader Cannot Show Documents in this browser.
    We are sorry, but Adobe Reader is unable to show documents in this browser configuration. Please use your browser to download this file and open it in Adobe Reader or Adobe Acrobat.  To avoid this message in the future, many browsers provide a way to turn off add-ons, and some are able to show this document, natively.  Please contact your browser vender for more details."
    I don't know what they mean by "natively."
    Then I get a gray screen that said adobe plug-inn had crashed so I could report it so I did.  Nothing happened with that.
    Next, I checked to see that my add-ons were turned off and they were, but then I saw the plug-in section and ran it to see if my plug-in's were up-to-date.  All were except when I came to Adobe Acrobat NPAPI Pug-in, Version 11.0.11.   Under it was a notice:  Notice Adobe recommend Acrobat Reader 9.3.  So I clicked on that and it brought me back to the screen to download Adobe Reader XI 11.0.0.  This seems to have brought me back to the beginning of the circle.
    ?  I definitely am stumped.  I guess I'm going to try to internet to see if I can get to Acrobat Reader 9.3.
    Thank you.  Eilsher

  • Wish app do I need to use in iCloud to open Idraw files after I have backed to iCloud?

    Wish app do I need to use to open Idraw app documents in iCloud?

    iDraw is the only app that can open iDraw files. If the app allows you to save documents to iCloud, then you use the same app to load them back into.
    If the documents are backed up as part of an iOS device backup to iCloud, they cannot be opened outside of the iDraw app. An iCloud iOS device backup can only be restored in full to the same or another iOS device. Individual files contained in the backup cannot be accessed.

  • Hyperlink does not open pdf file

    I am using reader 9.3 in windows 7 on a new netbook.  After installing reader, my documents open just fine
    except when I try and use a hyperlink in a word document to open a pdf, I keep getting a NO PROGRAM IS REGISTERED message.  I have tried the open with selection and made sure the ALL FILES OF THIS TYPE is linked or checked, and the same thing continues to happen.  I have done the repair and reinstall.  Still does not work with a hyperlink.
    What is going on?
    John Simms

    Sounds like a "file association" problem, have you tried different browsers? Also, when you installed the application were there any checkboxes for like firefox (or other browsers) integration? What browser do you use now? Tr reinstalling your internet browser and it will probably work for you.
    Best regards
    Leif

  • I used to be able open video files in Photoshop CS6. When I try to open it now it says "Could not complete your request because it is not the right kind of document."

    I don't know what I did. I started messing around with After Effects and accidentally opened up Adobe Media Encoder Queue. After that, that's when I noticed the problem. I can still import the video frames into layers but I can't open it up directly. I tried opening .avi, .mkv, and .wmv files. Also just noticed I'm missing the "change timeline view into video view" button.  Any help will be appreciated! Thanks.

    You either borked your hardware acceleration stuff by changing graphics settings/ installing a different driver or you messed up your CoDecs (and the associated hardware acceleration options) by installing a Codec pack or alternate media player... Impossible to be more specific, since you haven't bothered to provide even the most basic system info.
    Mylenium

  • How to Use Associated App to open a file in Linux command line?

    Hi all,
    I know in windows i call always run:
    Runtime.exec("start aPicture.jpg");in order to use the default picture viewer to view the pictures
    Runtime.exec("start aEmail.eml");in order to use the default email viewer to view the .eml file
    is there a simular command in linux as well? does it depend on different distributions as well?
    thank you.

    is there a simular command in linux as well? does it
    depend on different distributions as well?In linux it's different because the handling is done by the desktop environment. KDE has it's own file associations and Gnome has it's own. There might be some way to start a file like that, but you first need to see which DE is installed (if any) and start it using that DE's method.
    But I don't know how to do it, even though most likely it's possible.
    Sincerely,
    Jussi

  • Tried uninstalling but it wont fully uninstall yet i cant use it, but it opens PDF files instead of PDF looking regular

    I had the trial version and went to uninstall it off of my computer once i decided i wouodnt be using it,
    It says thats its still installed on my computer and then when i go to hit uninstall again it wont do it. It runs an error.
    I notice that when I try to save thngs as PDF that is the default program that it goes to but then there is no way for my to be able to open it since the program isnt really installed on my computer.
    I also tried running the cleaner tool to no avail.
    How do I get it competely off my computer?

    HI,
    Please use Adobe Cleaner tool to uninstall the application completely.
    Here is the link: http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
    -Pragya

  • File Open using Hyperlink

    Hello Experts,
    I am a new user to BEA Weblogic App server and need help from your side.
    I have developed a web application in which i have given a hyperlink of a file inside a jsp
    <p>Expiry Report</p>
    but when i am clicking on the above hyperlink instead of opening the file with option ( open, save etc), its opening the file in same browser.
    That was not the case when i was using any other application server like JBOSS and Tomcat.
    So for opening a file thru hyperlink do we have to do any configuration in weblogic.

    Sounds like a mime type issue.
    Have you set the mime types appropriately by extension in web.xml?
    This page shows an example that has Excel in it:
    http://www.developer.com/img/2006/06/web.xml.html

  • Open pdf file using ms access visual basic 2000 (9.0.2720)

    I'm using Acrobat reader to open pdf file using a vb proceedure , how ever I can't get it to open a specific file thats in another file folder.
    The code I'm using looks like the following: This is windows 7, using the (x86) virtual in 32 bit mode.
    Private Sub Form_Click()
    'checks for valid msds document
    Dim fs As FileSearch
    Dim stAppName As String
    Dim i As Integer
    On Error GoTo Err_form_Click
    Set fs = Application.FileSearch
    With fs
                 .NewSearch
                .LookIn = "c:\program files (x86)\cvmm\msds\"
                .FileName = Me![MSDS Index #] & ".pdf"
                .MatchTextExactly = True
    If .Execute() <> 0 Then
                        stAppName = "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe c:\program files(x86)\cvmm\msds\" & Me![MSDS Index #] & ".pdf"
                          Call Shell(stAppName, 1)
               End If
                     End With
    exit sub
    Err_form_Click:
        MsgBox Err.Description
             Resume Exit_form_Click
    Exit_form_Click:
            MsgBox " no file found."
    End Sub
    This used to work when I was using acrobat 5.0,

    You should have quotes around a filename that has spaces in it. Older versions were more forgiving for some reason.
    Much better anyway is to use ShellExecute, which means you don't have to know or care what PDF reading software is installed and how to run it.

  • I have a file that was created in FH 11 and I am using same version.Originator opens file and everything is fine and also earlier version opens it fine.when I open it the links shift 1/8" up and left.Has anybody had this happen to them

    I have a file that was created in FH 11 and I am using same version.Originator opens this file and everything is fine and also an earlier version opens it fine.When I open it it shifts the links 1/8" up and to the left.Has anybody ever had this happen to them?

    What file format(s) are the "links"?
    If raster images, do they contain clipping paths or transparency?
    What is your platform and OS?
    Were the FH documents created on the same platform (Mac or PC) as the one you are currently using?
    Were the linked files created on the same platform (Mac or PC) as the one you are currently using?
    Can you reproduce the problem with a newly created document and the same linked images?
    There was once an issue with transparent 1-bit TIFF images shifting, but I believe that was in a previous version of FH.

  • Updated to latest ACR 6.6 but still can't open CR2 files from Canon Rebel XSi

    I updated to latest version of Adobe Camera Raw 6.6 but still can't seem to open my CR2 files in Photoshop. Can't open them in Lightroom either, no preview in Bridge or OS.
    I'm running OS 10.7.2 and Photshop 12.1 x 64 which is CS5.1 I suppose.
    I've downloaded Canon's EOS utility hoping that would somehow do something as well but nothing.
    The images were shot on Canon Rebel XSi which is certainly supported by the newest version of ACR. So I have no clue as to what's happening... I previously downloaded these images onto my old laptop about a year ago and everything was fine, however now I'm not even getting a preview in OS. Do I have to revert to an older version of ACR (perhaps the same one I used originally?) to open these files again? These files have been stored on a hard drive, so I'm not downloading them directly from the camera-again, this probably has nothing to do with it but not sure what to do. A lot of the posts I've seen recommend downloading the latest version of ACR to fix the issue, but again I've done that and as a matter of fact the camera (Rebel XSi) has been supported for some time now...
    In OS, when the image is selected no preview:
    Lightroom error:
    Bridge, no preview:
    Photoshop error:
    Ideas, suggestions?
    66 views on this discussion so far and no replies...
    Please help.
    Thanks in advance,
    Arthur

    Something appears to be wrong with your files.
    Are most of your images approx. 3.7 MB?
    This is very small for a 12 MP image.
    If you go back to the original file on your laptop, what is the file size?
    Also the fact that the Mac OS is not showing the preview is unusual.
    Perhaps these files got corrupted when they were moved to your new computer.
    Can you open these files OK on your old laptop?
    Is the OS showing the previews on your old laptop?
    Also compare the file sizes between old and new computer.
    Have you tried repairing your permissions?
    Try Disk Utility in your Macs Applications - Utilities - Disk Utility to see if this helps.
    Good Luck!

  • Opening RAW files in Bridge

    According to p. 235 of "Photoshop Elements 8 for Mac", you are supposed to be able to right click on a RAW file in Bridge, and then you will presented with a pop up menu displaying the menu item "Open in Camera Raw".  Clicking on "Open in Camera Raw" in Bridge is supposed to give you access to the full set of ACR features that Photoshop CS4 users enjoy.  On the other hand, using PSE 8 to open RAW files results in a stripped down set of features in ACR.
    Unfortunately, I am unable to open NEF files (Nikon's RAW files) in Bridge. When I right click on a NEF file in Bridge, there is no menu item which says "Open in Camera Raw". However, if I right click on a .jpg file in Bridge, then I do see the "Open in Camera Raw" menu item.
    I am able to open NEF files in PSE 8 and edit them with ACR using the stripped down feature set.   My PSE 8 came with ACR 5.5.  I installed ACR 5.6 to see if that would help, but I get the same results.
    osx 10.4.11, PSE 8 for mac, ACR 5.6

    Hmmm. Works for me -- when I right-click on a NEF file in Bridge (or select and then click on the "open in RAW" icon in Bridge's top menu bar), it works fine for me. I see the full-featured ACR. I use ACR 5.6, PSE Mac 8, and OS X 10.6.2.
    When you installed ACR 5.6, you followed the PSE-specific instructions, right? In Preferences, you've got NEF associated with PSE? And you're not trying to mix-and-match Bridge and iPhoto simultaneously?
    So far, the only difference is I'm using Snow Leopard. And i've never installed NX2 et. al. Not that it should matter, but which camera are you using?

Maybe you are looking for

  • Can't see my 3TB lacie external drive (for Time Machine)

    since upgrading to Yosemite my Time Machine backup won't operate, says the drive is Read Only. Don't see where I can change this, I have verified and run repair and looks good but still no Time Machine backups will function, last successful one was w

  • Media Eject Icon Dimmed in Finder [10.4.5]

    On a DP G5 with 3.5GB of RAM under 10.4.5: I modified the Finder Toolbar by draging various icons into the Toolbar from the Customize Preferences window. All of icons are functional except the Media Eject icon which is dimmed. I am using an Adesso Er

  • Create Development mode selection popup

    Hi All,           I have to implement the popup as like Development mode selection popup. What is the component name of the popup. how to implement it? thanks, dhina

  • Problem signing into Beta BlackBerry (to get BBM Channels)

    I hope this is the right area to post my issue. I want to download BBM Channels to my Z10.  When I try signing into BlackBerry Beta Zone, it says they cannot validate my email? The only thing I can think of is that my email was associated with an old

  • Won't automatically print received faxes?

    Hi all, I turned on the fax option on my powerbook G4 today. I can send and receive faxes fine. The problem is that when I receive a new fax, it doesn't print. I checked off the box in fax and print setup to automatically print any received faxes, bu