Topic: ClassicShell  (Read 14700 times)

ClassicShell
« on: June 06, 2012, 09:23:58 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
New ClassicShell script with Classic Start Menu 3.5 Inside x86/x64
Works on Win7PE_SE, It should work with VistaPE, other Win7PE and also in Win8PE.

Many options available to choose your language, your Skin, your additional menu items or your recent programs.

Classic shell HomePage

ClassicShell.script

ila_rendered

:cheers:
« Last Edit: June 07, 2012, 01:54:52 PM by ChrisR »

Re: ClassicShell
« Reply #1 on: June 07, 2012, 05:27:34 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
 :thumbsup:

Works nicely  :great:

with just a little touch to get 80 run  :cool:
If,%CheckBox_Items1%,Equal,True,TxtAddline,%w%,"CustomItem1,\",Append
If,%CheckBox_Items2%,Equal,True,TxtAddline,%w%,"CustomItem2,\",Append
If,%CheckBox_Items3%,Equal,True,TxtAddline,%w%,"CustomItem3,\",Append
If,%CheckBox_Items4%,Equal,True,TxtAddline,%w%,"CustomItem4,\",Append
-->
If,%CheckBox_Items1%,Equal,True,TxtAddline,%w%,"CustomItem1#$c\",Append
If,%CheckBox_Items2%,Equal,True,TxtAddline,%w%,"CustomItem2#$c\",Append
If,%CheckBox_Items3%,Equal,True,TxtAddline,%w%,"CustomItem3#$c\",Append
If,%CheckBox_Items4%,Equal,True,TxtAddline,%w%,"CustomItem4#$c\",Append



I am mostly impressed with working "Search"  :thumbsup:
to me it is the most valuable thingy of nt6x  :lol:

 :cheers:

Re: ClassicShell
« Reply #2 on: June 07, 2012, 01:54:21 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Works nicely  :great:

with just a little touch to get 80 run  :cool:
Thanks :thumbsup:
I forgot to test the compatibility with version 80 :uuups:
Quote
However, I do not understand why this works
TxtAddline,%w%,"ProgramsMenu.Command=programs,\",Append
and not
If,%CheckBox_Items1%,Equal,True,TxtAddline,%w%,"CustomItem1,\",Append  (corrected by: If,%CheckBox_Items1%,Equal,True,TxtAddline,%w%,"CustomItem1#$c\",Append)

Script on server also now ClassicShell.script

Yep, nice search function which works alone, without the explorer search script  :great:

:cheers:

Re: ClassicShell
« Reply #3 on: June 07, 2012, 03:20:07 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
However, I do not understand why this works
since related reply is not about ClassicalShell, on pm   :great:

Re: ClassicShell
« Reply #4 on: June 21, 2012, 08:24:59 PM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 256
Great program and great script, too: Thanks! :thumbsup:

Seems the author switched in version 3 from ini to xml config handling. This complicates additional settings manipulation tolerably...
But maybe there's a way to include an exported pre-defined mysettings.xml somehow?

Any idea, ChrisR?

Re: ClassicShell
« Reply #5 on: June 22, 2012, 02:20:06 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Thanks, I have taken  pleasure in developing it  :cool:

Such as there are many options already available, I have not look in this direction.
Do you think that it is possible to automatically load a pre-defined XML at startup, not tested, Is there a switch ?

:cheers:

Re: ClassicShell
« Reply #6 on: June 24, 2012, 07:22:39 PM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 256
Do you think that it is possible to automatically load a pre-defined XML at startup, not tested, Is there a switch ?
I'll try to find out, it would be way more elegant than hacking in additional settings in a "forked" script. :wink:

Re: ClassicShell
« Reply #7 on: December 07, 2012, 02:54:28 PM »

fuwi

  • Code Baker
  • Chef
  • ***
  • Location: Switzerland
  • Date Registered: Nov 2012
  • Posts: 171
