Jump to content











Photo
- - - - -

Customise Options at boot or Desktop load


  • Please log in to reply
17 replies to this topic

#1 BobxT

BobxT

    Member

  • Members
  • 82 posts
  •  
    Australia

Posted 05 December 2010 - 03:26 AM

Hi All,

I have saved a portion of the registry to do with setting Lucida fonts and to set that font size to 20. This to be applied to the Command Prompt window and another.

1.) I know I can convert the reg file to .script format, but WHERE and how do I place the script so that it Autoruns each boot..?

2.) I would also like to set the default screen setting of the Desktop to suit Clear Type (I mostly use LCD screens), but I can't figure out how to do this.

I can't find a registry value and search on line can only find heaps of vbs scripts that claim to be able to set to Clear Type but no registry files.

Anyone have any ideas how I might do this..?

TIA,
Regards,
BobxT

#2 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 05 December 2010 - 05:24 AM

Your options would be 1) run it startup by gerating a start menu shortcut in your startup folder; or 2) run it by a RunOnceEx registry entry.

Regards,
Galapo.

#3 BobxT

BobxT

    Member

  • Members
  • 82 posts
  •  
    Australia

Posted 05 December 2010 - 07:33 PM

Your options would be 1) run it startup by gerating a start menu shortcut in your startup folder; or 2) run it by a RunOnceEx registry entry.

Regards,
Galapo.



HOW do I do this in WinBuilder for LiveXP..?

TIA,
BobxT

#4 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 05 December 2010 - 11:02 PM

Here's the two options:

Hive_Load,HKU

reg_add,0x1,%reg%\Microsoft\Windows\CurrentVersion\RunOnceEx\999,LoadMyRegFile,"reg.exe import file.reg"

Hive_Unload,HKU

Add_Shortcut,AutoStart,,#$pSystemRoot#$p\system32\reg.exe,LoadMyRegFile,,"import file.reg"

Regards,
Galapo.

#5 BobxT

BobxT

    Member

  • Members
  • 82 posts
  •  
    Australia

Posted 08 December 2010 - 12:27 AM

Here's the two options:

Hive_Load,HKU

reg_add,0x1,%reg%\Microsoft\Windows\CurrentVersion\RunOnceEx\999,LoadMyRegFile,"reg.exe import file.reg"

Hive_Unload,HKU

Add_Shortcut,AutoStart,,#$pSystemRoot#$p\system32\reg.exe,LoadMyRegFile,,"import file.reg"

Regards,
Galapo.



Looks good, but where do I put this code in the WinBuilder LiveXP Project and where do I put the file.reg..? In the same location as the code, perhaps..?

Regards,
BobxT

#6 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 08 December 2010 - 01:04 PM

Hi BobxT,

For clear type following script will work
http://www.mediafire...p38bupbij6r86em

In addition, I guess you would like to see large fonts too (on your hugeee screen :hyper: ), if so here is another one which "highly probably" work
http://www.mediafire...oqay5vhag43v4y6

put both to ....\Projects\LiveXP\Apps\ folder, and restart winbuilder, ..........

Advice: Unless not mentioned on a script page etc., I recommend you use ....\Projects\LiveXP\Apps\ folder (maybe a new folder ....\Projects\LiveXP\Apps\1MY_Scripts\) for the additonal scripts you find or make (convert) . This would cover %95 of your requirements :>.

Further:
these are very basic written scripts to help you as a beginner,
you can easly use them by modifying , like adding Galapo's codes above, or other things.........

Tips:
* you can disable all apps scripts, they are not mandatory and disabling them will gain time on tests
* after building (big blue) you can use small green button on scripts, to add things...
http://img686.images...01208150220.png
after such addition, use small green button on "2 Create Image" scripts to recreate the new iso ...

Happy testings
:frusty:

#7 BobxT

BobxT

    Member

  • Members
  • 82 posts
  •  
    Australia

Posted 09 December 2010 - 12:04 AM

Hi BobxT,

For clear type following script will work
http://www.mediafire...p38bupbij6r86em

In addition, I guess you would like to see large fonts too (on your hugeee screen :lol: ), if so here is another one which "highly probably" work
http://www.mediafire...oqay5vhag43v4y6

