Alias -l html { dll $+(",$scriptdirnHTMLn_2.92.dll,") $1- } Alias -l nhtml { return $+(",$scriptdirnHTMLn_2.92.dll,") } Alias -l mdx.fullpath { return $+(",$scriptdirmdx.dll,") } Alias -l mdxinit { dll $mdx.fullpath SetMircVersion $version | dll $mdx.fullpath MarkDialog $dname } Alias -l mdx { dll $mdx.fullpath $1- } Alias -l di.open { if (!$2) { if ($dialog($1) != $null) { dialog -ve $1 } | else { dialog -mod $1 $1 } } else { if ($dialog($1) != $null) { dialog -ve $1 } | else { dialog - $+ $$2 $1 $1 } } } Alias -l start.wbv { mdxinit | if (%webvDOCk != none) { mdx SetDialog $dname style dlgmodal } mdx SetControlMDX $dname 1,2,3,4,5,6,7 ToolBar list nodivider flat > $scriptdirbars.mdx mdx SetControlMDX $dname 10 ProgressBar > $scriptdirctl_gen.mdx if ($os == xp) { mdx SetFont $dname 1,2,3,4,5,6,7 14 900 Arial } mdx SetBorderStyle $dname 1,2,3,4,5,6,7 windowedge mdx SetDialog $dname bgcolor $rgb(199,199,199) mdx SetColor 1,2,3,4,5,6,7 textbg $rgb(199,199,199) mdx SetColor 1,2,3,4,5,6,7 background $rgb(199,199,199) tb 1 Back 11 Go Back tb 2 Forward 8 Go Forward tb 3 Refresh 12 Refresh Current Page tb 4 Stop 10 Stop Page Download tb 5 Go 5 Navigate to Page tb 6 Favorites 13 Favorites Folder tb 7 Close 7 Close Browser } Alias -l dock { if (%webvDOCK == toolbar) { dll $+(",$scriptdirktools.dll,") DockToolbar $dialog($$1).hwnd } if (%webvDOCK == switch) { dll $+(",$scriptdirktools.dll,") DockSwitchbar $dialog($$1).hwnd } if (%webvDOCK == none) { dialog -sdb wbv $window(-3).x $window(-3).y 373 11 } } Alias -l tb { did -i $dname $1 1 bmpsize 16 16 did -i $dname $1 1 setimage +nh icon small $3 $+ , $+ $scriptdirsbar.icl did -a $dname $1 1 $2 $chr(9) $4- } dialog wbv { title "SeersWeb" size -1 -1 802 21 option dbu icon $scriptdirsbar.icl $+ , 4 list 1, 1 0 29 11, size list 2, 29 0 40 11, size list 3, 67 0 40 11, size list 4, 104 0 29 11, size list 6, 239 0 46 11, size list 5, 213 0 25 11, size list 7, 286 0 1900 11, size combo 8, 133 0 79 50, size edit drop text "", 9, 350 100 100 100 text "", 10, 322 2 50 7 } Alias -l www { window -Bk0 $1 html attach $window($1).hwnd html navigate $2- echo -a $dll($nhtml,handler,progress.handler) } ;Page progress ;------------- Alias progress.handler { var %change = $1- if ($dialog(wbv)) { did -i wbv 8 0 $dll($nhtml,url,$1-) if (progress_change isin %change) { did -a wbv 10 0 0 $gettok(%change,4,32) | did -ra wbv 10 $gettok(%change,3,32) } } return S_OK } Alias -l back { html back $window($1).hwnd } Alias -l fwd { html forward $window($1).hwnd } Alias -l rfsh { html refresh $window($1).hwnd } Alias -l stop { html stop $window($1).hwnd } Alias rs { if (!$1) { www $newindow($window(0)) www.runescape.com } if ($1) { www $newindow($window(0)) $1- } if ($dialog(wbv)) { did -a wbv 8 $1- } } Alias newindow { var %w = 1,%wins = 1 while ($window(%w)) { if (web isin $ifmatch) { inc %wins } inc %w } :winname var %window = $+(@RuneScape,%wins) if ($window(%window)) { inc %wins | goto winname } return %window } On *:active:@RuneScape*:{ if ($dialog(wbv)) { did -ra wbv 9 $active } } On *:dialog:wbv:init:0:{ dock $dname | start.wbv } On *:dialog:wbv:sclick:1:{ back $did(9) } On *:dialog:wbv:sclick:2:{ fwd $did(9) } On *:dialog:wbv:sclick:3:{ rfsh $did(9) } On *:dialog:wbv:sclick:4:{ stop $did(9) } On *:dialog:wbv:sclick:5:{ go $did(8) } On *:dialog:wbv:sclick:6:{ di.open fvr -mod } On *:dialog:wbv:sclick:7:{ .timerCLOSEWBV -h 1 1 dialog -x wbv } ;favorites ;--------- On *:start:{ if (%webvST == no) { di.open wbv -mod } } On *:load:{ set %webvDOCK toolbar | set %webvST yes | echo -a :: 12,12|15,1Loaded WebView 3.0 by 14K15i0X [Modified by Andy for RuneScape] | echo -a :: 12,12|15,1Type /rs to open runescape.com | echo -a :: 12,12|15,1Thank you for using this script! } On *:unload:{ unset %webv* | echo -a :: 12,12|15,1Un-loaded WebView 3.0 by 14K15i0X } Alias browser { di.open wbv -mod }