мини-багрепорт по некрретному меню по ПКМ, типам данных и паре неработающих функций
некорректная вставка из выпадающего меню:
две пары скобок, отсутствуют запятые, курсор активен во второй паре скобок.
dayofweek (year month day) ()
setlayout (layout) ()
color (#x #y ) () -- тут еще лишний пробел после #y, решетки в луа убрать.
colortored (color) ()
colortogreen (color) ()
colortoblue (color) ()
colortorgb (color %arr) () -- %arr в луа убрать, добавить в начало указание на массив, куча пробелов перед скобкой.
getimage (startx starty endx endy ) () -- лишний пробел перед закрывающей скобкой
getimage (startx starty endx endy ) () -- лишний пробел перед закрывающей скобкой
findimage (startx starty endx endy (filename) resultarray ) () -- лишний пробел перед закрывающей скобкой
курсор активен внутри скобок, параметров быть не может:
hour ()
min ()
sec ()
year ()
month ()
day ()
timer ()
timer1 ()
timer2 ()
timer3 ()
timer4 ()
defx ()
defy ()
defxabs ()
defyabs ()
defcolor ()
mousepos_x ()
mousepos_y ()
mouseposabs_x ()
mouseposabs_y ()
screenheight ()
screenwidth ()
desktopheight ()
desktopwidth ()
monitorheight ()
monitorwidth ()
monitor ()
findoffsetx ()
findoffsety ()
clickoffsetx ()
clickoffsety ()
promptpos_x ()
promptpos_y ()
claqua ()
clblack ()
clblue ()
clfuchsia ()
clgreen ()
cllime ()
clmaroon ()
clnavy ()
clolive ()
clpurple ()
clred ()
clsilver ()
clteal ()
clwhite ()
clyellow ()
clgray ()
clltgray ()
cldkgray ()
delimiter ()
linedelay ()
emptylinedelay ()
sendexdelay ()
mouseclickdelay ()
showtimervar ()
showscriptprocessing ()
stopscrunknowncommand ()
windowhandle ()
exefilename ()
homepath ()
loghandle ()
logautoopen ()
messagesoutputto ()
scriptpath ()
scriptname ()
mousepos_x ()
mousepos_y ()
mouseposabs_x ()
mouseposabs_y ()
linedelay ()
emptylinedelay ()
sendexdelay ()
mouseclickdelay ()
mousepos_x ()
mousepos_y ()
mouseposabs_x ()
mouseposabs_y ()
getlayout ()
Непонятная подсветка:
mousepos_x ()
mousepos_y ()
mouseposabs_x ()
mouseposabs_y ()
linedelay ()
emptylinedelay ()
sendexdelay ()
mouseclickdelay ()
mousepos_x ()
mousepos_y ()
mouseposabs_x ()
mouseposabs_y ()
getlayout ()
setlayout ()
подсветка функцией переменных
showtimervar ()
showscriptprocessing ()
stopscrunknowncommand ()
windowhandle ()
exefilename ()
homepath ()
подсветка серым, как коммент
loghandle ()
logautoopen ()
messagesoutputto ()
подсветки нет
scriptpath ()
scriptname ()
getimage ()
лишние вставки сетов
set #a current_script ()
set #a active_script ()
set $var getlayout ()
set $var setlayout (layout) ()
set hotkeystart {key} () -- в рамках луа фигурные скобки убрать, key поместить внутрь круглых
set hotkeypause {key} () -- в рамках луа фигурные скобки убрать, key поместить внутрь круглых
get scripts %a () -- %a убрать, явно указать на возврать массива
get mouse_pos ()
get color() -- Он дублирующий полностью или чем-то отличается от color()?
лишние скобки
break () -- так же недопустимо в луа указывать на уровень вложенности
msg filegetattr () ()
getimage (startx starty endx endy ) ()
findimage (startx starty endx endy (filename) resultarray ) ()
findcolor ( ) () -- тут почему-то скобки пустые
dir (%resultarray ) () -- %a убрать, явно указать на возврать массива
filecopy ( ) () -- пробелы
filerename ( ) () -- пробелы
filedelete () ()
filesetdate ( ) () -- пробелы
filesetattr ( ) () -- пробелы
msg filegetattr () () -- что за мсг? Ну понятно, что месседж, но что оно тут делает?)
msg filegetdate () ()- - что за мсг? Ну понятно, что месседж, но что оно тут делает?)
msg fileexists () () -- что за мсг? Ну понятно, что месседж, но что оно тут делает?)
dircreate () ()
dirremove () ()
dir (%resultarray ) () -- пробелы, %resultarray убрать, явно указать на возвращение массива.
msg errorlevel () -- что за мсг? Ну понятно, что месседж, но что оно тут делает?)
write ( ) () -- пробелы
недопсутимые описания в луа
циклы
условия
подпрограммы
массивы
linedelay ()
emptylinedelay ()
функция не импортирована в луа:
hour ()
min ()
sec ()
timer ()
showtimervar ()
showscriptprocessing () -- спокойно реализуется через дебаг
stopscrunknowncommand ()
scriptpath ()
scriptname ()
Косяки с типами данных:
func: year () type: string
func: month () type: string
func: day () type: string
func: dayofweek (1, 1, 1) type: string
func: timer1 () type: string
func: timer2 () type: string
func: timer3 () type: string
func: timer4 () type: string
func: defx () type: string
func: defy () type: string
func: defxabs () type: string
func: defyabs () type: string
func: defcolor () type: string
func: mousepos_x () type: string
func: mousepos_y () type: string
func: mouseposabs_x () type: string
func: mouseposabs_y () type: string
func: screenheight () type: string
func: screenwidth () type: string
func: desktopheight () type: string
func: desktopwidth () type: string
func: monitorheight () type: string
func: monitorwidth () type: string
func: monitor () type: string
func: claqua () type: string
func: clblack () type: string
func: clblue () type: string
func: clfuchsia () type: string
func: clgreen () type: string
func: cllime () type: string
func: clmaroon () type: string
func: clnavy () type: string
func: clolive () type: string
func: clpurple () type: string
func: clred () type: string
func: clsilver () type: string
func: clteal () type: string
func: clwhite () type: string
func: clyellow () type: string
func: clgray () type: string
func: clltgray () type: string
func: cldkgray () type: string
func: delimiter () type: string
func: linedelay () type: string
func: windowhandle () type: string
func: loghandle () type: string
func: logautoopen () type: string
func: messagesoutputto () type: string
func: mousepos_x () type: string
func: mousepos_y () type: string
func: mouseposabs_x () type: string
func: mouseposabs_y () type: string
func: getlayout () type: string
SetLayout -> 00000409 67699721 -- не пашет. Устанавливает хрень при setlayout (getlayout ())
func: setlayout (getlayout ()) type: string
func: color (1, 1) type: number
func: colortored (564563) type: string
func: colortogreen (564563) type: string
func: colortoblue (564563) type: string
func: colortorgb (564563): table is "string" data type. Value: -- не пашет
func: current_script () type: string
func: active_script () type: string
func: scripts () type: table is "string" data type. Value: -- не пашет
func: fileexists ([[d:\!\1.vbs) type: string
дальше файлов по пкм не разбирал.