I have modified the rebodex app so that it can be called from rebol's console any time by typing rebodex. To show the title of the app, I need to store it in
app-title: system/script/header/title
so tha it could be used later in
view/new/title dex reform [self/app-title version]
That works but as you can see I have named the var na...
The official tutorial here http://www.rebol.com/how-to/subpanels.html does show how to create panels and shows one OR the other not how to show them ALL of them one BELOW an other.
So any other article or how to do this ?
...
There is some discussion here about fill-pen
http://www.mail-archive.com/[email protected]/msg02019.html
But I can't see documentation about cubic, diamond, etc... effect for fill-pen in rebol's official doc ?
I'm trying to draw some round rectangle with glowing effect but don't really understand the parameters I'm playing with so...
I want to trigger an alarm when the GUI starts. I can't see what's the equivalent of load event of other language in Rebol VID, so I put it in the periodic handler which is quite circumvoluted. So how to do this more cleanly ?
alarm-data: none
set-alarm: func [
"Set alarm for future time."
seconds "Seconds from now to ring alar...
Anti-alias works for Draw but I can't see how to get anti-alias for font : is it possible anywhow (including hacking rebol vid ...) because font in the picture generated below is not nice:
view layout [
box 278x185 effect [ ; default box face size is 100x100
draw [
anti-alias on
; information for the next dra...
Let's say I have a picture, I want to create some variations by changing a color. How to do this ?
I don't want to apply color filter to a picture, I want to change pixels color pixel by pixel by testing a color pixel if it is let's say red, i want to turn it to blue.
...
I just installed Rebol Plugin on IE. What happens when a user connect to a rebol script demo without this plugin. Will he be asked to install it automatically ?
When will Rebol Plugin available for Firefox ?
...
I want to create a wizard for the logo badge below with 3 parameters. I can make the title dynamic but for image and gradient it's hardcoded because I can't see how to make them dynamic. Code follows after pictures:
custom-styles: stylize [
lab: label 60x20 right bold middle font-size 11
btn: button 64x20 font-size 11 edge [siz...
when trying to read this kind of url
URL: http://v4.lscache2.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id,expire,ip,ipbits,itag,algorithm,burst,factor,oc:U0dWSlhTVF9FSkNNNl9QTVhJ&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&expire=1275886800&key=yt1&signature=89195E808CB3FBBC7BDE729...
if i change hkey_current_user/environment/path in registry, get-env "PATH" doesn't reflect the new value unless I close rebol console and re_open it.
...
The following Rebol code fails due to an out of memory error:
read/binary http://mirror.bytemark.co.uk/ubuntu-releases/lucid/
ubuntu-10.04-desktop-i386.iso
How can I use Rebol to read large binary files over HTTP?
...
let's say I have a config.txt which contains:
"param11" "param12"
"param21" "param22"
I'll load it in memory with
config: load %config.txt
I can save it back with
save %config.txt config
So far so good. Now the problem occurs for me when I want to add
"param31" "param32"
I have tried
append config reduce [newline...
In another question, I saw the following syntax:
#[unset!]
What is that? If I say type? #[unset!] in R3, it tells me unset!, but it doesn't solve the mystery of what #[] is.
So curious.
...
When I start up an R3 Alpha 99 session, and enter this as the first command, I get an error:
>> is-email-addr: get bind to-word "email?" bind? 'system
** Script error: email? is not in the specified context
** Where: bind
** Near: bind to-word "email?" bind? 'system
But if I quit, restart and instead execute a test to prove that the e...
I tried
http://rebol.wik.is/Protocols/Test-async-http.r
do %async-protocol.r
do %async-http.r
buffer: copy ""
content-length: 0
handler: func [port [port!] event [error! word!]
] [
switch event [
connect [print "Connected." false]
read [
if port/sub-port/state/inbuffer [
statustxt/tex...
Let's say I have this block:
Yuml-Output-List: [ {note: Wordpress Profiles{bg:beige}
[Blogger]^[User]
[Admin]^[Blogger]
[Author]^[Blogger]
[Subscriber]^[User]
}
{note: Blogger Role{bg:beige}
[Blogger]-(Manage Posts)
}
{note: Admin Roles{bg:beige}
[Admin]-(Manage Site)
(Manage Site)>(Manage Users)
(Manage Site)>(Manage Themes)
(Mana...
I Would like the get the filesize of a remote file using Rebol, in a similar way to how it is done with php,
by send an HTTP HEAD request.
I can't find any example of how to do this in Rebol, but using the Prot-http module may be the right place to start?
i tried
read/custom URL [ HEAD "" ]
it returns "" and not header.
...
I tried to colorize in rebol an url like this
content: "http://domain.com/test.php?keyword=hdhdf&hdhd=sdcfsv&sbcfsv=sdncfd&sncfsdv=dncsv&cnsv=dshdkd&scsv=12334&DXV=D&SWJDJJDFDJQKKKKKKKKKKKK&DFG=V&DJJF=DJVNVV&DJFFFFFFFFFF=33333"
rule-keyword-0: [to "?" thru "?" mark: (insert mark {<font color="red...
Request-file/path returns a folder and files in a block but still requires to select at least a file: it isn't possible to select a folder only.
Update: request-dir exists but it's not the windows dialog, I prefer windows dialog like request-file, isn't it possible ?
...
Usually to get the source code one can use source func_name but for a protocol like clipboard:// how to get it ?
...