Announcement

Collapse
No announcement yet.

menu link to external file htm

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • menu link to external file htm

    hi,

    I have file htm (file from excel, save as to web)
    i want my menu scriptcase link to external_excel.htm ?
    (on frame main menu)

    what should i do

    Regards
    Iwan Setiawan

  • #2
    Create a blank form, jump in the menu to this blank form. In the onexecute you can redirect to an external application. If it needs to be within SC (so the menu will stay the iframe like) then create a container too and apply the blank form in the container. The menu will refer to the container.

    If you want to integrate with sc then you can also do the following: create a control app and add a label field. Then in the onload read the html file and extract the body part. Assign this html data to the label field and the grid will appear as if it was build in SC. Menu will stay etc.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      hi, and thanks Albert for the information
      let me add quick note, if you want to link directly to outside of sc proejct (like going somewhere else) then from the menu just put the link or use sc_link macro
      hmmm i wounder if your file is static or it will be updated!? if it is static, import or convert it to one of the applications (grid for example) and if it will be updated regularly, then build an app for it and give users access to that app!? i don't see a reason to keep an excel file saved as web page, then link to it while you have sc in hand! but that is my opinion

      Comment


      • #4
        Thanks Aducom and MikeDE for your advice, that is solved.
        this excel (save as to web) is temporary, because not in database but, regulary updated

        Comment


        • #5
          Link to videos ???

          Hi Albert
          I'm trying to do what did you suggested.
          I'm creating a menu to link all video tutorials about an application did.
          Menu has only the possibility to link an application as you stated .
          I created a blank application but it do not works (sc_url_exit is not allowed)
          Then I create a control with a dummy text field not showed and within OnRecord event I inserted this link but nothing happens.
          Am I wronging something ?? Is there other ways to link videos url to a menu ???

          sc_url_exit(http://eosbio.altervista.org/_eos_vi...ortazione.html);

          ----- to be continue ----

          I've just tried to create a blank application and this command

          echo '<a href="http://eosbio.altervista.org/_eos_videos/Filtri_Ordinamento_Esportazione/Filtri_Ordinamento_Esportazione.html">Start video</a>';

          It works but I would like do not click over the text to start the video.
          It would be nice to have the starting of video in automatic. ;-)))

          If you do not insert a text it do not work. Boh !!! ???
          Attached Files
          Last edited by giovannino; 10-27-2014, 12:49 PM.

          Comment


          • #6
            Originally posted by giovannino View Post
            Hi Albert
            I'm trying to do what did you suggested.
            I'm creating a menu to link all video tutorials about an application did.
            Menu has only the possibility to link an application as you stated .
            I created a blank application but it do not works (sc_url_exit is not allowed)
            Then I create a control with a dummy text field not showed and within OnRecord event I inserted this link but nothing happens.
            Am I wronging something ?? Is there other ways to link videos url to a menu ???

            sc_url_exit(http://eosbio.altervista.org/_eos_vi...ortazione.html);

            ----- to be continue ----

            I've just tried to create a blank application and this command

            echo '<a href="http://eosbio.altervista.org/_eos_videos/Filtri_Ordinamento_Esportazione/Filtri_Ordinamento_Esportazione.html">Start video</a>';

            It works but I would like do not click over the text to start the video.
            It would be nice to have the starting of video in automatic. ;-)))

            If you do not insert a text it do not work. Boh !!! ???
            hi giovannino,
            there is something i don't understand in your post
            do you mean to auto-load the video after clicking the link?
            if so, it is not controlled by SC, you have online flv video made and compiled by camtasia, configure your "external" page to load the video without clicking on play button! like auto play or something
            otherwise, if the link is working fine, then SC is done its job to take you to the "external" page right!?
            or maybe as i said, i didn't understand what you mean exactly

            Comment


            • #7
              Hi,
              at the moment I've done the result as on attachment . Not so bad ..
              It's an additional step after clicking on the menu item ... See video xyz -->
              It would be better to run the video without the additional click but If I don't insert the text link it do not works.
              Attached Files

              Comment


              • #8
                okay, again, this is a link to a page, configure that page to run the video on auto-load, similarly if you put the link directly in the menu, make it take to the page, and in the page, there is code to auto-play the video file when the page is opened... just like youtube, you don't need to click play in order to start the video, once you click the link, page opens and video starts... but there are sites which makes you click on play video if you want to start it, in order to save traffic in case you don't want to see it for example

                hmmmm did you try to EMBED the video in your blank application!? if you know what i mean, i think this is the one you are looking for... if yes, google html flash code embed object, take the whole code, replace the file path with your link direct-to-flv file path, see what happens, basically it is a php page which can manage html then it should work (theoretically) or even make the same what Albert advised in this thread to open the page as part of SC, but again you will need to make the video as auto-start.. it is a player configuration value

                Comment

                Working...
                X