Try the following: # dcop konqueror-23117 konqueror-mainwindow#1 currentView DCOPRef(konqueror-23117,html-widget1-view) # dcop "DCOPRef(konqueror-23117,html-widget1-view)" part DCOPRef(konqueror-23117,html-widget1) # dcop "DCOPRef(konqueror-23117,html-widget1)" saveDocument "/tmp/page.html So, you need to find the current view, then browse to the part and there you can find the saveDocument function. A Dissabte 13 Octubre 2007, Volker Paul va escriure: > Hi, > > I want to use Konqueror for a wget task because > wget cannot handle Javascript. > I want to load a page from the Internet. > The page needs Javascript. The I want to save it. > All this should happen automatically, in a script using dcop. > > I know how to start Konqueror and open the site > which is rendered correctly including the > Javascript-generated content. > However, when I wanted to save the page via dcop, > I could not find the appropriate command. > Using > dcop konqueror-8724 konqueror-mainwindow#1 "actionMap()" > I found a lot of actions, but nothing like "Save as" > or "Save location". > Just for a test, I tried clear_location: > dcop `dcop konqueror-8724 konqueror-mainwindow#1 action clear_location` > activate > and it works as expected, clears the location field. > Now what I need is something like a save_location. > Does such an action exist? How can I find it? > Can I give it a parameter (filename to save)? > > I'm using KDE 3.5.5 with Konqueror 3.5.5 from openSUSE 10.2. > I'm not subscribed to the list. > > Volker Paul