Any news from behind the scenes?

Anything Really. Just keep it clean!

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Grovkillen
Automation Wizard
Posts: 1131
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Any news from behind the scenes?

Post by Grovkillen » Thu May 30, 2024 4:27 am

I'm curious about the future, what's in the pipe for MS in general?
Let>ME=%Script%

Running: 15.0.27
version history

User avatar
Grovkillen
Automation Wizard
Posts: 1131
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Any news from behind the scenes?

Post by Grovkillen » Fri May 31, 2024 12:32 pm

I was reading this post: https://help.mjtnet.com/article/185-how ... w-versions and figured I could make it into a fun little analysis.

Here's the list based on the version history page:

Code: Select all

HTTPRequest>https://help.mjtnet.com/article/222-version-history,,GET,,TEMP_html,,,,

Let>REGEX_PATTERN_early_days=/(\d{2})&
Let>REGEX_PATTERN_later=/(\d{4})[&|<]

Let>STRING_OF_YEARS=
RegEx>REGEX_PATTERN_early_days,TEMP_html,,FOUND_matches,FOUND_matches_count,,,
Let>k=0
Repeat>k
  Let>k=k+1
  Let>TEMP_year=FOUND_matches_%k%
  RegEx>REGEX_PATTERN_early_days,TEMP_year,,,,1,$1,TEMP_year
  Let>TEMP_year=19%TEMP_year%
  Position>TEMP_year,STRING_OF_YEARS,1,TEMP_check,
  If>TEMP_check=0
    ConCat>STRING_OF_YEARS,%CRLF%%TEMP_year%
    Trim>STRING_OF_YEARS,STRING_OF_YEARS
    Let>YEAR_COUNT_%TEMP_year%=0
  Endif>
  Let>TEMP_value=YEAR_COUNT_%TEMP_year%
  Let>YEAR_COUNT_%TEMP_year%=TEMP_value+1
Until>k=FOUND_matches_count

RegEx>REGEX_PATTERN_later,TEMP_html,,FOUND_matches,FOUND_matches_count,,,
Let>k=0
Repeat>k
  Let>k=k+1
  Let>TEMP_year=FOUND_matches_%k%
  RegEx>REGEX_PATTERN_later,TEMP_year,,,,1,$1,TEMP_year
  Position>TEMP_year,STRING_OF_YEARS,1,TEMP_check,
  If>TEMP_check=0
    ConCat>STRING_OF_YEARS,%CRLF%%TEMP_year%
    Trim>STRING_OF_YEARS,STRING_OF_YEARS
    Let>YEAR_COUNT_%TEMP_year%=0
  Endif>
  Let>TEMP_value=YEAR_COUNT_%TEMP_year%
  Let>YEAR_COUNT_%TEMP_year%=TEMP_value+1
Until>k=FOUND_matches_count

Separate>STRING_OF_YEARS,CRLF,TEMP_array
ArraySort>TEMP_array

Let>SORTED_LIST_WITH_UPDATES=
Let>TOTAL_UPDATES=0
Let>k=0
Repeat>k
  Let>k=k+1
  Let>TEMP_year=TEMP_array_%k%
  Let>TEMP_year_count=YEAR_COUNT_%TEMP_year%
  Let>TOTAL_UPDATES=TOTAL_UPDATES+TEMP_year_count
  Let>TEMP_string=%TEMP_year%:%TEMP_year_count%
  ConCat>SORTED_LIST_WITH_UPDATES,%CRLF%%TEMP_string%
Until>k=TEMP_array_count

Let>AVG_PER_YEAR={Round(10*%TOTAL_UPDATES%/%TEMP_array_count%)/10}
ConCat>SORTED_LIST_WITH_UPDATES,%CRLF%TOTAL:%TOTAL_UPDATES%
ConCat>SORTED_LIST_WITH_UPDATES,%CRLF%AVG/YEAR:%AVG_PER_YEAR%
Trim>SORTED_LIST_WITH_UPDATES,SORTED_LIST_WITH_UPDATES
MDL>SORTED_LIST_WITH_UPDATES
Let>ME=%Script%

Running: 15.0.27
version history

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts