Like a new feature? Say thanks here

Say it if you mean it...
klownboy
Posts: 3687
Joined: 28 Feb 2012 19:27

Re: Like a new feature? Say thanks here

Post by klownboy »

v23.20.0117 - 2022-06-27 11:45
+ Scripting got a new function.
Name: Font
Nice addition. You added the capability to use a fixed font for SC inputselect a while back which was great. Now we can change to a fixed font for a menu similar to this below yet change the font back to a proportional font when ending the script. Quite nice! :tup: :appl:
Fixed font for inutselect.jpg
Fixed font for inutselect.jpg (114.93 KiB) Viewed 1221 times
Windows 11, 21H2 Build 22000.434 at 100% 2560x1440

eil
Posts: 1399
Joined: 13 Jan 2011 19:44

Re: Like a new feature? Say thanks here

Post by eil »

Code: Select all

  +++ Scripting: Started adding arrays. It already seems to be working at a basic level:
        $a[2]="cat"; $b=1; echo $a[$b+$b]; //cat
    + Scripting | Arrays: Now associative arrays are supported. The named keys have to be 
      put in single quotes:
        $a['pussy']="cat"; $b="pussy"; echo $a[$b]; //cat
        
Smth Revolutionary is coming! :ninja: I hope there will come a command to easily take INI file/section and convert into associative array.
Win 7 SP1 x64 100% 1366x768

Filehero
Posts: 2549
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Like a new feature? Say thanks here

Post by Filehero »

Code: Select all

  +++ Scripting: Started adding arrays. It already seems to be working at a basic level:
        $a[2]="cat"; $b=1; echo $a[$b+$b]; //cat
    + Scripting | Arrays: Now associative arrays are supported. The named keys have to be 
      put in single quotes:
        $a['pussy']="cat"; $b="pussy"; echo $a[$b]; //cat
Oh yeah. :tup:

That was a "lange Geburt": when I posted my wish my son was 5 months old - now he's 6 and a half years. :D

eil
Posts: 1399
Joined: 13 Jan 2011 19:44

Re: Like a new feature? Say thanks here

Post by eil »

Code: Select all

    * SC WriteFile: Added two parameters to control the position and length of the data 
      written to the file.
      Syntax: writefile(filename, data, [on_exist], [mode], [start=1], [numbytes=-1])
        start:  Start writing at this byte position.
                Defaults to 1 which is the very beginning.
                Note: Writing here is always overwriting, not inserting!
        numbytes: Write this number of bytes.
                  Defaults to -1 which means: write everything passed in the data argument.
      Example:
        writefile(, "abc", , , 3, 2); //writes "ab" at pos 3 to the currently selected file
Now one can be a master of hiding own info by "adding" it to other files. :twisted:
Win 7 SP1 x64 100% 1366x768

eil
Posts: 1399
Joined: 13 Jan 2011 19:44

Re: Like a new feature? Say thanks here

Post by eil »

Code: Select all

    + File Info Tips and Hover Box: Now you can specify a "Hover Blacklist" containing any 
      number of target paths to be excluded from the File Info Tips and Hover Box, i.e. 
      excluded from file access on mouse hover. Usually you want to exclude slow paths, 
      e.g. cloud folders.
Didn't track who wished for that, but will be useful.
Win 7 SP1 x64 100% 1366x768

Post Reply