r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[View] discuss view related issues

Gabriele
26-Nov-2008
[8324x2]
http://www.colellachiara.com/soft/MD3/examples/clips.html
http://www.colellachiara.com/soft/MD3/examples/clips.r
Graham
26-Nov-2008
[8326]
Thanks
Graham
28-Nov-2008
[8327]
I've abstracted the systray/forever loop out here 
http://rebol.wik.is/Code_Samples/Systray.r
Maarten
28-Nov-2008
[8328]
S3 backup? You have plans..... beware that for large volumes you 
*have to* parallelize. SQS is there for a reason
Graham
28-Nov-2008
[8329]
Yes ... but it's for small volumes ... maybe a few gbs only
Rod
28-Nov-2008
[8330x2]
Is there an option to have no caret but capture keyboard events? 
 I'd like to get navigation keys for example but don't want a visible 
caret.
I see notes about using detect for hot keys instead of engage, is 
that the best way or is there a way to turn the caret part off?
Henrik
28-Nov-2008
[8332]
FOCUS/NO-SHOW will hide the caret.
Rod
28-Nov-2008
[8333]
Thanks Henrik, exactly what I was looking for.
Anton
29-Nov-2008
[8334x3]
There's  a problem with that, in that as soon as you show a parent 
face, the caret will appear, because the subface will also be rendered 
by SHOW.
So if you SHOW the window face that the field is in while the field 
has the caret, then the field will be SHOWn as well, and the caret 
will be rendered.
If you look in the source of FOCUS, you can see what it's doing. 
Just do the same, except without setting the caret.
Rod
29-Nov-2008
[8337]
Thanks Anton, I will dig deeper then and see what my best option 
is.  I have detect version working but want to know how to manage 
this with engage if I need to.
Anton
30-Nov-2008
[8338]
I have a patch to handle this situation in a general way (focus-system-patch).
james_nak
6-Dec-2008
[8339]
I was looking for a way to facilitate the Alt-Printscreen, go to 
Paint, paste, save as .png drudgery and I was close except them I 
found out that clipboard:// only works with text. :-( Gregg and Christian 
created this capture-screen.r app which is pretty amazing. I wonder, 
however, if there will ever be an improvement to the clipboard?
Nicolas
7-Dec-2008
[8340x3]
I'm having trouble with stylize/master
stylize/master [

 matrix-area: area with [colors: [0.0.0  0.0.0] font/color: 150.255.150]
] this makes all font/colors 150.255.150
does anyone know why?
Steeve
7-Dec-2008
[8343]
matrix-area: area with [colors: [0.0.0  0.0.0] font: make font [color: 
150.255.150]]
Nicolas
7-Dec-2008
[8344]
thanks :)
Anton
8-Dec-2008
[8345x2]
or
stylize/master [

 matrix-area: area with [colors: [0.0.0 0.0.0]] font [color: 150.255.150]
]
The reason is the FONT object is shared amongst several styles.
	>> svv/vid-styles/area/font = svv/vid-styles/field/font
	== true
and AREA INIT does nothing to clone it
	>> print mold svv/vid-styles/area/init
	[
	    if color [colors: reduce [color colors/2]]

     if not string? text [text: either text [form text] [copy ""]]
	    if not flag-face? self hide [data: text] para: make para []
	]

(no mention of FONT). So after instanciation, the font is still the 
same.
	view layout [my-area: area]
	my-area/font = system/view/vid/vid-styles/area/font 
	;== true
Brock
8-Dec-2008
[8347]
and incase it's not obvious svv = s v v
Henrik
8-Dec-2008
[8348]
(which is system/view/vid)
Gregg
9-Dec-2008
[8349]
James, I did one side of bitmap support for clipboard://, and there 
are other ways around it, depending on what you need to do. E.g., 
imagemagick.
james_nak
9-Dec-2008
[8350]
Gregg, what I wanted to do was simply take what was in the clipboard:// 
(via a printscreen) and save it as a png or bmp, thereby skipping 
the monotonous paste into Paint and save.
BrianH
9-Dec-2008
[8351x2]
Try Lightscreen: http://lightscreen.sourceforge.net/
There's a portable app version too.
Gregg
9-Dec-2008
[8353x2]
Ah, I did the writing part, and then used my send-keys dialect to 
pump keystrokes to other apps to automate the other side. In my case, 
it was putting things into a NetMeeting whiteboard.
You could easily do the same thing with Paint though.
ChristianE
10-Dec-2008
[8355]
James, you might try http://www.rebol.org/view-script.r?script=paste-clipboard.r
to retrieve a bitmap from the clipboard in rebol image! format. Works 
with PrintScreen on my keyboard, ymmv ;-) If you have problems, please 
tell me so.
Maxim
10-Dec-2008
[8356x2]
wow!
it works on my vista system
ChristianE
10-Dec-2008
[8358]
Good to know, Maxim. I've only ran it on XP so far.
james_nak
10-Dec-2008
[8359x2]
Thanks Christian. I will try it.
Christian, that is sweet! Works like a charm.
ChristianE
10-Dec-2008
[8361]
That's cool. FYI, I've added experimental ability to write the image! 
datatype to clipboard, too.

Note that the script's is on rebol.org as http://www.rebol.org/view-script.r?script=clipboard.r
now (the previous name got in the way).
It exposes two functions READ-CLIP and WRITE-CLIP now.
[unknown: 5]
11-Dec-2008
[8362x2]
Anyone here use AVG Virus software.  They really have nice tabbed 
panels in the latest version.  We need a decision that can looked 
nice as that interface.
decision = design
BrianH
11-Dec-2008
[8364]
I use it - a very web-like approach. The tabs-on-left style works 
well on widescreen displays.
Henrik
11-Dec-2008
[8365]
screenshot?
[unknown: 5]
11-Dec-2008
[8366x2]
http://www.tretbase.com/downloads/AVG.jpg
The tabs role vertically.
Henrik
11-Dec-2008
[8368]
yes, I see
Nicolas
12-Dec-2008
[8369x2]
does anyone know how to change the text-list highlight color?
I can change it with system/view/vid/vid-colors/field-select. But 
I can't change the font color at the same time.
Henrik
12-Dec-2008
[8371]
text-list is an iterated face, so you probably have to study how 
it paints each row.
Nicolas
14-Dec-2008
[8372]
is a pane a face?
Geomol
14-Dec-2008
[8373]
I see a pane as a block of faces. But the pane is in a graphical 
object, which represents a face, so I guess, you can also say, that 
a pane is a face.