save as

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • mgokkaya
    No longer a forum member
    • Apr 2006
    • 191

    save as

    how can i add "save and save as" to my web browser project ???
  • RizlaUK
    Indigo Rose Customer
    • May 2006
    • 5552

    #2
    i dont think ams can save a webpage directly, but you can use the http.download function

    something like this
    url = Web.GetURL("Web1");
    folder = Dialog.FolderBrowse("Please select a folder:", "C:\\");
    HTTP.Download(url, folder.."\\webpage.html", MODE_TEXT, 20, 80, nil, nil, nil);
    Embrace change in your life, you never know, it could all work out for the best

    Comment

    • Dermot
      Indigo Rose Customer
      • Apr 2004
      • 1791

      #3
      If you want to save html then use the TextFile.WriteFromString action.

      Code:
      HTML = Input.GetText(Input1)
      TextFile.WriteFromString(_DesktopFolder.."\\My HTML File.htm", HTML, false)
      Dermot

      I am so out of here :yes

      Comment

      • mgokkaya
        No longer a forum member
        • Apr 2006
        • 191

        #4
        Originally posted by Dermot View Post
        If you want to save html then use the TextFile.WriteFromString action.

        Code:
        HTML = Input.GetText(Input1)
        TextFile.WriteFromString(_DesktopFolder.."\\My HTML File.htm", HTML, false)
        can u give me an example .apz please ???

        Comment

        • Dermot
          Indigo Rose Customer
          • Apr 2004
          • 1791

          #5
          You didn't provide nearly enough info for an example. What exactly do you want to do?
          Dermot

          I am so out of here :yes

          Comment

          • mgokkaya
            No longer a forum member
            • Apr 2006
            • 191

            #6
            lets say i have a web object, an input object(for site adress) and a button(to start loading the site) on the project ;

            i will write the site that i want to visit to the input object and when i click the button the site will be loaded in web object....
            what i want is to b able to save the page which is loaded in the web object....

            i hope this is enough info

            Comment

            • Dermot
              Indigo Rose Customer
              • Apr 2004
              • 1791

              #7
              In that case just use RizlaUK's example to download and save the page. Keep in mind that it will not download any images that are on the page.
              Dermot

              I am so out of here :yes

              Comment

              • mindstitchdr
                Indigo Rose Customer
                • Dec 2004
                • 239

                #8
                Here is something that I put together that might point you in the right direction.
                Attached Files

                Comment

                • mgokkaya
                  No longer a forum member
                  • Apr 2006
                  • 191

                  #9
                  i cant find the saved page on the desktop or it just dont save it
                  can someone help please???

                  Comment

                  • majik92
                    Forum Member
                    • Feb 2007
                    • 11

                    #10
                    i really don't get what you mean. it would really be helpful if you up the apz.

                    Comment

                    • mgokkaya
                      No longer a forum member
                      • Apr 2006
                      • 191

                      #11
                      Originally posted by majik92 View Post
                      i really don't get what you mean. it would really be helpful if you up the apz.
                      U KNOW INTERNET EXPLORER HAS "FILE" AND "SAVE AS" IN THE TOP MENU THAT'S WHAT I WANT...

                      SAVE AS FUNCTION TO SAVE THE WEB PAGE WITH EVERYTHING ON THE PAGE (IMAGES, TEXT VS...)

                      Comment

                      • bobbie
                        Forum Member
                        • Feb 2005
                        • 770

                        #12
                        Shouting won't get your question done any faster.........
                        it looks bad and rude.

                        Comment

                        • mgokkaya
                          No longer a forum member
                          • Apr 2006
                          • 191

                          #13
                          i am not being rude

                          sorry if i was missunderstood...

                          thanks for everybody trying to help me...

                          Comment

                          Working...
                          X