Results 1 to 5 of 5

Thread: Suggestion: Filtering of the Script Editor

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Suggestion: Filtering of the Script Editor

    Hello Friedrich,

    when I work on an Installer, I mostly use the Script Editor. But before I get
    there, I have to start, of course, and the most easy way to into it is to add
    the stuff folderwise. However, my data-folder holds 100 TPS files and my
    PDF-folder hold three folders with 200 PDF each. You guess it, my script is
    very crowded from the begin.

    My next step is then to replace all these hundreds of individual COPY
    source\x.TPS to %APPLICATIONWHATEVER%\x.TPX to *.TPS and *.PDF etc. You get the
    idea. Cleans the script enormously.

    Well, sometimes I forget a file or an entire folder in the first step. Or a
    project evolves before I started the clean-up. Like the need of a fourth
    PDF-folder.

    When I now add that new files or folder retroactively afterwards, it clutters
    my script even more, but now I have multiple blocks of EXE, then TPS, PDF, EXE
    again, now more PDF. You are still with me?

    My suggestion now is to filter all lines for a specific verb, so I see only,
    lets say PDF. Now I can easily highlight them all by Ctrl+A and comment them
    out in one go, then add new line for copying *.PDF ... or whatever.

    If you know DebugView++, then you may know this filtering, plus their ability
    to colour lines based on conditions. (See attached image)

    Weeeeelllll, _that_ would not be necessary. No. But I would not mind. <g>

    But if you would dare to, then a switch like "Turn OFF all additional colors"
    would be the cherry ontop of the icing of the cake.


    Regards,
    Wolfgang Orth
    www.odata.de

    Please note:
    From time to time it happens, that I overlook a reply to my postings.
    Please don't be angry.
    In case of an emergency, try to contact me via mail.

    Bitte beachten:
    Von Zeit zu Zeit passiert es mir, dass ich Antworten auf meine Postings übersehe.
    Bitte nicht böse sein.
    Im Notfall bitte Kontakt per Mail versuchen.







    .
    Attached Images Attached Images  

  2. #2

    Default Re: Suggestion: Filtering of the Script Editor

    Neat idea Wolfgang.

    Another work-saving thing could be if you were to explore the use of
    ..SBI (Setupbuilder Include) files. Maybe it could help you to separate
    the "busy work" from the meat and potatoes.

    Jeff Slarve
    www.jssoftware.com

    Ones and Zeros are my Heroes

  3. #3

    Default Re: Suggestion: Filtering of the Script Editor

    Hi Wolfgang,

    > when I work on an Installer, I mostly use the Script Editor. But before I get
    > there, I have to start, of course, and the most easy way to into it is to add
    > the stuff folderwise. However, my data-folder holds 100 TPS files and my
    > PDF-folder hold three folders with 200 PDF each. You guess it, my script is
    > very crowded from the begin.

    No need Two methods:

    1. Just use the script editor to add the files. Use the "Install
    File(s)" function and pick what you need, wildcards and what not.

    2. If you want to use the IDE, then when you select the folder/files to
    add, just select ONE file. Change THAT file to use *.whatever. See:
    https://www.screencast.com/t/lVF50Vo4H

    This way you don't clutter it up in the first place.

    A filter would be very nice though and having similar coloring options
    as in DebugView++ would be very nice indeed

    Best regards,

    --
    Arnor Baldvinsson
    Icetips Alta LLC

  4. #4

    Default Re: Suggestion: Filtering of the Script Editor

    >Hi Wolfgang,
    >
    >> when I work on an Installer, I mostly use the Script Editor. But before I get
    >> there, I have to start, of course, and the most easy way to into it is to add
    >> the stuff folderwise. However, my data-folder holds 100 TPS files and my
    >> PDF-folder hold three folders with 200 PDF each. You guess it, my script is
    >> very crowded from the begin.
    >
    >No need Two methods:
    >
    >1. Just use the script editor to add the files. Use the "Install
    >File(s)" function and pick what you need, wildcards and what not.
    >

    I am not that familiar with SB, I create a script only once in 5 years, from
    then on all updates I produce work flawlessly with SB, so I never get diving
    deeper into it.

    >2. If you want to use the IDE, then when you select the folder/files to
    >add, just select ONE file. Change THAT file to use *.whatever. See:
    >https://www.screencast.com/t/lVF50Vo4H
    >

    Man! I have not thought of this! Too simple!!! Thank you very much for this cool one.

    Regards,
    Wolfgang Orth
    www.odata.de

    Please note:
    From time to time it happens, that I overlook a reply to my postings.
    Please don't be angry.
    In case of an emergency, try to contact me via mail.

    Bitte beachten:
    Von Zeit zu Zeit passiert es mir, dass ich Antworten auf meine Postings übersehe.
    Bitte nicht böse sein.
    Im Notfall bitte Kontakt per Mail versuchen.

  5. #5

    Default Re: Suggestion: Filtering of the Script Editor

    Hi Wolfgang,

    > I am not that familiar with SB, I create a script only once in 5 years, from
    > then on all updates I produce work flawlessly with SB, so I never get diving
    > deeper into it.


    I don't do many either! I combine all my SB scripts with Build
    Automator and let it feed SB with the information that it needs.


    >> 2. If you want to use the IDE, then when you select the folder/files to
    >> add, just select ONE file. Change THAT file to use *.whatever. See:
    >> https://www.screencast.com/t/lVF50Vo4H
    >>
    >
    > Man! I have not thought of this! Too simple!!! Thank you very much for this cool one.


    Most welcome!

    But your suggestion for a filter, or coloring or something like that is
    excellent! I love DV++ for that as it makes it so easy to differentiate
    between programs etc.

    Best regards,

    --
    Arnor Baldvinsson
    Icetips Alta LLC

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •