Opening files via relative filepaths

Hello everyone,
I've got a small problem with publishing a Captivate 3.0.1
project as an EXE file. The presentation ends with two buttons, one
opens a website (works fine), and the other should open a PDF file.
It also works OK, but only if I use an absolute path, which is
unacceptable in this situation - I need a _relative_ path.
I tried various possible ways to write the relative filepath
(file:///file.pdf, /file.pdf, ./file.pdf, .\file.pdf, iexplore
file.pdf, etc) but to no avail - the result is always the same. IE
opens with the filepath bluntly inserted into it's address bar, and
fails to open it (no wonder -
http://file.pdf is a bogus address,
wouldn't you know...).
I've also tried some other workarounds - creating an .swf
file, that would open the .pdf for me, and then embedding it inside
the presentation. Works fine until embedded; from within the
project, it acts exactly the same. I also couldn't get JavaScript
to work.
Do you have any solution for this problem? It would be very
helpful.
What's interesting, if I publish as .swf+.html, the
pdf-opening button works fine, but the website-opening button
doesnt. I didnt look into this very much, since I'm only interested
in an executable version. However... if making the .swf version
work is a lot simpler, I can wrap it up in an executable of my own
devising. Perhaps that will make more sense.
Looking forward to your replies,
Szymon Kurek

Welcome to our community, Szymon
See if the thread linked below helps with that.
Click
here to read the thread
Cheers... Rick

Similar Messages

  • Cant open files via double click on file icons

    hello
    i recently wiped my drive and did a clean install of 10.5.1 (lepperds).
    here are specs for my machine:macprobook 2.33ghz intel core 2 duo w/ 2gb 667mhz ddr2 sdram, 120gb HD (72.25GB available), serial # W2186148K4Y, username:billysmac password:••••••••••••
    now, when i double click files created in PhotoShop & Image Ready (not sure about other apps / files), the application will open but the file i originally double clicked does not open.
    the same is true if i try to open file via: apple + single click on file >>>>> then drag down to 'open with app xyz" in the sub menu that appears. app opens but file does not.
    the only way to open a file is to activate PS or IR followed by: menu bar >>> file >>> open >>>> finder window >>>> nav to & select file >>> click open in finder window.
    furthermore, i have my iphoto set to edit photos in PhotoShop, but when i click 'edit', nothing happens.
    this is a legit registered copy of PS & IR so im not sure whats going on. when i did a wipe, i backed up all my apps, account, files & folders, etc. to an ext HD. after the syst s.w. install, i dragged all the apps into the apps foleder. some apps wouldnt work any more, so i reinstaled them PS / IR did work though, except this issue, so i didnt boter reinstalling.
    any suggestions?
    thanks
    billy

    Hi,
    this might help you: http://kb.adobe.com/selfservice/viewContent.do?externalId=329996&sliceId=1
    In all cases where I had this problem it always was the Unit Types problem.
    Björn

  • Link to files via relative path?

    It seems that Captivate is only capable of linking to
    external files via absolute links. In other words, when I create a
    click box that opens a file and select a file located on my
    development machine, the project will still look for that file on
    my local hard drive, even after it is posted on the Web. This is
    extremely frustrating, and I have not found a workaround.
    Please help me identify a way to link using a relative path.
    In other words, the project will resolve it's current location and
    look for content in the directory it is located in or in specified
    directories under that location. That is is the only way you can
    create a project that will run correctly when posted. Captivate
    already does this when you create a click box that opens another
    project, so there MUST be a way to do this when opening non-project
    files!
    Please Help!
    Thanks,
    Dan Roberts

    Hi Dan,
    Are you publishing the file as a standalone executable? If
    so, others have experienced problems and have reported this as a
    bug... a link to a recent post.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=464&threadid=1247575
    I have had no problems using standard conventions for
    relative links in published swfs. For instance - assume I have a
    course with lessons separated in 8 different folders. I have
    resources in a common folder that is in the same folder as all of
    the lessons. To get one of my swfs to link to a resource in the
    common folder, I would set the URL to something like
    "../common/managing_workflows_job_aid.pdf" - this causes the
    browser to look up one folder level, then to common, then to the
    specified file.
    Does that answer your question?

  • Problems opening files via 'File - Open/cmd-O' in Photoshop CC 2014 after Yosemite installation

    I upgraded to Yosemite on Friday and shortly after, I noticed that when attempting to open multiple files, after I've opened a few files (it's not a set amount, sometimes happens on the 3rd file, sometimes on the 6th etc) I get the error message 'could not complete your request because of a program error' - the only way out of this is to quit Photoshop and restart which is obviously very frustrating and time consuming!
    I spent some time on live chat to Adobe yesterday and we deleted settings, preferences, uninstalled, reinstalled, moved Colour settings folder to desktop but nothing worked. I have a call scheduled with Adobe to go through lots more tests at the end of the week as I've been advised this isn't a global issue but I thought I'd post on here in the meantime to see if anybody had any thoughts as to what could be causing this. After speaking to Adobe, I have since realised that even after getting this error message, I can still drag files to the PS icon and open them that way - I have just opened 20 files this way with no error message, it's just when I used the File-open/cmd O method (my usual way of working) to open files that is happens.
    It was all fine before installing Yosemite and I am on the very latest CC 2014 version (this problem does not happen in the CC version incidentally, only the 2014 version - so I'm using that as a workaround for now).
    I also had issues opening files in Illustrator on Friday, I was unable to open files using file - open/cmd O (nothing happened after I clicked it, but I got no error message), again, I had to drag the file to the AI icon in the dock to open it but that seems to be ok now even though I haven't changed anything with the Illustrator application - just thought I'd mention it incase it was related!
    If anybody can help, I would really appreciate it. Thanks in advance!

    Glad it's not just me!
    Interestingly, when I spoke with Apple, I tried it in a new user account and the problem went away. Apple said to speak to Adobe which I have done and after deleting settings/prefs again the problem remained. Adobe say as it's fine in a new account then it's an Apple issue not Adobe.
    I did find a workaround for now though, when using file - open, set it to list view instead of column view - this fixed my problem but sadly I'm used to working in column view so it's not ideal!
    I also got the same error message when trying to replace a set of brushes yesterday too. I need to go back to Apple now but just need to schedule some time to sit and troubleshoot!

  • Adobe Reader 11 (XI) won't open file via command line

    Hello,
    I have posted this question to probably inapropriate topic earlier today, so I am repeating it again.
    I installed newest Adobe Reader XI today and when I tried to open certain pdf file via command line, it reported a syntax error. Now, this syntax worked so far on versions 9 and 10  (I checked today with them and it is working), so my question is - where can I find new syntax, if there is any? Googling didn't help. Or what else could wrong?
    In previous versions I was able to open pdf file (on page 5) like this (all was taken from Help file "Open parameters")
    "CompletePathToAdobeReader"/A"page=5""CompletePathToPDF",
    ie
    "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe"/A"page=5""d:\V2\DataSheet.pdf"
    but now - not that it doesn't open specific page, but it doesn't want to open file at all.
    edit:
    Operating systems running: Windows 7, Windows XP
    Thank you.
    Message was edited by: v604

    Yes, it reported correctly becuase there is a syntax error in your command. Try spaces between the /A switch and open parameter. Try this:
    "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" /A "page=5" "d:\V2\DataSheet.pdf"
    Hope this helps.
    -Sumit

  • Can't open files via

    Hi all,
    Hi all,
    I'm no longer able to open files in the ways I've always used, either:
    - Dragging a photo on to the icon in my Dock; or
    - Right click on file > Open With > Photoshop
    The only way I can open files now is via File > Open, which (given the Mac filing system) is not convenient unless the photo is on the Desktop.
    This problem has only recently occurred, but it doesn't seem to be linked to any particular event. One day it was working, the next not.
    Can anyone tell me how to restore the functions I'm used to? I can't find any Preference files for Photoshop (e.g com.photoshop.plist) to trash.
    I'm using CS1 on a Mac running Tiger 10.4.11.
    Thanks,
    Andrew

    Or maybe this: http://www.adobeforums.com/webx/.2ccf1da6
    Neil

  • I cannot open files via firefox on sharepoint 2010, i can however open the files on IE.

    I cannot open files such as word, excel, pdfs on sharepoint when i use Sharepoint. I can open them ok on IE.
    i have updated the firefox to the latest version 8.
    Still no joy.
    Is there a add on i need to install?

    Looks like the site might make use of Adobe Flash. At this time we don't have support for the Android Adobe Flash plugin. We are working on getting Flash to work but it has been a difficult path as the Android Flash plugin is quite different from the desktop version.

  • SharePoint cannot open files via IE 11, while chrome works well.

    We are using IE 11, and cannot open word or excel files in SharePoint library by Office 2013. The OpenDocuments class add-on is enabled. And only one computer has this issue.
    Windows 7
    Only Office 2013 - version 15.4631.1000
    Internet Explorer - IE11.0.9600.17207 update 11.0.10 (IE 32-bit)
    The error messages is: "To open this document, your computer must be running a supported version of Microsoft Office application and a browser that supports opening files directly from the Office Online"
    Thanks in advance!

    Hi,
    This issue occurs because the SharePoint OpenDocuments Class (OWSSUPP.DLL) Internet Explorer Add-in is the wrong version due to having multiple versions of Office on the same
    workstation. To check the version open Internet Explorer when the error is showing, go to Tools, Manage Add-ons. In Manage Add-ons click on SharePoint OpenDocuments Class and notice the version is any version other than 14.0.
    The details can be found and solved at:
    http://support.microsoft.com/kb/2540922
    Meanwhile try to reset the Internet Explorer, by resetting Internet Explorer settings, you return it to the state it was in when it was first installed on your computer. This is useful for troubleshooting problems that might be caused by settings that
    were changed after installation.
    a. Close all Internet Explorer and Explorer windows that are currently open.
    b. Start Internet Explorer.
    c. On the Tools menu, tap or click Internet options. If you don't see the Tools menu, press Alt.
    d. In the Internet Options window, tap or click the Advanced tab.
    e. Tap or click Reset
    Details can be found at:
    http://support.microsoft.com/kb/923737
    Regards
    Wade Liu
    TechNet Community Support

  • Trouble opening files via links on PDF

    Hello,
    I am working with a pdf that is a one page table of contents for a law treatise.  Each table of contents has multiple bookmarks/tabs within the page.  Clicking a tab title is supposed to open a more in-depth document (also in pdf form).  However, when I click on the tabs I get the following message:  "Could not open the file '19_1.pdf'" (where 19_1 is the file name and relates to the chapter and tab).
    The pdf originally comes from a treatise website, and I feel like the Adobe is looking for the file locally on my Macbook and not attempting to look on the internet for the file.  I have received the more in-depth pdf from a friend and saved it on my desktop.  When I click on the corresponding tab in the table of contents the table of contents link works correctly. There are many more table of contents and pdfs I need to read over the course of the semester (it is basically our textbook).
    Does anyone know what might be the problem?  I can clarify anything that does not make sense.
    Thank you.
    SMH

    I can navigate to the files using finder, I can even open the files in other applications (non-Adobe) so everything appears to work properly except for opening the files using the Adobe Photoshop CC. I had also read about the problem with SMB vs. SMB2 and even Mac's new SMBx but this issues doesn't feel as though it will be resolved by changing the file transfer protocol considering the transfer is working properly for non Adobe applications.

  • Slow opening files via mapped drive

    I have a single user who is experiencing delays of 20-30 seconds when opening image files (~8MB) via a mapped drive to Sharepoint.  When opening via Internet Explorer they open within a couple of seconds.  Everybody else in the company is not experiencing
    these delays.
    Have spoken to Sharepoint 365 support team and they have not been able to assist.
    Have tried the suggestions I have found on the forums of:
    1. Trusted sites
    internet Explorer - tools - options - Security - Trusted Sites - Sites - add the following and press Add after every item:
    https://*.lync.com
    https://*.microsoftonline.com
    https://*.sharepoint.com
    https://*.outlook.com
    then close.
    2. Intranet sites
    Internet Explorer - Tools - Options - Security - Local Intranet - Sites - Advanced - add the following and press Add after every item:
    *.lync.com
    *.microsoftonline.com
    *.outlook.com
    *.sharepoint.com
    then close.
    Internet Explorer - tools - compatibility view settings - uncheck "Display intranet sites in Compatibility View".
     Uncheck automatically detect settings,
    Within Internet explorer - show Menu bar
    Tools - internet options - Connections - LAN settings - uncheck 'Automatically detect settings'
    None of these resolved the issue, have reset IE to default settings and this has had no effect.
    Executed the netsh int tcp set heuristics disabled & netsh int tcp set global autotuninglevel=disabled
    commands from Command Prompt in Administrator mode & rebooted the system, still it didn’t fix the issue. 
    User is using IE11 and Sharepoint 365.  Any suggestions would be highly appreciated.

    Thanks,
    1. Create a new Map network drive to check to see if the issue persists. -
    Have already tried this with Sharepoint Online Support Team, made no difference
    2. Make sure that the latest Windows updates are applied.  They are
    3. Sign in your SharePoint Online site, and select Keep me signed in check box.  Already set up 
    4. Add the SharePoint Online URLs to your Trusted sites zone in Internet Explorer. Already set up
    5. Try restarting your computer by performing a clean boot (support.microsoft.com/.../929135), then try again.  Tried
    this but again made no difference. 
    Any other ideas?

  • Opening files via Default Program

    Can someone tell me why my PNG files cannot be opened with
    Fireworks if I try to set it as the default program in Windows? I
    had Version 6.0 & 8.0 installed on my machine. I was running
    them concurrently without a problem. After I uninstalled Fireworks
    6.0 the problem occured. I couldnt no longer double click a PNG
    file and have it automatically open the program. When I try to
    re-associate the PNG extension with Fireworks it doesnt let me
    select the fireworks.exe program from C:\Program
    Files\Macromedia\Fireworks 8 directory.
    Any ideas how to fix this?

    ana_rad,
    You might try deleting the png file extension from the list
    of
    associated files and recreating it. That has worked for me in
    the past.
    alex
    ana_rad wrote:
    > Can someone tell me why my PNG files cannot be opened
    with Fireworks if I try
    > to set it as the default program in Windows? I had
    Version 6.0 & 8.0 installed
    > on my machine. I was running them concurrently without a
    problem. After I
    > uninstalled Fireworks 6.0 the problem occured. I couldnt
    no longer double click
    > a PNG file and have it automatically open the program.
    When I try to
    > re-associate the PNG extension with Fireworks it doesnt
    let me select the
    > fireworks.exe program from C:\Program
    Files\Macromedia\Fireworks 8 directory.
    >
    > Any ideas how to fix this?
    >

  • Can't open files using relative paths

    That seems straightforward but i can't figure out how I can have access to
    image files stored in the same directory with the compiled classes.
    Here's my what I want to do
    windowsButton = new JButton("Windows", new ImageIcon("icon_cool.gif"));
    but it doesn't work :(
    however if i specify the absolute path to images everything works fine.
    I tried also copying images into the source directory it didn't work.
    I thought about a workaround like If i could get the absolute path of the
    class that loads images that would be great but i have no clue how to get
    that absolute path.
    i code in netbeans so src and classes are separated.
    Thanks in advance for your replies. If u feel like u need more details i'll
    try to provide them :)

    In addition to jverd's answer, here is a tutorial
    dealing with images and icons
    "How to Use Icons":
    http://java.sun.com/docs/books/tutorial/uiswing/misc/i
    con.html
    It gices some examples of how to use the
    getResource() method to load your images.As the tutorial points out, simple path is more general than using class loader and resources for it.
    If OP's problem is on the line of this simplicity, he has to learn relevant details of a particular IDE or,
    if he hates the kind of learning, he'd be better off throwing away and foget it forever.
    It reminds me of a long-time belief that IDE is too big an /unnecessary/ obstacle for beginners.
    Does anyone know, does Eclipse have similar awkwardness for resource path issue?

  • I have an ipad version 5.1.1. i have multiple albums in the ipad and i want to transfer some photos to my computer but when i open the ipad files via "computer" i can only see picture from one of the albums.what should i do?

    i have an ipad version 5.1.1. i have multiple albums in the ipad and i want to transfer some photos to my computer but when i open the ipad files via "computer" i can only see pictures from one of the albums.what should i do?

    You can only import photos from the camera roll into the computer. Is that the album that you are seeing?
    Any albums that you create on the device itself (the iPad that is) cannot be transferred to your computer. iPad created albums do not contain copies of your photos but merely pointers to those photos so they do not actually exist in those albums.

  • IMAC and MacBook connected via ethernet. Can see "Bob's" public folder on "Betty" but not allowed to move or open files. Want to Bob-- Betty (my new computer) permanently.  Adjusted "permissions" everywhere I think

    Old computer HDD named Bob, new one named Betty.  Trying to transfer crucial files via ethernet. Have connection, can see Bob's public folder on Betty. When try to move or open anything there, tells me I do not have permission to either view or read respectively. I changed permission on the item to read/write for Betty.  Made Betty an admin on Bob etc. What can I do?
    Thank you!

    Do have file sharing and remote login checked
    When on Betty's computer, Sign into Bob's computer with Bob's username & Bob's Password, instead of Betty's.
    BINGO!!!!  Problem solved.  Many thanks!!!

  • Since updating last time Firefox will not open new tabs unless I right click on a link. It won't open them via file or the tab at the top of the brwoser. Anyone know how to fix this?

    Since updating last time Firefox will not open new tabs unless I right click on a link. It won't open them via file or the tab at the top of the brwoser or usinf ctrl + t. Anyone know how to fix this?

    I can press ctrl for a new tab but otherwise a new tab does not open. I actually need help regarding this new Synch which apparently will be in Firefox automatically in an upcoming version so I am asking how that will synch with people who use LastPass-of course because I use this very successfully and really am not eager to change the set up that I have in place at this time.
    I have read through endless FAQ trying to find anyone else who has this question or concern but have found nothing. Can you please tell me how that service will get along with LastPass which does basically the same thing as Synch-it is probably spelled wrong as it looks wrong to me but if I click back to where this issue began, I will lose all of this question so please respond for the upcoming service synch.