I have the ClassicShell script updated and a little bit enhanced  :thumbsup:

  • most recent ClassicShell version
  • fully integrated Restart and Shut Down with CD-Eject (no other scripts needed)
  • more configuration options (style of the Start Button, show or don't show Computer, My Documents in the menu)
  • option to copy all skins or the selected skin only




Fuwi

Re: ClassicShell
« Reply #8 on: December 11, 2012, 02:08:16 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
I have the ClassicShell script updated and a little bit enhanced  :thumbsup:
Sounds great, I'll test. Thanks Fuwi  :thumbsup:

:cheers:

Re: ClassicShell
« Reply #9 on: January 18, 2015, 07:40:07 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi Chris,

I have a timing trouble with [SearchAutoIt],
 info not written to GetAu3.ini (I checked by commenting out) and further plugin fails....
.........
To me, adding %AutoIt_x86%=%Tools%\x86\AU33100.exe to [Variables] would be nice  :wink: .........
 

++
Adding
pWebLabel2="Plugin Page",1,10,349,346,66,18,http://TheOven.org/index.php?topic=290.0
Contact=http://TheOven.org/index.php?topic=290.0
would ease finding current topic  :wink:



See You
:turtle:


Edit:
after modifying as above,
Failed to find file: [%BaseDir%\Temp\Win8.1SE\BitSet.ini]
 :wink:
« Last Edit: January 18, 2015, 11:17:21 AM by Lancelot »

Re: ClassicShell
« Reply #10 on: January 19, 2015, 12:58:24 PM »

fuwi

  • Code Baker
  • Chef
  • ***
  • Location: Switzerland
  • Date Registered: Nov 2012
  • Posts: 171
In which project? Win7PE SE, Win8PE SE or Win8.1SE?

fuwi

Re: ClassicShell
« Reply #11 on: January 19, 2015, 01:42:51 PM »

fuwi

  • Code Baker
  • Chef
  • ***
  • Location: Switzerland
  • Date Registered: Nov 2012
  • Posts: 171
Is this working in you build?

* SearchAutoitTest.script (7.9 kB - downloaded 144 times.)

Copy this testscript to 'Shell' and run it.
The script contains the code of the Win8.1SE Classic Shell script for searching the most recent AU33xxx.exe in WinBuilder\Projects\Tools\"project"\x86 (success or fail messagebox).
For me it works in Win7PE SE, Win8PE SE and Win8.1SE without problems, no timing troubles.

ila_rendered

fuwi
« Last Edit: January 19, 2015, 02:33:55 PM by fuwi »

Re: ClassicShell
« Reply #12 on: January 20, 2015, 05:51:54 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi fuwi,

Thanks  :thumbsup:

Here is result
ila_rendered

Further:
I delete filedelete line --> inside GetAu3.ini:
Code: [Select]
[GetAu3]
LatestAU3=

ps: you can put any debug line to GetAu3.ini so I can report...

on wb80 it works ok  :confused:
edit: now on wb80 it doesn't work anymore ..... I feel it worked at first run, than after restarting builder it start to fail....


ps:
Exit
-->
Exit,""

:turtle:
« Last Edit: January 20, 2015, 09:34:39 AM by Lancelot »

Re: ClassicShell
« Reply #13 on: January 20, 2015, 09:42:35 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi fuwi,

Also not working on wb80 anymore, see previous post edit..

Just noticed, I feel my hostos (win81x64) may not like "small autoit" .... maybe a normal compile required ?!?!?
or (better, smaller) GetAu3.au3



Code: [Select]
[SearchAutoIt]
//-- Get the path to the most recent 32-bit AU3*.exe in %Tools%\x86 (min. required for Classic Shell script: AU33100.exe)
ExtractFile,%ScriptFile%,Tools,GetAu3.au3,%ProjectTemp%
//ShellExecute,hide,%ProjectTemp%\GetAu3.exe,%Tools%\x86
ShellExecute,Hide,%tools%\x86\AU3381.exe,%ProjectTemp%\GetAu3.au3,%ProjectTemp%
IniRead,%ProjectTemp%\GetAu3.ini,GetAu3,LatestAU3,%AutoIt_x86%
Call,FileDelete,%ProjectTemp%\GetAu3.au3
Call,FileDelete,%ProjectTemp%\GetAu3.ini

:turtle:

Re: ClassicShell
« Reply #14 on: January 20, 2015, 02:24:11 PM »

fuwi

  • Code Baker
  • Chef
  • ***
  • Location: Switzerland
  • Date Registered: Nov 2012
  • Posts: 171
ila_rendered

Please try with a path without blanks. It seems that the folder 'B ase' has a blank after the 'B'.
It's not a good idea to use blanks or other non-standard characters in the WinBuilder path.

fuwi


Re: ClassicShell
« Reply #15 on: January 20, 2015, 02:32:01 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi fuwi,

I know,
for SE project and for Gena,
 As developer, I intentionally always use this path, to be sure :)
  besides always advice none spaced path (like you do)

So far all went fine, if only getau3 have trouble with space, it will be nice if fixed since rest already work that way...

Further:
You gave a good idea to check non-standard characters  :thumbsup:
 I will implement when I find time :thumbup:

:turtle:


Re: ClassicShell
« Reply #16 on: January 23, 2015, 11:51:56 AM »

was_JFX

  • Code Baker
  • Grand Chef
  • *****
  • Date Registered: Dec 2010
  • Posts: 1074
Let's agree that spaces are evil, but using quotes they become harmless.

1. You need to run your tool with parameter quoted through builder.
Else your tool get's 2 parameters instead of 1.

2. You need again quote the path you pass to the cmd.exe's dir command.

However I don't like the solution, the project should have it's recommended AU3 interpreter.
And that one should be used by the users or they should compile their files to exe.

Re: ClassicShell
« Reply #17 on: January 24, 2015, 12:40:52 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Yep, it works with  a space in the path with the quote added  :thumbsup:
Code: [Select]
ShellExecute,Hide,%AutoIt_x86%,#$q%ImageConvertFolder%\ConvertUserPic.a3x#$q
ShellExecute,hide,%AutoIt_x86%,"#$q%ProjectTemp%\BitSet.au3#$q ......"
ShellExecute,hide,%ProjectTemp%\GetAu3.exe,#$q%Tools%\x86#$q
and  in GetAu3.pb
Code: [Select]
RunProgram("cmd.exe", "/c dir " + Chr(34) + FileMask$ + Chr(34) +" /b /o-s >" + Chr(34) + TempFile$ + Chr(34), "", #PB_Program_Wait|#PB_Program_Hide)
I tried also with AU3381.exe hardcoded and without searching the latest AU33* version.
ShellExecute,hide,%Tools%\x86\AU3381.exe,,"#$qPath$q"
It seems to work well here in my W7 64bit OS. AU33100.exe or later does not seem required, I have not test it with Win8.
Otherwise, for info, AU3381 is the default AU3 engine in SE projects, also I believe in Gena or others plugins and it is used in many places.

:cheers:


Re: ClassicShell
« Reply #18 on: January 30, 2015, 01:54:39 PM »

fuwi

  • Code Baker
  • Chef
  • ***
  • Location: Switzerland
  • Date Registered: Nov 2012
  • Posts: 171
Thanks Chris for the changes, and for the new version v15 on your server.

On a short-term basis, based on v15, i made a new version v16:

Code: [Select]
History015=ChrisR - Use the default AU3381.exe engine of SE projects. Adding quotes in ShellExecute to work with spaces in path.
History016=fuwi   - Copy msinfo32, if not exists in System32 (if MMC is not enabled). Correcting 2 registry entry's, in accordance with cobraman, see http://theoven.org/index.php?topic=1187.0

[ Attachment Invalid Or Does Not Exist ]

fuwi
« Last Edit: March 28, 2016, 12:58:56 PM by fuwi, Reason: Plugin removed, because the script code no longer works with newer versions of the macro library... »

Re: ClassicShell
« Reply #19 on: January 30, 2015, 02:59:32 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Thanks fuwi  :thumbsup:
As you saw, I did many updates on the project  :wink:
I was going to warn you after all those updates, for the change on Classic shell but you saw it first   :cool:

I put version 16 on win81se server, 
with just a small change:
If,Not,ExistFile,%Target_Sys%\msinfo32.exe,Require_FileQ,msinfo32.exe
it is necessary for some localization where some .mui files are in en-us fallback folder and not in %distlang% (ex: en-gb).
Thanks cobraman also for icons  :thumbsup:

:cheers:

 

Powered by EzPortal