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

World: r3wp

[View] discuss view related issues

Anton
22-Apr-2006
[4855]
No Volker, you can't do that !  What if you only want to restart 
the remote computer for instance ? :-)
Maarten
22-Apr-2006
[4856]
I once (in 1999) create a RemoteCanvas class in Java (sorry for that), 
it used the encoding that VNC has invented. I forgot the name, but 
it is fairly easy to implement (especially with rebcode ;-)
Volker
22-Apr-2006
[4857x2]
I was thinking about shared apps. rebooting the computer would be 
more complicated.Then both computers would need to rebootin sync. 
Is that called dual boot? *gg* ;)
Croquet uses vnc too, to run apps in a 3d-world.
Maxim
22-Apr-2006
[4859]
anton, you'll have sooooo much fun with glass.
Anton
22-Apr-2006
[4860x3]
Oh I see.
Here's an idea coming out of discussion of Maxim's Glass - combining 
facets of different styles together, eg, setting up a button, but 
then dressing it with text styles of the H1 style:
view layout compose [face "hello" (svv/vid-styles/button/facets) 
(svv/vid-styles/h1/facets)]
Graham
22-Apr-2006
[4863x2]
I just tried out the source code version .. if I type into the bottom 
one, nothing appears there until a click, but it appears immediately 
in the top layout.
Application sharing sounds like a good use.
Brock
22-Apr-2006
[4865]
It appeared for me as soon as I moved my mouse.
Tomc
22-Apr-2006
[4866x2]
Anton I see an alert with:  "Windows Media Player eccountered an 
unknown error"
You've encountered error message C00D11CD while using Windows Media 
Player. We are investigating the cause of this error. We will post 
more information about this error when it becomes available.
Graham
22-Apr-2006
[4868]
try saving it locally and then play it, or just run the script.
Anton
23-Apr-2006
[4869x4]
Tomc, that' s because Microsoft is trying to kill XVID, probably. 
Try using another player such as ZoomPlayer
(Or you don't have the XVID codec)
(probably the simpler explanation.. :)
Go to http://doom9.net/
and click on Codecs to find XVID 1.1
Henrik
23-Apr-2006
[4873]
or use VLC from videolan.org
Graham
23-Apr-2006
[4874]
Is there a function that returns the curret position in draw after 
an operation?
Geomol
24-Apr-2006
[4875]
Good question, but I don't think so. And should it be position related 
to last command, or should transformations be taken into consideration? 
Like:

.... effect [ draw [translate 234x123 matrix [1 0 0 0 -1 0] line 
20x-20 40x40]]
What is position?
Pekr
24-Apr-2006
[4876]
can't live without some All-in-1 or ffdshow codec packs ... as for 
players, I do use older (ad-ware free) Bsplayer ....
Graham
24-Apr-2006
[4877x2]
I think it should be relative to the current translation
I'm particularly interested in positioning for precise text placement.
DideC
24-Apr-2006
[4879]
I have done some text placement calculation for my RT-style (rich 
text). Result is 99% Draw code.

Graham, you should have a copy of in on your HD as lecture-forum 
use it to show the posts (search "rtd-styles.r" or maybe "rtf-styles.r" 
if it's too old).
Graham
24-Apr-2006
[4880]
I really need a better way of indexing the rebol scripts on my drive. 
 Using the windows search tool finds far too many viruses :(
Anton
24-Apr-2006
[4881x2]
Do you have a recursive directory walker, ie. tree ?
I finally got around to making a nice little "command line" function 
FIND-FILE.
You can use it with optional arguments like this:
	find-file *.r    ; just lists all files with ".r" suffix.

 find-file *.r "rebol"   ; lists all files with ".r" suffix and containing 
 "rebol" 
	find-file * "rebol"  ; all files containing "rebol"
etc...
Graham
24-Apr-2006
[4883]
not currently.
Anton
25-Apr-2006
[4884x4]
Ok try this:
do http://www.lexicon.net/antonr/rebol/library/dir-utils.r
dir-utils/only [push pop] ; needed for tree

foreach [url words][

 http://www.lexicon.net/antonr/rebol/library/tree.r[tree] ; needed 
 for find-file

 http://home.wilddsl.net.au/anton/rebol/util/find-file.r[find-file] 
][
	foreach word words [set word get in do url word]
]

find-file *.r
push, pop and tree are pretty stable. Find-file is pretty new, but 
so far no problems. Find-file is short, so it's a good example of 
how to use tree.
I would expect you would just modify find-file a little bit to suit 
your purposes.
Gregg
25-Apr-2006
[4888]
Anton, your demo is simply awesome. Just blows me away what you guys 
can do.
Pekr
25-Apr-2006
[4889]
Anton - nice example .... I wonder how difficult would it be to get 
it working via shell environment, which is now available in all rebol 
versions?
Anton
25-Apr-2006
[4890x2]
Thanks, Gregg.
Pekr, what do you have in mind ?
Pekr
25-Apr-2006
[4892x2]
I mean - complete shell wrapper, so I can use rebol instead of windows 
shell ...
your find-file function is really nice addition though ...
Anton
25-Apr-2006
[4894]
I don't think it's easy to completely replace windows shell. I use 
dir-utils and find-file for most simple file system tasks already, 
but I use windows DOS console for all those particular windows DOS 
things.
PeterWood
25-Apr-2006
[4895]
Pekr: doesn't call/console "cmd params" help?
Anton
25-Apr-2006
[4896x2]
I think maybe he wants transparent fall-back to DOS console, as shown 
before by somebody.
(I'm not going to do that, probably.)
Henrik
25-Apr-2006
[4898]
anton, that is pretty neat. would you mind if I tried to integrate 
this with http://www.hmkdesign.dk/rebol/old/msearch.r?
Anton
25-Apr-2006
[4899]
By all means.
Pekr
25-Apr-2006
[4900]
yes, I meant transparent command-set support. It was just theoretical 
quesiton, I don't need it that much ...
BrianH
25-Apr-2006
[4901]
If there was a console-mode REBOL perhaps we could use it as a command 
shell replacement.
Pekr
25-Apr-2006
[4902x3]
iirc 1.0 branch used native console, but you know, native console 
in W9x did not feature even arrow-up list of already processed commands 
...
this is imo why RT came with native console. Nowadays, I do prefer 
separate console, but I would like to see better support for keyboard 
navigation, which is currently very weak ...
now the thing is, if we want to reinvent the wheel. I do remember 
very powerfull consoles (even with coloring modes) from Amiga days, 
and if we talk non X-windows Linux installation, we do want to use 
text based console anyway ...