Maybe you are looking for

  • What is the best way to encode and compress?

    I just finished an hour and a half long video of comedians performing. The client wants this to be put on dvd so he can mass produce it. What is the best way to compress this and encode it? Should I buy compressor or can I do it in handbrake? What ar

  • My iphone 4s saw could not activate

    this iphone 4s......i unlock alrd now still cannot activate pls help MODEL: IPHONE 4S 16GB WHITE SERIAL: DN*******TD0 iOS: 6.1.3 MAC Address: 4CB199F00000 Network Unlocked: False Activation Status: No Original Carrier: Unlock (Connect to Itunes) Appl

  • Business Object Explorer + Crystal Report

    hi, i need a way to upload a crystal report in the business object explorer? can anybody solve this problem? regards, thomas

  • Photoshop cc zoom needs does opposite of what is expected on my windows 8 - is OK on my mac - how to

    On my windows 8 lapt op Just clicking to zoom zooms out and holding the alt key at the same time zooms in. It's the opposite of what should happen. Only me? How to fix? It wasn't like this at first. It works just fine on my mac so it's getting a bit

  • Update Flash Player in Flash MX 2004

    Hi folks, I'm having a problem with publishing (and previewing) transitions and reading through the threads think it might be that I don't have Flash Player 8 or higher. Flash Player 9 is installed on my computer for web-browsing but when looking in