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

World: r3wp

[SDK]

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.
Graham
15-May-2005
[84]
Good call!  There was an ancient version of mfc42.dll in the same 
directory.
[unknown: 10]
15-May-2005
[85x2]
Does anyone know if SDK will be totaly updated when view 1.3 is final 
?
And when will SDK be final?
Volker
15-May-2005
[87]
Carl sounds like 1.3 is new base for everything. so i hope IOS and 
SDK will follow quickly.
Maarten
16-May-2005
[88x2]
I *think* that the goal is to upgarde View, Core and also the SDK.
Once that is done work will start on the new async core and Rebservices.
[unknown: 10]
16-May-2005
[90]
Hope async & services will deploy next month ;-)
PhilB
17-May-2005
[91]
If I were to buy the SDK would I be able to upgrade to 1.3 , or should 
I wait for 1.3 ?
MichaelB
17-May-2005
[92]
Should most probably be more a question to RT directly, but I'd like 
to know the same. Actually if in the future everything is to be based 
on LNS, Rebol/Platform and so on, will people with the SDK, Command 
have to buy new versions, as it sounded that everything will change 
more or less, so the productline isn't the same anymore ?!
François
8-Jun-2005
[93]
PhilB, I asked the question a year and a half ago and the answer 
was positive. I bought SDK a month and a half ago and I hope they 
will keep their word...
Graham
21-Jun-2005
[94]
Carl said in the weekend that parts of the SDK were being uploaded 
... but I can't see them on rebol.net.
Anyone know to where they were uploaded?
BrianH
21-Jun-2005
[95]
An updated REBOL/Base for some platforms was uploaded to where they 
put the View alphas/betas.
Graham
21-Jun-2005
[96]
but no SDK ...
BrianH
21-Jun-2005
[97]
/Pro and /Command too. Base and Pro are part of the SDK.
Graham
21-Jun-2005
[98]
I think /Base is for general distribution.
BrianH
21-Jun-2005
[99]
I wish. Betas of it have been freely distributed, but there is not 
yet any place that you can download a release version of Pro, Base 
or Face seperate from the SDK. It was suggested to Carl that Base 
be ported to more platforms (particularly WinCE) and he seemed to 
think it was a good idea.