Parameters

  • 14 Apr

    Environment Variables Update

    Dear Users,

    On request we’ve added extra Environment Variables in version v2019.4.14.0.

    Environment Variables:

    %ALLUSERSPROFILE%’
    %APPDATA%
    %CLIENTNAME%
    %COMMONPROGRAMFILES%
    %COMPUTERNAME%
    %COMSPEC%
    %FPS_BROWSER_APP_PROFILE_STRING%
    %FPS_BROWSER_USER_PROFILE_STRING%
    %HOMEDRIVE%
    %HOMEPATH%
    %LOCALAPPDATA%
    %LOGONSERVER%
    %NUMBER_OF_PROCESSORS%
    %OS%
    %PATH%
    %PATHEXT%
    %PROCESSOR_ARCHITECTURE%
    %PROCESSOR_ARCHITEW6432%
    %PROCESSOR_IDENTIFIER%
    %PROCESSOR_LEVEL%
    %PROCESSOR_REVISION%
    %PROGRAMW6432%
    %PROGRAMDATA%
    %PROGRAMFILES%
    %PROGRAMFILES(X86)%
    %PSMODULEPATH%
    %PUBLIC%
    %SESSIONNAME%
    %SYSTEMDRIVE%
    %SYSTEMROOT%
    %TEMP%
    %TMP%
    %USERDOMAIN%
    %USERDNSDOMAIN%
    %USERNAME%
    %USERPROFILE%
    %WINDIR%

    Regards,
    Limagito Team

    By Limagito-Team Parameters ,
  • 20 Jan

    Environment Variables

    Dear Users,

    We’ve added some extra replacement parameters for [WIN] as Source, Backup and [WIN] as Destination

    >Replacement Parameters, added Environment Variables (v2018.1.20.0)

    If you have any question about this new option, please let us know.

    Regards,

    Limagito Team

  • 13 May

    Code Page Identifiers

    In Limagito v11.05.13.0 we’ve added the following function:

    Function psSaveTxt2File(Text, Destination: String; Encoding: String; WriteBOM: Boolean): Boolean;

    This function can be used to convert text file encoding. The ‘Encoding’ string var that needs to be passed to the function can be found in the name table in the following link:

    msdn.microsoft.com

    In the following example we’ll read the content of a text file (File Filter is set to only pickup .txt files) and save it using ‘ISO-8859-1’ encoding.

    On Destination Pascal Script


    var
    aList: TStringList;
    aString: String;
    const
    ctOutputPath = 'C:\Test\Out\';
    Begin
    psExitCode:= 1;
    // ... add your code here
    aList := TStringList.Create;
    Try
    Try
    aList.LoadFromFile(psFilePath + psFileName);
    // Save
    psSaveTxt2File(aList.Text, ctOutputPath + psFileName, 'ISO-8859-1', False);
    Except
    psLogWrite(1, '', 'Pascal Script Exception');
    End;
    Finally
    aList.free;
    End;
    End.

    Best Regards,
    Limagito Team

    By Limagito-Team Parameters
1 2 3 4
SEARCH