Help Winpe

Page 4 of 5 FirstFirst ... 2345 LastLast

  1. Posts : 4,637
    several
       #31

    you cant.

    this is a command
    ENVI @ediT2=%EDIT1%
    so it has to be run after typing the edit1 line

    test-envi.wcs

    Code:
    ENVI CurCheck=Currently Selected: 
    windows1
    /////////////////////////////////////////////////////////////////
    _SUB Windows1,W300H200,test-envi,
    LABE Label2,L20T48W180H20,%CurCheck% NOTEPAD.EXE 
    LIST List1,L20T96W128H32,PECMD.EXE|NOTEPAD.EXE|CMD.EXE,ENVI  @Label2=%CurCheck% %List1%,NOTEPAD.EXE  
     _END
      My Computer


  2. Posts : 61
    windows 10
    Thread Starter
       #32

    SIW2 said:
    you cant.

    this is a command
    ENVI @ediT2=%EDIT1%
    so it has to be run after typing the edit1 line

    test-envi.wcs

    Code:
    ENVI CurCheck=Currently Selected: 
    windows1
    /////////////////////////////////////////////////////////////////
    _SUB Windows1,W300H200,test-envi,
    LABE Label2,L20T48W180H20,%CurCheck% NOTEPAD.EXE 
    LIST List1,L20T96W128H32,PECMD.EXE|NOTEPAD.EXE|CMD.EXE,ENVI  @Label2=%CurCheck% %List1%,NOTEPAD.EXE  
     _END
    I got a command that worked the way I wanted it automatically

    thank you anyway
      My Computer


  3. Posts : 4,637
    several
       #33

    I got a command that worked the way I wanted it automatically
    are you going to show us how ?
      My Computer


  4. Posts : 61
    windows 10
    Thread Starter
       #34

    SIW2 said:
    are you going to show us how ?
    I managed to put the transparent button too
    just put -nscope after ITEM
      My Computer


  5. Posts : 4,637
    several
       #35

    yes, I had seen Davies code for content change

    Code:
    ENVI &EN_CHANGE=0x0300
    CALL    @win1
    _SUB WIN1,W354H309,
        ENVI &&i=0
        ENVI &&OldMsg=summat
        MEMO &Edit1,L10T10W275H70,%&OldMsg%,,
        ENVI @&Edit1.ID=?;&&ID1
        ENVI   @this.MSG=_COMMAND#%&ID1%#%&EN_CHANGE%::&&wp,&&lp, TEAM CALC &I=%&I%+1| ENVI   @this= %&I%  Edit1
        
        MEMO &Edit2,L10T82W275H70,%&OldMsg%,,
        ENVI @&Edit2.ID=?;&&ID2
        ENVI   @this.MSG=_COMMAND#%&ID2%#%&EN_CHANGE%::&&wp,&&lp, TEAM CALC &I=%&I%+1| ENVI   @this= %&I%  Edit2
      
    _END
      My Computer


  6. Posts : 61
    windows 10
    Thread Starter
       #36

    SIW2 said:
    yes, I had seen Davies code for content change

    Code:
    ENVI &EN_CHANGE=0x0300
    CALL    @win1
    _SUB WIN1,W354H309,
        ENVI &&i=0
        ENVI &&OldMsg=summat
        MEMO &Edit1,L10T10W275H70,%&OldMsg%,,
        ENVI @&Edit1.ID=?;&&ID1
        ENVI   @this.MSG=_COMMAND#%&ID1%#%&EN_CHANGE%::&&wp,&&lp, TEAM CALC &I=%&I%+1| ENVI   @this= %&I%  Edit1
        
        MEMO &Edit2,L10T82W275H70,%&OldMsg%,,
        ENVI @&Edit2.ID=?;&&ID2
        ENVI   @this.MSG=_COMMAND#%&ID2%#%&EN_CHANGE%::&&wp,&&lp, TEAM CALC &I=%&I%+1| ENVI   @this= %&I%  Edit2
      
    _END
    do you know how to send the index and the name of the windows version to LIST1?

    Exemplo:
    Help Winpe-exempl.png
      My Computer


  7. Posts : 4,637
    several
       #37

    I might be able to use something like dism or wimlib-imagex and use the info output to create a list or table.

    jfx has already made something to do the job and much more by calling wimgapi or libwim. Why not use that ?

    winntsetup_v530
      My Computer


  8. Posts : 61
    windows 10
    Thread Starter
       #38

    SIW2 said:
    I might be able to use something like dism or wimlib-imagex and use the info output to create a list or table.

    jfx has already made something to do the job and much more by calling wimgapi or libwim. Why not use that ?

    winntsetup_v530
    I'm trying to create my own

    this command even worked but it only shows index 2

    _Sub Find_wim_index
    exec* &mess1=*cmd /c ""%wimlib%" info "%Edit4%""
    call fresh_mess "%mess1%"
    I sent @Wim_index.val=1
    forx *Nl mess1,lx,
    {
    mstr -delims:: item,value=<1><2>%lx%
    Find $%item%=index, mstr -trim index=%value%
    Find $%item%=name,mstr -trim name=%value%
    Find $%item%=osversion,mstr -trim osversion=%value%
    {

    }
    Find $%item%=WIMBoot compatible,
    {
    mstr -trim WimBoot=%value%
    send lx= %index% %name% %osVersion%
    send @Wim_index.val=0;%lx%
    }

    }
    send @Wim_index.sel=1
    _End
      My Computer


  9. Posts : 4,637
    several
       #39

    I'm trying to create my own
    reinventing the wheel.

    Envi @Wim_index.val=1

    might be the isue
      My Computer


  10. Posts : 61
    windows 10
    Thread Starter
       #40

    SIW2 said:
    reinventing the wheel.

    Envi @Wim_index.val=1

    might be the isue
    Hello SIW2, how are you?
    How long

    Do you know a way when I type in EDIT, block space, numbers and special characters?
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 14:31.
Find Us




Windows 10 Forums