URL Bookmarks

Roger Guay rogerguay at centurytel.net
Wed Nov 12 17:30:28 EST 2003


That's real kool, Klaus . . . thanks very much.  I'll give it a try

> Message: 7
> Date: Wed, 12 Nov 2003 19:30:38 +0100
> From: Klaus Major <klaus at major-k.de>
> Subject: Re: URL Bookmarks
> To: How to use Revolution <use-revolution at lists.runrev.com>
> Message-ID: <5000E914-153E-11D8-99F6-000A27B49A96 at major-k.de>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> Hi Roger,
>
>> Hello Folks.
>>
>> What I would like to do is to enable the user to open an Internet
>> browser from within a RunRev app,
>> navigate to a site and store a bookmark to that site in the RunRev app
>> (like in a List Field.)
>> Can anyone help with this?
>
> What about the new window decoration "systemwindow" for your stack?
> (Will let your stack float above ALL other windows, RR or not :-)
>
> This way the user could drag and drop the URL to your listfield and
> launch an URL
> by simply doubleclicking a line in that field...?
>
> Put this into the script of your listfield and there you are...
> Works fine here on OS X with Safari :-)
>
> on dragdrop
>    if me = empty then
>      put dragdata["text"] after me
>    else
>      put CR & dragdata["text"] after me
>    end if
>    pass dragdrop
>    ## necessary for locked fields...
> end dragdrop
>
> on dragenter
>    set the acceptdrop to true
> end dragenter
>
> on mousedoubleup
>    revgourl the hilitedlines of me
> end mousedoubleup
>
> Just a quick thought :-)
>
> Hope that helps...
>
>> TIA, Roger
>
> Regards
>
> Klaus Major
> klaus at major-k.de
> www.major-k.de
>



More information about the use-livecode mailing list