Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
81 user(s) are online (65 user(s) are browsing Forums)

Members: 0
Guests: 81

more...
Support us!
Recent OS4 Files
OS4Depot.net





NetSurfAddressBook - StartAddressBook.nsrx - Rexx Execution Script Error - RESOLVED
Just popping in
Joined:
9/27 3:41
From USA
Posts: 53
Good day everyone,

Just trying out the NetSurf browser for the first time. Timberwolf never ever ever works for me, but that's another thread...

I like the idea of the NetSurfAddressBook plugin so that Hotlist entries are more readily available, and I followed all the instructions for the installer, but I get an error when I try to run the Rexx script from the browser.


This is the script as it exist in StartAddressBook.nsrx:
Quote:
BEGIN
/* This script launches the NetSurf AddressBook and QuickLinks */

if open('env','ENVARC:AppPaths/NetSurf','R') then do
path = readln('env')
close('env')
end

program=NetSurfAddressBook/AddressBook

address command path || program
END



This is the error I receive from console when I attempt to run:
Quote:
+++ Error 47 in line 8: Arithmetic conversion error



I assume it has something to do with the program variable, but I'm not sure exactly how this should be designated. I tried removing the program variable and entering the full path of the executable, but I get an error there as well:


My attempt at a modification which isn't any better:
Quote:
/* program = NetSurfAddressBook/AddressBook */

address command path || Programs:Web/NetSurf/NetSurfAddressBook/AddressBook


Error:
Quote:
+++ Error 41 in line 12: Invalid expression




Anyone got any ideas how I can get this bad boy to work?

[B]THANKS![/B]


Edited by m1nuto on 2017/10/13 0:48:38
_________________
-A1200 w/ Blizzard 1230 - 128MB FastRam
-X5000 1TB SSD HD - 16GB RAM
   Report Go to top

Re: NetSurfAddressBook - StartAddressBook.nsrx - Rexx Execution Script Error
Just popping in
Joined:
9/27 3:41
From USA
Posts: 53
I was able to get the Rexx script to properly execute by modifying to:
Quote:
/* This script launches the NetSurf AddressBook and QuickLinks */

if open('env','ENVARC:AppPaths/NetSurf/','R') then do
path = readln('env')
close('env')
end

program='/NetSurfAddressBook/AddressBook'

address command path || program



Working! Looks like the script just needed designation that the program variable was a string as opposed to math.

_________________
-A1200 w/ Blizzard 1230 - 128MB FastRam
-X5000 1TB SSD HD - 16GB RAM
   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project