From 30b09368e7980def81ccfd7b4038225e7ec13ed9 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 25 Oct 2008 23:22:34 +0000 Subject: Track the current/last used browser window (at the moment, just for ARexx). Extended ARexx port. First two are primarily for openurl.library: * OPEN now takes a parameter NEW=NEWWINDOW/S to open the URL in a new window (default is to open in the current browser window) * TOFRONT will bring NetSurf's screen to the front (this may be extended in the future to bring the current browser window to the front - which might be better for when it is running on the WB screen) Next is to make it easy to support getvideo.rexx: * GETURL returns the URL of the current browser window in RESULT GetVideo.nsrx script will get the current URL and pass it to rexx:getvideo.rexx Currently there is no way to call ARexx scripts directly from NetSurf, or any way to specify whether to save, play or saveplay the video without editing the script. [clipboard.c/clipboard.h were missing from previous commit] svn path=/trunk/netsurf/; revision=5631 --- amiga/gui.h | 1 + 1 file changed, 1 insertion(+) (limited to 'amiga/gui.h') diff --git a/amiga/gui.h b/amiga/gui.h index 9e453ac85..aecd888c4 100755 --- a/amiga/gui.h +++ b/amiga/gui.h @@ -134,4 +134,5 @@ STRPTR nsscreentitle; struct FileRequester *filereq; struct MsgPort *sport; bool win_destroyed; +struct browser_window *curbw; #endif -- cgit v1.2.3