Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
98 user(s) are online (43 user(s) are browsing Forums)

Members: 0
Guests: 98

more...

Headlines

 
  Register To Post  

NetSurfAddressBook - StartAddressBook.nsrx - Rexx Execution Script Error - RESOLVED
Just popping in
Just popping in


See User information
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 1:48:38
-A1200 w/ Blizzard 1230 - 128MB FastRam
-X5000 1TB SSD HD - 16GB RAM
Go to top
Re: NetSurfAddressBook - StartAddressBook.nsrx - Rexx Execution Script Error
Just popping in
Just popping in


See User information
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
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project