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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Pekr
2-Feb-2006
[2869x2]
the thing is, that for some small apps, I just copy to my USB pen 
.... if in such app dir is not everything, I will surely run into 
trouble ...
your solution requires rebol installed, that is something I hate 
and will never do ....
Volker
2-Feb-2006
[2871]
Isnt there a no-install-option now? BTWh, does somebody know where 
the option-descriptions are? There was something with no-desktop 
too?
Pekr
2-Feb-2006
[2872x3]
usage
it is --noviewtop
still missing --noconnect, unless proxy code is fixed ....
Volker
2-Feb-2006
[2875x2]
thanks. a "to simple" again :)
should pop up the config-requester first.
Ashley
2-Feb-2006
[2877x2]
Minor website changes:

Licencing / Development


RebGUI is a community project that is free for both commercial and 
non-commercial use. Submissions, in particular widgets, will be accepted 
and credited to the author under the condition that they carry these 
same licence conditions.


Download

Enter the following command from the REBOL console:

	do http://www.dobeash.com/files/rebgui/get-rebgui.r


To see all the widgets in action type the following from a REBOL/View 
1.3.1 (or later) console:

	do view-root/public/www.dobeash.com/files/rebgui/tour.r
%get-rebgui.r: tidied up display and added /update refinement to 
read-thru.
Pekr
2-Feb-2006
[2879x2]
ble :-) (do view-rott/uh/oh/eh/what?/typo?/ :-)
the most common packages, I have in root of my app, or system/ subdir 
... so e.g. cyphre-styles, reddb, mysql, rebgui .... or how guys 
you simply pack or distribute your app then? doing with cache aproach 
is imo oncorrect, especially if you don't distinguis version of rebgui 
in the path. What if I don't have time to adapt all my apps to new 
version? above aproach shares rebgui dir for all apps ... wrong imo 
....
Robert
2-Feb-2006
[2881]
I always make a copy of libs for one app. Dynamic linking is nice 
but not necessary on todays systems. Just keep it simple.
Pekr
2-Feb-2006
[2882]
the same here ...
Anton
2-Feb-2006
[2883x2]
I agree, Petr, dealing with the public cache is quite uncomfortable.
But if you look in your public cache you will see thousands of files. 
It's a good place to keep all those "little" apps, that you try for 
maybe five minutes. Also it's a relatively safe way to automatically 
store files without filename collisions. You would annoyed pretty 
quickly if the View Desktop asked you for an install directory every 
time you clicked an icon.
Pekr
2-Feb-2006
[2885x2]
well, just to not be always negative - I like e.g. Mozilla, where 
I can delete Mozilla dir, unpack new version, and my profile sits 
in documents and settings/me-as-a-user/ ... section. Such design 
(separation) even enables you to use several Mozilla versions at 
once, working above one data profile ...
but most of the time, with something as small as Rebol is, I see 
whatever cache work as uncomfortable, installation as obtrusive, 
registry twiddling the same, - I want my rebol being movable without 
any single dependency ...
Anton
2-Feb-2006
[2887x2]
Ah... But I have set my view-root to a particular place in the rebol 
installer. So my public cache is always in the same place.
My rebol/view directory is filled with different versions, all using 
the same user.r, public cache etc.
Pekr
2-Feb-2006
[2889]
user.r is in public cache?
Anton
2-Feb-2006
[2890]
No, in view-root. View-root is specified in registry. Public cache 
is defined as view-root/public/
Pekr
2-Feb-2006
[2891]
so what actually is view-root?
Anton
2-Feb-2006
[2892x2]
type it in console and find out
Just the directory where view.exe was launched.
Pekr
2-Feb-2006
[2894]
i know, just what is it good for? what is rebol looking there? user.r? 
rebol.exe?
Anton
2-Feb-2006
[2895]
Sorry, bad definition...
Pekr
2-Feb-2006
[2896]
it is not, and my system is somehow screwed - I run View from c:\rebol\view\rebol.exe, 
and view-root shows c:\documents and settings\krenzelokpetr\data 
aplikaci\rebol ....
Anton
2-Feb-2006
[2897]
In the registry there are now two keys:
Pekr
2-Feb-2006
[2898]
maybe we should move to View group?
Anton
2-Feb-2006
[2899x2]
HKCU\Software\Rebol\View\Home = d:\anton\dev\rebol\view
ok -> View
Graham
2-Feb-2006
[2901x3]
Ok, I'm confused now.  I downloaded a new rebgui distro using the 
above link.
This still fails for me.


view layout [ button "Rebgui" [ display "" [ text "Rebgui from Vid" 
]]]
Ashley, did you test this last night with that version, or a newer 
unreleased version.
Can anyone else check this out?
Rebolek
2-Feb-2006
[2904]
Graham: it works here.
Graham
2-Feb-2006
[2905]
So, it opens up the RebGUI window on clicking the button?
Rebolek
2-Feb-2006
[2906x3]
Yes
Graham: don't you have %user.r patched somehow?
My user.r is full of patches and when I'm not sure, where's problem, 
I rename %user.r to somethuing else to make sure I've got clean rebol.
Graham
2-Feb-2006
[2909x2]
no, I don't.
I'm going to try a new PC and see what happens.
Ashley
2-Feb-2006
[2911]
REBOL/View 1.3.2.3.1?
Graham
2-Feb-2006
[2912]
>> rebol/version
== 1.3.2.3.1
Ashley
2-Feb-2006
[2913]
Create a file called %test.r in view-root/public/www.dobeash.com/files/rebgui/ 
with the following:

	REBOL []

	do %rebgui.r


 view layout [text form system/version button "RebGUI" [display "" 
 [text "RebGUI from VID"]]]


and then run by double-clicking it. I see "1.3.2.3.1" in the text 
and clicking "RebGUI" displays the RebGUI window.
Graham
2-Feb-2006
[2914x5]
This is totally weird.
Your script runs okay.
I see the "RebGUI from VID" popup.
*BUT* if I run the same script from the console ... it does not work 
!
ie. if I type each command one by one.