<SNIP>

Happy testings
:huh:


Thanks Lancelot,
I have added those two scripts and also used your suggestion of the \Apps\1MY_Scripts\ folder.

I have also added this to your "Large Font size.script" under [Process].
This addition changes both the font and the font size on the Command Prompt and the same for a file manager program called "File Commander for Windows". This is a Norton Commander clone that I have used for years. Info at web site:- [url="http://silk.apana.org.au/%5B/url%5D

CODE[Process]hive_load,HKCU//Enable lucidareg_add,0x4,"%reg%\Console","ColorTable00","0"reg_add,0x4,"%reg%\Console","ColorTable01","8388608"reg_add,0x4,"%reg%\Console","ColorTable02","32768"reg_add,0x4,"%reg%\Console","ColorTable03","8421376"reg_add,0x4,"%reg%\Console","ColorTable04","128"reg_add,0x4,"%reg%\Console","ColorTable05","8388736"reg_add,0x4,"%reg%\Console","ColorTable06","32896"reg_add,0x4,"%reg%\Console","ColorTable07","12632256"reg_add,0x4,"%reg%\Console","ColorTable08","8421504"reg_add,0x4,"%reg%\Console","ColorTable09","16711680"reg_add,0x4,"%reg%\Console","ColorTable10","65280"reg_add,0x4,"%reg%\Console","ColorTable11","16776960"reg_add,0x4,"%reg%\Console","ColorTable12","255"reg_add,0x4,"%reg%\Console","ColorTable13","16711935"reg_add,0x4,"%reg%\Console","ColorTable14","65535"reg_add,0x4,"%reg%\Console","ColorTable15","16777215"reg_add,0x4,"%reg%\Console","CursorSize","25"reg_add,0x1,"%reg%\Console","FaceName",""reg_add,0x4,"%reg%\Console","FontFamily","0"reg_add,0x4,"%reg%\Console","FontSize","0"reg_add,0x4,"%reg%\Console","FontWeight","0"reg_add,0x4,"%reg%\Console","FullScreen","0"reg_add,0x4,"%reg%\Console","HistoryBufferSize","50"reg_add,0x4,"%reg%\Console","InsertMode","1"reg_add,0x4,"%reg%\Console","LoadConIme","1"reg_add,0x4,"%reg%\Console","NumberOfHistoryBuffers","4"reg_add,0x4,"%reg%\Console","PopupColors","245"reg_add,0x4,"%reg%\Console","QuickEdit","0"reg_add,0x4,"%reg%\Console","ScreenBufferSize","19660880"reg_add,0x4,"%reg%\Console","ScreenColors","7"reg_add,0x4,"%reg%\Console","WindowSize","1638480"reg_add,0x4,"%reg%\Console","WindowsSize","1638480"reg_add,0x4,"%reg%\Console\Command prompt","ScreenColors","7"reg_add,0x4,"%reg%\Console\Command prompt","PopupColors","245"reg_add,0x4,"%reg%\Console\Command prompt","ColorTable00","0"reg_add,0x4,"%reg%\Console\Command prompt","ColorTable01","8388608"reg_add,0x4,"%reg%\Console\Command prompt","ColorTable02","32768"reg_add,0x4,"%reg%\Console\Command prompt","ColorTable03","8421376"reg_add,0x4,"%reg%\Console\Command prompt","ColorTable04","128"reg_add,0x4,"%reg%\Console\Command prompt","ColorTable05","8388736"reg_add,0x4,"%reg%\Console\Command prompt","ColorTable06","32896"reg_add,0x4,"%reg%\Console\Command prompt","ColorTable07","12632256"reg_add,0x4,"%reg%\Console\Command prompt","ColorTable08","8421504"reg_add,0x4,"%reg%\Console\Command prompt","ColorTable09","16711680"reg_add,0x4,"%reg%\Console\Command prompt","ColorTable10","65280"reg_add,0x4,"%reg%\Console\Command prompt","ColorTable11","16776960"reg_add,0x4,"%reg%\Console\Command prompt","ColorTable12","255"reg_add,0x4,"%reg%\Console\Command prompt","ColorTable13","16711935"reg_add,0x4,"%reg%\Console\Command prompt","ColorTable14","65535"reg_add,0x4,"%reg%\Console\Command prompt","ColorTable15","16777215"reg_add,0x4,"%reg%\Console\Command prompt","InsertMode","1"reg_add,0x4,"%reg%\Console\Command prompt","QuickEdit","0"reg_add,0x4,"%reg%\Console\Command prompt","FullScreen","0"reg_add,0x4,"%reg%\Console\Command prompt","ScreenBufferSize","19660880"reg_add,0x4,"%reg%\Console\Command prompt","WindowSize","1638480"reg_add,0x4,"%reg%\Console\Command prompt","FontSize","1310720"reg_add,0x4,"%reg%\Console\Command prompt","FontFamily","54"reg_add,0x4,"%reg%\Console\Command prompt","FontWeight","400"reg_add,0x1,"%reg%\Console\Command prompt","FaceName","Lucida Console"reg_add,0x4,"%reg%\Console\Command prompt","CursorSize","25"reg_add,0x4,"%reg%\Console\Command prompt","HistoryBufferSize","50"reg_add,0x4,"%reg%\Console\Command prompt","NumberOfHistoryBuffers","4"reg_add,0x4,"%reg%\Console\Command prompt","HistoryNoDup","0"reg_add,0x4,"%reg%\Console\File Commander","ScreenColors","7"reg_add,0x4,"%reg%\Console\File Commander","PopupColors","245"reg_add,0x4,"%reg%\Console\File Commander","ColorTable00","0"reg_add,0x4,"%reg%\Console\File Commander","ColorTable01","8388608"reg_add,0x4,"%reg%\Console\File Commander","ColorTable02","32768"reg_add,0x4,"%reg%\Console\File Commander","ColorTable03","8421376"reg_add,0x4,"%reg%\Console\File Commander","ColorTable04","128"reg_add,0x4,"%reg%\Console\File Commander","ColorTable05","8388736"reg_add,0x4,"%reg%\Console\File Commander","ColorTable06","32896"reg_add,0x4,"%reg%\Console\File Commander","ColorTable07","12632256"reg_add,0x4,"%reg%\Console\File Commander","ColorTable08","8421504"reg_add,0x4,"%reg%\Console\File Commander","ColorTable09","16711680"reg_add,0x4,"%reg%\Console\File Commander","ColorTable10","65280"reg_add,0x4,"%reg%\Console\File Commander","ColorTable11","16776960"reg_add,0x4,"%reg%\Console\File Commander","ColorTable12","255"reg_add,0x4,"%reg%\Console\File Commander","ColorTable13","16711935"reg_add,0x4,"%reg%\Console\File Commander","ColorTable14","65535"reg_add,0x4,"%reg%\Console\File Commander","ColorTable15","16777215"reg_add,0x4,"%reg%\Console\File Commander","InsertMode","1"reg_add,0x4,"%reg%\Console\File Commander","QuickEdit","0"reg_add,0x4,"%reg%\Console\File Commander","FullScreen","0"reg_add,0x4,"%reg%\Console\File Commander","ScreenBufferSize","19660880"reg_add,0x4,"%reg%\Console\File Commander","WindowSize","1638480"reg_add,0x4,"%reg%\Console\File Commander","FontSize","1310720"reg_add,0x4,"%reg%\Console\File Commander","FontFamily","54"reg_add,0x4,"%reg%\Console\File Commander","FontWeight","400"reg_add,0x1,"%reg%\Console\File Commander","FaceName","Lucida Console"reg_add,0x4,"%reg%\Console\File Commander","CursorSize","25"reg_add,0x4,"%reg%\Console\File Commander","HistoryBufferSize","50"reg_add,0x4,"%reg%\Console\File Commander","NumberOfHistoryBuffers","4"reg_add,0x4,"%reg%\Console\File Commander","HistoryNoDup","0"hive_unload
I will fiddle with your reg settings for your "Large Font size.script" now that I know where in the registry to look and extract/convert them.

My Monitor is a Dell U3011 with 2560x1600 resolution and 16:10 aspect ratio. While I would like larger fonts, there is no point I think, uploading a screen shot as part of the problem is also my 63 year old eyes. :lol:


Thanks for the Tips.

Regards,
BobxT

#8 BobxT

BobxT

    Member

  • Members
  • 82 posts
  •  
    Australia

Posted 09 December 2010 - 10:16 PM

<SNIP>
Happy testings
:lol:


Hi Lancelot,

One more tweak would be nice, if you know how to do it.

I would like to change the Quick Launch icon view to Large Icons and while there is plenty of web sites that show how to do it, none bother with the registry settings directly.

I have looked in the registry of two systems, one real and one LiveXP where the Quick Launch view has been changed to Large Icons and cannot find anything that works when saved to a reg file.

I actually exported every registry key and value that had the word
Quick Launch in it.

Can you possibly refer me to the correct settings (and I promise I won't bother you for at least a week.. :lol: )

TIA,
BobxT

#9 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 09 December 2010 - 10:39 PM

Hi BobxT,

If a solution not appears around till tomorrow, I will check tomorrow night

Feel free to bother any livexp user about livexp :cheers:

btw, I take a small look to File Commander, I guess development stoped a while ago but it is nice indeed, well I still use nc.exe sometimes on DOS :lol:


Well, there is a hot development Far Manager (+ not shareware) which you may get interested , check pictures at its website.

Tip:
I edit your previous post to ease reading
when writing loooong codes on posts, use codebox http://img809.images...01210003101.png
ex:
mylonglongcodesarehere

See you
:lol:

#10 BobxT

BobxT

    Member

  • Members
  • 82 posts
  •  
    Australia

Posted 10 December 2010 - 05:55 AM

<SNIP>

btw, I take a small look to File Commander, I guess development stopped a while ago but it is nice indeed, well I still use nc.exe sometimes on DOS :cheers:

<SNIP>

Tip:
I edit your previous post to ease reading
when writing loooong codes on posts, use codebox http://img809.images...01210003101.png
ex:

mylonglongcodesarehere
See you :cheers:

Hi Lancelot,Thanks for the tip re the CodeBox. Will use it in future.As regards, File Commander (FCW), it is still in regular development, you download the stable (current) release then add the most recent beta. The last beta was only yesterday.


See the Development progress page:-
[url="http://silk.apana.or...velopment.html"

I think I will stick with FCW, I have looked at Far Manager but I have configure FCW to do everything I want.

I will keep checking Bootland and otehr sites to see if I can find the info I want.

Regards,
BobxT

#11 al_jo

al_jo

    Gold Member

  • Members
  • 1218 posts
  • Location:Tellus

Posted 10 December 2010 - 09:51 AM

As regards, File Commander (FCW), it is still in regular development, you download the stable (current) release then add the most recent beta. The last beta was only yesterday.
BobxT


FC is some kind of “clone” of the old NC?
Anyway, I liked it and made a small Winbuilder script for the app…
:cheers:

Ps. You can add your own "fcw.ini" if you want in the script...

Attached Files



#12 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 10 December 2010 - 10:33 PM

As regards, File Commander (FCW), it is still in regular development,

Ahh I missed that part,
because I see death links at archivers (one of them 16bit !)
http://silk.apana.org.au/fcwftp.html
and thought.....

Thanks for updating, it is developing verrry hot indeed, and looks to me quite nice and light :cheers: . I guess being shareware deserves what is inside, better you know :huh:

ps: thanks for sharing script al jo

Going back to subject, sorry I forgot yesterday and just remembered when testing tonight, The Great Fxscrpt showed me the key when I start using LiveXP and now I am giving info to you, wow a lot time passed.

anyway, here it is, with my personal preference of using 2 level + your request for big quick launch icons
http://www.mediafire...e1m41s1v02fp2hk

Happy times with this new toy :cheers:

#13 BobxT

BobxT

    Member

  • Members
  • 82 posts
  •  
    Australia

Posted 11 December 2010 - 04:48 AM

<SNIP>
Going back to subject, sorry I forgot yesterday and just remembered when testing tonight, The Great Fxscrpt showed me the key when I start using LiveXP and now I am giving info to you, wow a lot time passed.

anyway, here it is, with my personal preference of using 2 level + your request for big quick launch icons
http://www.mediafire...e1m41s1v02fp2hk

Happy times with this new toy :cheers:


Hi Lancelot,

Sorry to report neither your 2 level taskbar nor the Large Icon view of the Quick launch are working. From the appearance of the code in your script it looks like code I had already tried by extracting, saving as a reg file and loading into LiveXP AFTER booting. It did not work there either.

I assume it must depend on some other keys or values that are obscure and not immediately obvious.

Oh well.. Back to Google again.. :lol:
Regards,
BobxT

#14 BobxT

BobxT

    Member

  • Members
  • 82 posts
  •  
    Australia

Posted 11 December 2010 - 07:14 AM

FC is some kind of “clone” of the old NC?
Anyway, I liked it and made a small Winbuilder script for the app…
:lol:

Ps. You can add your own "fcw.ini" if you want in the script...


Yes it is a clone of the old Dos NC, but has Win 32 + 64 bit as well Os/2 (now known as eCS) and many linux flavours.

Thanks, but I already have my own script. Still a work in progress but almost complete.

I should add FCW is a very minor Nagware, as it only occasionally complains but is otherwise fully functional and without any other limitations.

For those like myself who may decide to register, the registration is as the example below.. I think I have been a registered user since 1996 or so, the same serial number does all operating system types without restriction.

After registering within the program extract this data and process for WinBuilder.

Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\File Commander/W]"Name"="Your registered Name""Serial"=dword:YourSerial"Time"=dword:xxxxxxxx

I can provide a customised fcw.ini file if anyone is interested to use as an example of config options.
It does not containing any serial numbers so is quite legal.

HTH,
Regards,
BobxT

#15 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 11 December 2010 - 09:07 AM

Hi BobxT

at 'Other Options' be sure you did NOT enable 'Adjust quicklaunch size for number of icons'
http://img253.images...01211103138.png
If it was enabled before, rebuild (Big Blue) by disableing this option :lol:


Feel free to share your fw & other scripts when ready :cheers:

:cheers:

#16 BobxT

BobxT

    Member

  • Members
  • 82 posts
  •  
    Australia

Posted 11 December 2010 - 10:43 AM

Hi BobxT

at 'Other Options' be sure you did NOT enable 'Adjust quicklaunch size for number of icons'
http://img253.images...01211103138.png
If it was enabled before, rebuild (Big Blue) by disableing this option :lol:

Feel free to share your fw & other scripts when ready :cheers:

:cheers:


You are right again..! That was it. Quick Launch now has large icons AND your 2 level Taskbar is working.

How do you guys know what works with what or not..? I assumed that any scripting after the basic default settings would have superseded the preceding options and overwritten them..!

This is obviously why all my experimenting with reg files in LiveXP did not work either.

When I get the FCW ready I will upload to mediafire and post in LiveXP as a new topic. Thanks.

TA,
Regards,
BobxT

Edited by BobxT, 11 December 2010 - 10:45 AM.


#17 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 11 December 2010 - 11:04 AM

Hi BobxT,

theme / themexp value is a special value of this special case,
the option on script counts number of links you added to quicklaunch,
and adjust quicklaunch single layer default size to fit these icons,
obviously to count number of icons at quick launch,
option need to check near end of the build and overwrite previous values,
very cool one from Galapo (LiveXP's Head, My Best Boss ever).

This option unselected by default on project for a long while now, to avoid possible custom settings from end users (ex: you). :cheers:

Do not worry much, In %99.9999 cases, things goes the way you write, preceding options superseeded and overwrite. If something happens at a %0.0001 case, you will find an available livexp user around here to help.

:lol:

#18 al_jo

al_jo

    Gold Member

  • Members
  • 1218 posts
  • Location:Tellus

Posted 11 December 2010 - 11:32 AM

Yes it is a clone of the old Dos NC, but has Win 32 + 64 bit as well Os/2 (now known as eCS)
Thanks, but I already have my own script. Still a work in progress but almost complete.


Eagerly waiting...for your script! :lol:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users