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?

Similar Messages

  • Reconnect Media - Unable to Reconnect All Files in Relative Path

    I have a project that I have restored from a DLT backup. The project file and the all the media are now on a SAN which I access from my G5. Since this project originated on a different editor's computer all of the clips in my project are ostensibly offline within my project. All of the media files are located in a single capture scratch folder on the SAN with the same filenames and reel numbers. As such, I figured that when I used "Reconnect Media" with "Reconnect All Files in Relative Path" checked, all of the files would automatically relink. However, everytime I attempt to do this, the only file that is reconnected is the original file which I manually selected to establish the file path to the rest of my media. If I use the "Search" functionality and instruct FCP to search the capture scratch folder one file at a time, without fail, it will automatically find the media and reconnect it. Yet, I cannot seem to batch reonnect, as it were.
    My question is this: If all of the media files are located in the same capture scratch folder (i.e. same relative path), why won't FCP automatically reconnect all the files in that folder to the corresponding offline clips?
    I have attempted to reconnect the media on two different machines. The same issue arose on both machines. This leads me to believe that the problem may be a result of some issue with the filesystem on the SAN. Also, I have run FCP rescue and attempted a reconnect with both a clean backup and entirely new preference files, to no avail.

    Hi Nat,
    I don't have a direct solution, and you might you've been doing this already. Although you didn't describe this. I think that what I would try to do is:
    - Copy the project (backup).
    - Open the project, and when it tells you that 132 clips and 714 render-files are offline, I'd select the checkboxes in order to 'Forget' the files.
    - Hit OK.
    - FCP 'forgot' all the links to the original files. So you forced errors from that perspective by doing this.
    - Try to reconnect again.
    Just a thought...
    All the best
    Rienk
    PS What version FCP are you running?

  • Links to PDF files with relative paths from a Captivate 4 project

    I'm creating a presentation in Captivate 4 (I'm making an exe file) with some links to PDF files; the links are buttons with the 'open URL or file' set. The presentation will be distributed in CDs and obviously the links will not work for they point to an absolute path in my PC. Is there another way to display external files? thanks

    "file:\file folder\filename" is not a relative path.  It's still an absolute path because you're specifying the path all the way from the root drive, whether you used a drive letter or not.
    A relative path shows where to find the other file in relation to the file that is calling it.
    Relative paths look like this:
    myDoc.doc (if the file is in the same directory as the file calling it)
    folderName/myDoc.doc (if the file is inside a folder in the same directory as the file calling it)
    ../myDoc.doc (if the file is located in the parent directory above the file that is calling it)
    ../../myDoc.doc (if the file is located two levels above the file that is calling it)
    etc
    Here's a tutorial that explains it better: http://www.communitymx.com/content/article.cfm?cid=230ad

  • Creation of file using relative path

    I am working on JSP
    I want to create a file object by passing a relative path as parameter to
    File f = new File("<relative path>");
    i encounter the following error
    "it says server cannot find the file in the path specified."
    I have searched the forums but not able to get any relevant expalination.
    Its an urgent requirement. So please reply. Thanks in advance.

    I notice that servletContext.getRealPath()
    returns path from root directory to the ../webapps/examples folder
    am i correct or it can get real path for any file residing in any subfolder
    like ../webapps/examples/a/df/a.txt ?

  • 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

  • Accessing linked Word files via Sharepoint

    Hi all,
    when using Sharepoint to host a RoboHelp project (via version control), is it possible to link to Word files that are hosted by sharepoint in the same library, perhaps even in other libraries? Maybe somebody can confirm whether this works.
    Robert

    Hi Robert
    Are you able to open the Word document using a standard URL in a browser? If so, and since RoboHelp doesn't appear to like it for whatever reason, perhaps you could use a trick I used to use back in my corporate days.
    Create a redirect page that opens the URL or the path. Basically you create an HTML page and modify the underlying code as follows:
    In the Head section somewhere (where doesn't matter) you insert a META tag that looks like this:
    <meta HTTP-EQUIV=refresh CONTENT="0;URL=First_Topic.htm">
    Just replace the part where it says First_Topic.htm with the actual path or URL that works.
    Cheers... Rick

  • How do you convert absolute paths to external files to relative paths?

    I have a TOC PDF document that contains approximately 200 links to other external PDF files. The other files are located in the same directory as the linking PDF. However, when the links were done, I accidentally created the links in a copy of the PDF on the file server, *not* the one in the same directory as the target PDFs.
    So now the links in the TOC PDF all have an absolute network path embedded in the link such as "/D/projects/assets/PDF/targetFile.pdf", whereas they should only be "/targetFile.pdf". Is there a way to easily change these? I don't relish the notion of having to walk through the document and manually fixing each one.
    I tried forceably editing the PDF file in a binary editor, but this caused the document structure and fonts to get out of whack -- though the links worked.
    Any recommendations? I will consider a commercial product if one exists!
    Thanks,
    Rob

    I think you are barking up the wrong tree...
    Let's say you have a 10 second clip of PAL material:
    10 seconds x 25 fps = 250 frames
    If properly converted to NTSC:
    10 seconds x 30 fps = 300 frames
    The only difference is the number of frames, NOT THE LENGTH OF THE CLIP! It is still 10 seconds long.
    10 seconds of audio x 44.1 kHz = 441 thousand samples
    or
    10 seconds of audio x 48 kHz = 480 thousand samples
    or
    10 seconds of audio at 22.05 kHz = 220.5 thousand samples
    The only difference is the number of samples. NOT THE LENGTH OF THE AUDIO. It is still 10 seconds long.
    If you have drift, then there is something wrong in your conversion. You can't take a 25 fps clip, tell it to play at 30 fps and expect it to be the same length. There are multi-thousand $$$ transcoders that do that job.
    HTH,

  • File Include Relative Pathing Problem

    Was developing large jsp app in JRUN, recently switched to Oracle 9i.
    However the includes work differently.
    In 9i it seems that if a jsp page includes a jsp file, that in turn includes a jsp file... the path to the second include must be relative to the first jsp page and NOT the calling page.
    This discourages code reuse!
    Is it a bug or what?
    null

    Yes I have a jsp file and that file has a tag like
    <jsp:include page="/fragments/test.html" flush="true" />
    jsp application is deployed on Weblogic App server,but the test.html is in on Web Server(IIS). I know that according to the JSP specs,it looks for the test.html with respect to the application context and since test.html could not be found,throws servlet exception. But if I try to use this application with Websphere,it works because WAS will try to look for the test.html with respect to the server context.
    Is there a way Weblogic could work the way as WAS?
    Thanks

  • Jar file and relative path ?

    Hi
    1)When a jar file is run how can I access a file that is in the same directory that the jar is in ?
    (I need access to another file that is not in the jar.)
    2) If you read an ini file from the jar with getResource etc can you write back to that ini with new values ?
    Thanks for your help.
    Tim

    1) Use getResource to locate the jar url that contains the class. You will now have to extract the local filesystem path from the jar url.
    2) No

  • 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?

  • Can any one suggest me how can I use relative path inside SSIS pacakge to access config file ?

    Can any one suggest me how can I use relative path inside SSIS pacakge to access config file ? Please help me as its urgent.THanks for your help in advance.

    Hi Jay,
    SSIS can only recognize the absolute path of a XML Configuration file, the relative path is not supported. Furthermore, if the XML Configuration file is already generated, we can use the Environment variable package configuration type instead so that
    SSIS runtime automatically looks for the configuration file from the path defined in the environment variable. This is convenient when we need to deploy a package to different environment. We only need to define the environment variable for package configurations
    once on each server, and then the variable can be used by all the packages on this server.
    Regards,
    Mike Yin
    TechNet Community Support

  • Load pictures from a relative path

    I have this type of code:
    startButton.setIcon(new ImageIcon("C:\\images\\calculate.gif"));All my pics are in the images folder. How can I make the app load and display images from a relative
    path. I mean if I put my jar and the images folder inside another folder the app should work on another system too.
    The images folder is in the same folder as the app, and it should not matter what folder hierarchy is upper.
    Inbstead of new ImageIcon("full path")  something like
    new ImageIcon(new File(?relative path here));Any examples?

    In all fairness, I don't think this is really a Swing question. It's about loading resources, the Swing element is incidental The OP is using an ImageIcon and JLabel, which are both only used in Swing application.
    If the OP would bother to read the JLabel API they would find a link to the Swing tutorial which explains everything about loading resources.
    If the OP would search the Swing forum they would find dozens of questions and answers on this topic.
    The point is the OP makes very little effort to post in the appropriate forum.
    Most application that use images will be using Swing. The best chance of getting an answer or finding related questions is to search/post in the forum that is most appropriate.
    Its not "fair" that we waste time repeating answers to questions that are asked over and over.

  • Read BMP File Requires Absolute Path

    I noticed something today regarding the Graphics Formats, Read JPG File, Read PNG File and Read BMP File vi's. It seems that when reading a JPG or PNG file, a relative path is OK, but when reading a BMP file, an absolute path is required. When the path only contains the filename, it returns:
        Error 1430
        "Open/Create/Replace File in Read BMP File Data.vi->Read BMP File.vi->ReadImageFileTest.vi"
    I tried a simple test that uses either the relative or absolute path, trying to read 3 different files in the same directory as the VI. Only the Read BMP File errors. Of course, the simple work around is to always use the full pathname to a file. Is this only on my system? Is this a known bug or feature or expected behavior?
    I'm using LabVIEW 8.2 on Windows XP.
    Thanks!
    B-)
    Message Edited by LabViewGuruWannabe on 11-05-2007 11:06 PM
    Attachments:
    ReadImageFileTest-FPgood.PNG ‏30 KB
    ReadImageFileTest-FPbad.PNG ‏26 KB
    ReadImageFileTest-BD1.PNG ‏48 KB

    Missed this on the first post:
    Message Edited by LabViewGuruWannabe on 11-05-2007 11:10 PM
    Attachments:
    ReadImageFileTest-BD.PNG ‏48 KB

  • Can't open web links in emails via Safari 6.1.6

    Hello...
    I'm working on a Macpro computer with OSX 10.7.5.
    In Safari 6.1.6 I can't open ANY links that are in emails.  Links to other web sites, links to file via you send it, nothing.  I've disabled the block "pop ups" tab in preferences and still nothing.  I don't want to upgrade to the new OSX, as everything else on my computer is running fine.
    Can someone tell me what to do to get this working again….

    I encountered the same problem.  In my case, the culprit was a plug-in in the Internet Plug-Ins sub-folder of my User Account's Library folder.
    Here's how I proceeded, based on a suggestion by Carolyn Samit here:
    <https://discussions.apple.com/thread/5117605?start=0&tstart=0>
    1. Open the Finder.
    2. In the Finder menu bar, click on the heading Go.  Scroll down to "Go to Folder," and then click the mouse button again.
    3. Copy the following phrase:
    /Library/Internet Plug-Ins
    and then paste that phrase into the field in the navigation window that appeared at the end of Step 2.
    3. Click Go.
    4.  If you find a plug-in named AdobePDFViewer.plugin, drag it to the Trash.
    5. Quit and then relaunch Safari.  Then try to load in Safari a PDF from a web site.  Then try saving it.  Once saved/downloaded, try opening the PDF.
    When I followed this procedure, the corrupted-PDF problem went away, thanks to Ms. Samit's suggestion.

  • Relative Paths in Java, omg

    Ok I just figured out that, what seemed to be a relative path is in reality the relative path of the starting program.
    For instance:
    We suppose, I got a directory: "D:/Java/Project"
    in this dirrectory, there are .class files, .java files and folders which holds data like music and graphics.
    normaly in all my classes the path goes like this:
    for example the audio class : load every audio file from "audio/" + specific audio file name
    until now everything like that worked, but only because I started the Project from within this very directory.
    Assuming I got in "D:\Java" a batch file, that starts my project, like this: "java -cp ./Project MyClass"
    if I run it, my code suddenly looks at "D:/Java/audio" for audio files instead of "D:/Java/Project/audio"
    which means the relative path is in reality the relative path of the starting program and not from the class itself.
    So how could I possibly get a relative path, telling my program, my audio class for instance again "stay where this class file is, then go to audio/ and there you got your audio files", regardless at where I start my project ?

    If you do
    new File("some/relative/path/foo.bar");it is relative to the directory you started Java in.
    If you want to use the classpath (or load things from inside JAR files) you should use
    this.getClass().getClassLoader().getResourceAsStream("some/relative/path/foo.bar");using "/" regardless of your OS.
    I think you can also use
    this.getClass().getClassLoader().getResource(...)which gets a URL instead of a stream, and then maybe you can
    open the file directly with the URL.
    and you can also use
    Thread.currentThread().getContextClassLoader().get...

Maybe you are looking for