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

World: r3wp

[SDK]

[unknown: 5]
5-Apr-2005
[34x2]
I remember reporting a directory bug sometime back but it was only 
related to root directories I think
Oh I think I remember that bug also where there is no path
Graham
5-Apr-2005
[36]
I looked at rambo .. nothing there, so I entered it today.
Ashley
6-Apr-2005
[37]
Is it related to this problem: http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-thread.r?m=rmlNBPC
Graham
6-Apr-2005
[38x2]
Hmm.  Could be.  I''ll ask my user to see if they are using request-dir 
before the error occurs
even 

write join %./ %file.txt "sometext" fails
Rondon
6-Apr-2005
[40]
Hi Folks! How to solve to not open the console window or to change 
the window title for no-windows applications?
Geomol
6-Apr-2005
[41]
Console window: use header word "encap". See in docs/encap.html of 
your SDK.
Rondon
6-Apr-2005
[42x4]
Geomol, I'm using this word
http://www.rebol.net/cgi-bin/rambo.r?id=3660&
take a look
I'm trying to encap my non View applications.. cgi[
Graham
6-Apr-2005
[46]
you can't change the title yet for console windows .. I've asked 
carl to fix this.
Ashley
7-Apr-2005
[47]
Anyone recommend a good [free] WinXP substitute for IconEdit32 since 
I've moved from SDK 1.2.10 to 1.2.48 (it doesn't support 16.8m color 
icons).
Chris
7-Apr-2005
[48x2]
IconSushi.  It's not so much an editor as a compiler, importing PNG 
(including 32-bit) and BMP...
http://www.towofu.net/soft/e-aicon.php
Ashley
7-Apr-2005
[50x2]
Thanks Chris, that's a handy little util. The only thing it can't 
do is change PNG color depth (useful if you generate your PNGs from 
REBOL). Any ideas on that score?
Hmm, I tracked down pngcrush (http://sourceforge.net/project/showfiles.php?group_id=1689&package_id=6641), 
 and while its usage seems clear enough:

	pngcrush.exe -bit_depth 4 24bit.png 4bit.png

it dosen't seem to work.
[unknown: 9]
7-Apr-2005
[52x2]
That does suck indeed.
But that also requires colour space which is why they prob decided 
to just bunt.
Ashley
7-Apr-2005
[54]
Not quite the batch solution I had in mind, but MSPaint lets you 
save a PNG as a 4, 8 or 24 bit BMP ... which is good enough for IconSushi 
... which works with good old ResHacker ... which lets me, wait for 
it, change the default REBOL icons in an encapped program ... and 
folks wonder why REBOL isn't mainstream yet! ;) (An "Encap: [icons 
%my-icons.ico]" type option would be a good thing IMHO).
Graham
7-Apr-2005
[55]
rambo !
Chris
8-Apr-2005
[56x2]
If you're into Amiga emulation, I can recommend PPaint (it's what 
I use for exactly this purpose) to reduce 24-bit pngs.  PNGQuant 
is another command line utility that I use to convert 32-bit to 8-bit 
rgba (for small IOS icons :o) though 8-bit windows icons are strictly 
rgb.
Oh, almost forgot: http://www.libpng.org/pub/png/apps/pngquant.html
Gregg
8-Apr-2005
[58x3]
*LOVE* ResHacker for that. Easy to script into encap build processes.
you can't change the title yet for console windows

 -- You can probably do it with API calls. Haven't tried, but it should 
 work NP.
I use Axialis's IconWorkshop. Not free, but works well for me.
Cyphre
8-Apr-2005
[61]
the best tool for PNG optimization in size is pngout.exe from famous 
ken Silverman:
http://advsys.net/ken/utils.htm
sqlab
11-Apr-2005
[62x2]
I use this for window titles

win-lib: make object! [
	
	user-lib: load/library %user32.dll

	SetWindowText: make routine! [
		handle			[integer!]
		Title			[string!]
		return:			[integer!]
	] user-lib "SetWindowTextA"
	
	set 'WindowTitle: func [
		Title [string!] 
	] [
		SetWindowText get-modes system/ports/system 'window Title
	]
	
]
Sorry,

set 'WindowTitle func [
Graham
11-Apr-2005
[64]
that works for all windows including consoles?
Anton
11-Apr-2005
[65]
Works at least in Rebol/View console :)
sqlab
11-Apr-2005
[66]
It works for all console windows of Rebol, if you can load a .dll
Volker
11-Apr-2005
[67]
what are you doing, changing window-title?
sqlab
11-Apr-2005
[68]
yes
Volker
11-Apr-2005
[69x2]
view lay: layout[
 button "title-time" 300[
  lay/text: form now lay/changes: 'text show lay
 ]
]
but i do not know if the "rebol - " can be eleminated. i guess sdk 
can.
sqlab
11-Apr-2005
[71]
changing the title of a console window
Volker
11-Apr-2005
[72]
ah, sorry. had already  the feeling i missed something :)
Allen
2-May-2005
[73x2]
Getting this error, not sure what source files I am missing. It Is 
a simple view script that reads from http. (I'm already including 
mezz.r, prot.r, view.r) 

** Script Error: user-prefs has no value
** Where: vbug
** Near: if not dbg: user-prefs/debug [exit]
ok. I tracked it down, for some reason vbug (which is called by read-thru 
etc) was expecting a user-prefs object. so I gave it one. not sure 
why there wasn't already one created, though
Graham
2-May-2005
[75]
I've found that this is called when you do a 'request-download
[unknown: 5]
2-May-2005
[76]
Maybe that should be submitted to feedback.
Allen
4-May-2005
[77x2]
OS has a proxy auto detect  option. Does anyone have an example to 
do this?
Try again. Altme has an OS proxy auto detect  option. Does anyone 
have an example to do this?
PeterWood
4-May-2005
[79x2]
This may or may not help:

http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-thread.r?m=rmlSJBJ
I suspect it doesn't
Allen
4-May-2005
[81]
Thanks Peter, But your suspicion is corrent ;-). I'm actually after 
the way altme & browser plugin read the systems proxy setup... I 
want to import those proxy settings automatically where possible
Graham
15-May-2005
[82]
Has anyone seen his message before?  I tried typing into a view application 
under windows 2000, and got this


The ordinal 6467 could not be located in the dynamic link library 
MFC42.DLL
Sunanda
15-May-2005
[83]
Not see it under REBOL.
But is sounds like you have an older (or newer!) copy of MFC42.

Or you may have both in different folders, and the wrong one is first 
in the path.

Either way, the first step usually is to get the appropriate version 
to execute.