Page 72 of 96
Posted: Sun Mar 31, 2013 9:53 pm
by KDJ
Translator.js
Fixed minor bug and improved calling the script with arguments.
The first argument can be set to "auto", which means auto-detection of the source language, eg:
Call("Scripts::Main", 1, "Translator.js", "auto ru").
Posted: Sat Apr 06, 2013 7:54 pm
by KDJ
BrowseForFolder_function.js
Added optional argument: dialog box title.
Fixed minor bugs.
Posted: Sat Apr 06, 2013 9:58 pm
by Instructor
oSys.Call("Ole32::CoTaskMemFree, lpIDL");
Posted: Sun Apr 07, 2013 5:56 am
by Andrey_A_A
KDJ в скрипте Translator.js появилась кнопка "Прослушать"
но по нажатию на неё создаётся файл Translator.mp3, кнопка мигает и воспроизведения нет. Так и должно быть?
Posted: Sun Apr 07, 2013 2:30 pm
by KDJ
Instructor wrote:oSys.Call("Ole32::CoTaskMemFree, lpIDL");
To find it, you must have eyesight like a falcon.
Thank you very much, fixed.
Posted: Sun Apr 07, 2013 3:44 pm
by KDJ
Andrey_A_A wrote:KDJ в скрипте Translator.js появилась кнопка "Прослушать"
но по нажатию на неё создаётся файл Translator.mp3, кнопка мигает и воспроизведения нет. Так и должно быть?
Try new version:
Translator.js
I have added error handling when playing mp3 file.
Give me the error number.
Posted: Sun Apr 07, 2013 4:39 pm
by Andrey_A_A
KDJ , в новой версии Translator.js выдаёт ошибку:
263: Указанное устройство не открыто или не опознается интерфейсом MCI.
Система Vista
Posted: Sun Apr 07, 2013 6:28 pm
by KDJ
Translator.js
Fixed: doesn't work option "Listen" if the path to AkelPad contains spaces.
Andrey_A_A
Try now.
Posted: Sun Apr 07, 2013 6:33 pm
by Andrey_A_A
KDJ, спасибо заработало!
Posted: Sun Apr 07, 2013 7:42 pm
by KDJ
ChooseFont_function.js
EnumerateWindows_functions.js
FileAndStream_functions.js
Changed: all sub functions that were global, was converted into private functions.
Posted: Thu Apr 11, 2013 1:45 pm
by Drugmix
Could someone, please, edit an existing script
DuplicateLines.js a bit?
The thing is that it has 2 issues I don't like:
1. if you select multiple lines and duplicate them - they get duplicated like this:
->
instead of desired
2. after execution of this script - the selection gets modified: the duplicated lines become selected too. Instead, I'd like to keep the initial selection.
Не мог бы, кто-нибудь, пожалуйста слегка переделать существующий скрипт
DuplicateLines.js?
В нём есть 2 вещи, которые мне не нравятся:
1. если выделить несколько строк и их дублировать, то они дублируются так:
->
вместо ожидаемого
2. после выполнения скрипта - выделение изменяется: изначально выделенный блок удваивается, а вместе с ним удваивается и выделенная область. Вместо этого, хотелось бы, чтобы выделение вообще не затрагивалось и выделенным оставался бы только изначально выделенный блок.
Posted: Thu Apr 11, 2013 2:13 pm
by KDJ
Posted: Thu Apr 11, 2013 4:14 pm
by Drugmix
KDJ
I had tried your script earlier, but I failed at writing a valid call. Now it's fine, thanks a lot!
Posted: Sun Apr 14, 2013 4:35 pm
by KDJ
InputBox_function.js
Changed:
- abolished the limit on text length for labels and edit boxes
- argument oFunction can be passed as function name without the quotes,
- argument vFuncArg can be any type,
- script file can be saved in ANSI code,
- new examples in InputBox.js.
Added arguments:
- minimum edit box width,
- bottom labels,
- left labels,
- right labels.
Posted: Tue Apr 16, 2013 5:56 pm
by KDJ
InputBox_function.js
Small correction in the position of the dialog box.