Инструменты пользователя

  • Зашли как Anonymous (Anonymous)
  • Выйти

Инструменты сайта


mantis:simpletv:api:common

Common

utf8String = GetTmpName()

utf8String = GetTmpPath()

utf8String = multiByteToUTF8(string)

string = UTF8ToMultiByte(utf8String)

string = toPersentEncoding(utf8String)

utf8String = fromPersentEncoding(string)

utf8String = UTF16ToUTF8(utf16String)

utf16String = UTF8ToUTF16(utf8String)

boolean = isUTF8(string)

utf8String = replaceUTF8(str - utf8String,from - utf8String,to - utf8String,CaseInsensitive - boolean(by default true))

utf8String = midUTF8(str - utf8String,pos - number,count - number)

number = lenUTF8(utf8String)

number = compareUTF8(str1 - utf8String,str2 - utf8String,CaseInsensitive - boolean(by default true))

Sleep

WaitUserInput

boolean = IsInterruptionRequested()

boolean = IsExecutionCanceled()

Exit

Restart

verNumber,verString = GetVersion()

GetVlcVersion

SetForeground()

string = GetCModuleExtension()

boolean = isX64()

string = GetExeName()

path = GetMainPath(type)

type - Type of path
0 - logo absolute path
1 - work absolute path
2 - exe absolute path
3 - logo relative path

string = CleanPath(string)

Execute

deprecated from 0.5
  • DownloadFileInTmp(URL,FileName,ShowWindow)
  • string_fromUTF8(str_UTF8,code_page)
  • string_UnicodeToUTF8(str)
  • string_UTF8ToUnicode(str)
  • string_IsUTF8(str)
  • string path = FolderPicker(string title,string start_path (opt))
  • string_UTF8 path = FolderPicker_UTF8(string_UTF8 title,string_UTF8 start_path (opt))
removed from 0.5
  • HWND = GetHWNDMainFrame()
  • SendMessageToMainFrame(message - number,WPARAM - number, LPARAM - number)
  • PostMessageToMainFrame(message - number,WPARAM - number, LPARAM - number)
mantis/simpletv/api/common.txt · Последние изменения: 2020/01/30 13:06 — SergeyVS