World: r3wp
[Ann-Reply] Reply to Announce group
older newer | first last |
Gregg 30-Aug-2005 [680] | Sounds very cool Ingo! Won't have time to play for a while, but thanks! |
Ingo 30-Aug-2005 [681x3] | Thanks Gregg, it's quite nice, now I have my very own rebol integrated program launcher (using /pro) ... ;-) |
I even used it to get different viewtops on different computers (I had rebol on a usb stick, and depending on the computers name, my local fold showed different icons) | |
fold = folder | |
Graham 30-Aug-2005 [684] | Ingo, I executed your viewtop code .. but it looks the same. Are there any cosmetic differences as well? |
Ingo 30-Aug-2005 [685x5] | no, no cosmetics |
the header contains some example index.r files | |
I use some different icons, I created just for 'actions, but didn't include them. | |
REBOL [ Title: "Local Index" Type: 'index dynamic: true plugin-pane: 0.5 ] title "Local Files" app 0.3 group "A" effect [multiply green] group "B" icon %action.png action "a\gitarre" do [explore %/f/gitarre/] action "a\view-root" do [explore view-root] action "a\hamster" do [call "H:\prog\Hamster\Hamster.exe"] action "b\Internet" do [ call "H:\Programme\offline-proxy-mm3\MM3-WebAssistant.bat" call "C:\Programme\discountsurfer\discountsurfer.exe" call "H:\Programme\Mozilla\Firefox\firefox.exe" call "C:\Programme\Opera75\Opera.exe" ] action "b\Firefox" do [ call "H:\Programme\Mozilla\Firefox\firefox.exe"] icon %web-surf-action.png action "c\desktop" do [editor view-root/desktop.r] action "c\imap" do [editor %imap-handler.r] file "Info" %info.txt file "T\Test" %test1.r file "T\Test2" %test2.r file "T\Test" %test3.r ; this is composed ---- file (form now/date) %dummy.r action "Click me" #clickme do [ alert "hi" [Text "This will be displayed within the desktop" [alert "ho"]] ] action "Click me 2" #clickme2 do [ alert "hi" ; no return value, so nothing displayed in the desktop ] action "PRINT" do [print "^/^/----------------------^/^/^/"] action "prin somethin" do ["yea"] file "t\Test" %dummy.r ; this will draw the plugin app-draw [face /local cl-size][ cl-size: to pair! reduce [face/size/x 50] face/pane: layout/offset[ at 0x0 text "00:00:00" cl-size center 255.155.40 with [ font: [size: 24] rate: 1 user-data: none feel: make feel [ engage: func [face action event i] [ if user-data <> now/time [ i: form user-data: now/time if 7 > length? i [append i ":00"] face/text: i show face ] ] ] ] text "TEST" button "hi" [alert "you!"] button "CLOSE" [unview/all] ] 0x0 face/size ] ; if you need to redraw after a resize, not yet used app-resize [new-size][] | |
This is my %local/index.r with some tests, and I hope all references to my icons removed | |
Volker 30-Aug-2005 [690x5] | one thing about security: i would check that against a directory. if find/match clean-path/file dirize view-root/local ["its my local file, allow more"] |
about this split-view thing: i once thought about showing some more text, what this directory is about. for help, or maybe some kind of "dungean-game". Now you have this split-view, could you extend it to show some text? maybe [ info {You are here ...} ] ? | |
(and for call you need no /pro anymore :) | |
that computername-thing is smart. I even use directory too, making a url from both. rejoin[comp:// read dns:// what-dir] | |
but my use is testing, this way i can have different configurations on the same drive. | |
Ingo 31-Aug-2005 [695] | Thanks Volker, I have thought about checking for local access, too, but wasn't sure whether it's enough. (Files in the cache are local, too.) |
Anton 31-Aug-2005 [696] | No they aren't, they are in view-root/public/ |
Ingo 31-Aug-2005 [697] | Ahh, you're right ... using the complete path to %local should be OK. |
Graham 31-Aug-2005 [698] | protest about rising gasolene prices. |
Kaj 31-Aug-2005 [699] | Where can I sign to support rising prices? I think that fossil fuel usage should be strongly discouraged |
Graham 31-Aug-2005 [700x2] | Support it by buying petrol. |
The greater the consumption, the higher the prices will rise .. and the sooner people will start looking for alternatives to fossil fuels ( dead dinosaurs ) | |
Volker 31-Aug-2005 [702] | Maybe thats good for another yurasic park? Growing dinos to make fuel from them? |
Graham 31-Aug-2005 [703x2] | Only takes a few million years though to see the benefits |
That's a fairly long investment timeframe. | |
Volker 31-Aug-2005 [705] | Naa, remember that in in yp everything grows much much faster. |
Graham 31-Aug-2005 [706] | Jurassic Park ? |
Volker 31-Aug-2005 [707] | right. Spelled it wrong. BTW we are in An-Reply here?! |
Graham 31-Aug-2005 [708] | yes, we are replying to Steve's call to protest. |
Volker 31-Aug-2005 [709] | Have looked there, right, there was an anounce. |
Graham 31-Aug-2005 [710] | I'm not sure what the use of it is though ..you have to buy the day after anyway. |
Kaj 31-Aug-2005 [711] | Shht! :-) |
Graham 31-Aug-2005 [712x2] | if you really want to protest, get your converted to run on vege oil |
get your car converted | |
Kaj 31-Aug-2005 [714] | Smell like you work at McDonalds |
Graham 31-Aug-2005 [715] | Ok, buy a Toyata Prius instead then! |
Kaj 31-Aug-2005 [716] | What's wrong with a bicycle? |
Volker 31-Aug-2005 [717] | Dinosaurs can eat you easier. Or suvs. |
Graham 31-Aug-2005 [718] | Let me see .. you live in Holland ?? |
Chris 31-Aug-2005 [719] | Knocking off bicycles is a sport in some US towns. I've been lucky... |
Kaj 31-Aug-2005 [720] | Ah, yes, I thought that would give me away :-) |
Graham 31-Aug-2005 [721] | I'm guessing you don't live in a city with lots of dead cyclists |
Kaj 31-Aug-2005 [722x2] | OK, so there's nothing wrong with bicycles, but apparently there's something wrong with US citizens |
Is it as bad in New Zealand? | |
Graham 31-Aug-2005 [724x2] | I bought myself a mountain bike a couple of weeks ago. |
Still healing from the wounds caused by impacting with the asphalt. | |
Kaj 31-Aug-2005 [726] | On your own or by a car? |
Graham 31-Aug-2005 [727x2] | myself :( Skidded against the curb when I hit it at a too shallow angle. |
didn't see that in the manual. | |
Kaj 31-Aug-2005 [729] | :-) |
older newer | first last |