OS/2, eCS & ArcaOS - Technical > Programming
Desktop Weather
Jan-Erik Lärka:
It use this to find smartguide.
IF TRANSLATE( VALUE( 'OS',, env ) ) = 'ECS' THEN
sgs_dir = VALUE( OSDIR,, env )'\System\SGUIDE'
ELSE sgs_dir = getBootDrive()'\OS2'
so you need to help me to adjust the ELSE line where it can find sguide.exe
It should not assume as now.
I prefer if the script should handle it all as much as possible.
But yes, it may have to ask some questions, but this should not be one as it's either there or not.
ivan:
It appears that SmartGuide is an eCS tool as there is nothing like it on basic OS/2 but I did find it on the demo eCS 2.2 CD that I have.
Now the question is where do I put the sguide directory? Another thing, where would a bigicons directory go - root of boot partition or somewhere else?
I have SET OSDIR=C:\os2 in config.sys on this test machine because of something else I am testing which I assume means that the sguide directory will need to be hard coded in your script.
Jan-Erik Lärka:
sgs_dir = VALUE( OSDIR,, env )'\System\SGUIDE'
such as C:\OS2\System\SGUIDE in your case.
bigicons_dir = STRIP( VALUE( 'BIGICONS',, env ), 'T', '\' )
That is, you need a SET BIGICONS=C:\...\BIGICONS in config.sys or somewhere.
Jan-Erik Lärka:
Please crop the images before you convert them to icons as they'd fill up the space better.
Here's the updated icons, but without changes to the script to make use of them...
ivan:
Thanks. I will set that up as soon as I have time - we are upgrading a clients server room which means 18 hour days at the moment so not a lot of spare time.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version