Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
111 user(s) are online (96 user(s) are browsing Forums)

Members: 2
Guests: 109

geennaam, arfcarl, more...

Support us!

Headlines

Report message:*
 

Re: fastfix for 1.23

Subject: Re: fastfix for 1.23
by Raziel on 2014/3/22 11:17:41

@Fab

It works, but i had to write me a script for YAM
/* OdysseyURL.rx */
PARSE ARG URL

IF LASTPOS("ODYSSEY"SHOW(PORTS)) > 0 THEN DO
    
ADDRESS ODYSSEY.1
    SHOW
    OPEN NAME URL NEWPAGE
    
EXIT 0
END

ADDRESS COMMAND 
"WBRun APPDIR:ODYSSEY"
ADDRESS COMMAND "Wait 1"

DO FOREVER
    
IF LASTPOS("ODYSSEY"SHOW(PORTS)) > 0 THEN DO
        
ADDRESS ODYSSEY.1
        SHOW
        OPEN NAME URL
        
EXIT 0
    END
END

It also deals with Odyssey not yet running
The only thing that really bugs me is that i need a "wait" before i can actually send the url...if i leave the wait out, Odysseys "port" will be found, but Odyssey itself won't be ready to process it (the main startpage will come up instead).

Thanks for the hints, now i need to understand the inner workings of URLOpen to make it work again...eventually

edit: The script works with Wookie aswell (without the annyoing second Odyssey getting opened if one instance *is* already open) ... nice

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project