Returns web utils class
Copy objects to clipboard.
Objects to copy, typically SongList.
Optional
params: { Object with additional static (serializable) data
Optional
cut?: booleanOptional
srcCreates new ArtistList interface to be used as list of albums.
Optional
loaded: booleanCreates empty object list. Unlike createSharedList it supports searching/filtering. isLoaded needs to be properly set to true (once the list is filled) so that searching/filtering works!
Creates empty shared object list, is similar to createEmptyList, but does not support auto-update and searching/filtering
This function auto-resolves duplicate and overly long filenames, adds numbered suffix for dups and shortened long paths
List of finenames to fix
List with check states (only checked item will be taken into account)
Whether the paths should be shortened to 260 chars
Get the application version, with the specified level of detail.
Level of detail, i.e. return major.minor, major.minor.release, etc. Accepts integers 1 through 4.
Version number with the requested level of detail.
app.utils.getApplicationVersion(1); // returns "5"
app.utils.getApplicationVersion(2); // returns "5.0"
app.utils.getApplicationVersion(3); // returns "5.0.2"
app.utils.getApplicationVersion(4); // returns "5.0.2.2532"
Returns object with data from clipboard.
Optional
justTest: booleanSince bitmaps take a long time to retrieve from the clipboard, if true, the data will just be "bitmap" in the case where an image was copied to the clipboard.
This function compares strings in list and return new list with duplicated strings (each duplicate is represented once in returned list).
List of strings to detect duplicity
case sensitive
Get lingual base of the string field (useful when comparing/matching song metadata) Examples: 'I am Believer - 2006 Remaster' ==> 'I am Believer' 'More of The Monkees (Deluxe Edition)' ==> 'More of The Monkees' 'A New Machine (Pt. 1) - 2019' ==> 'New Machine' 'I Want You Back - Radio Edit') ==> 'I Want You Back' 'Rock with You - Single Version' ==> 'Rock with You'
text string to process
Linguist compare of two strings e.g. 'a-ha' matches ' aha' 'Vague / E La Nave Va' matches 'Vàgue/E la Nave Va'
string 1 to compare
string 2 to compare
if TRUE then ignores the appendixes in brackets -- like ...(remastered)
shellExecute ( see: https://docs.microsoft.com/cs-cz/windows/win32/api/shellapi/nf-shellapi-shellexecutea?redirectedfrom=MSDN)
path to file (lpFile)
Utilities to be used in scripts. Access via the global
app.utils
.Utils