I have a Linux SDK license, but haven't kept a Linux machine setup for a while.
Can anyone tell me if they were able to change the CONSOLE's title text using the SDK, once encapped.
the encap header entry:
Encap: [title "new title"]
doesn't seem to work for me... for the console... it works for the view menues
I am able to change everything... even the console's menu items and application information for the system (icon->right-click->properties) but can't seem to get the damned Console window to change its label when it opens up with an error...
I can change the title AFTER its opened (using easy win32 commands), but when it opens because of an error (like missing memory ) It always has a
sorry for the red colored bg...
It always ... has a title of REBOL/Pro :-(
Have you tried changing the title from the resources section of the executable?
yeah, but that didn't work... what I ended up doing is a text search/replace in the exe and that worked ( just make sure you replace by the same number of bytes ;'-)
I remember doing the same hack a long time ago too. ;-)
Changing the resources did fix the highlights when hoving over the icon in the task bar and when looking at the apps properties.
using ResHacker to automate the process in my build engine.
I also once made an AutoIT script to manage these sorts of things. An old version of AutoIT had a tiny .dll which I'd include as binary encrypted data in my Rebol script, write it to disk, and then access it using Rebol's shared library interface: http://re-bol.com/remove_rebol_title_orig.exe
I have similar functions, its called set-console-title. and position-console-window. the above requires the window to already be open... my problem is that the console opens up as part of an encap error. at that point rebol script is not running anymore... :-(
The AutoIT script can run on it's own...
Yes, the only way is to use WinAPI but in some cases it makes your script crashes. So be careful.
I made a minimal AutoIT binding for R2 at one point. It's a great way to control MS Windows. However, ideally it would have more ability to read the current state of the UI to make it easier to automate in a reliable manner.
can anyone tell me where the license file is supposed to be on linux? rebpro keeps complaining that license key is missing.
I've put it in my home and in the cwd where I'm starting rebpro from... strange.
>> exists? %license.key == true
Perhaps .rebol/ ?
I think its the license itself. Looks like its keyed to the platform.
I was certain I had a linux version of the license. maybe not.