Scripts discussion (2)
- Author
- Message
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
-
Offline
- Site Admin
- Posts: 6311
- Joined: Thu Jul 06, 2006 7:20 am
KDJ wrote:BrowseForFolder_function.js
oSys.Call("Ole32::CoTaskMemFree, lpIDL");
-
Offline
- Posts: 670
- Joined: Thu Jun 03, 2010 8:47 am
- Location: Сочи, Хоста
- Contact:
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
To find it, you must have eyesight like a falcon.Instructor wrote:KDJ wrote:BrowseForFolder_function.jsoSys.Call("Ole32::CoTaskMemFree, lpIDL");
Thank you very much, fixed.
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
Try new version: Translator.jsAndrey_A_A wrote:KDJ в скрипте Translator.js появилась кнопка "Прослушать"
но по нажатию на неё создаётся файл Translator.mp3, кнопка мигает и воспроизведения нет. Так и должно быть?
I have added error handling when playing mp3 file.
Give me the error number.
-
Offline
- Posts: 670
- Joined: Thu Jun 03, 2010 8:47 am
- Location: Сочи, Хоста
- Contact:
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
Translator.js
Fixed: doesn't work option "Listen" if the path to AkelPad contains spaces.
Andrey_A_A
Try now.
Fixed: doesn't work option "Listen" if the path to AkelPad contains spaces.
Andrey_A_A
Try now.
-
Offline
- Posts: 670
- Joined: Thu Jun 03, 2010 8:47 am
- Location: Сочи, Хоста
- Contact:
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
ChooseFont_function.js
EnumerateWindows_functions.js
FileAndStream_functions.js
Changed: all sub functions that were global, was converted into private functions.
EnumerateWindows_functions.js
FileAndStream_functions.js
Changed: all sub functions that were global, was converted into private functions.
-
Offline
- Posts: 582
- Joined: Mon Apr 08, 2013 9:50 pm
- Location: Win7SP1x64, APx64
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. после выполнения скрипта - выделение изменяется: изначально выделенный блок удваивается, а вместе с ним удваивается и выделенная область. Вместо этого, хотелось бы, чтобы выделение вообще не затрагивалось и выделенным оставался бы только изначально выделенный блок.
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:
Code: Select all
a
b
Code: Select all
a
a
b
b
Code: Select all
a
b
a
b
Не мог бы, кто-нибудь, пожалуйста слегка переделать существующий скрипт DuplicateLines.js?
В нём есть 2 вещи, которые мне не нравятся:
1. если выделить несколько строк и их дублировать, то они дублируются так:
Code: Select all
a
b
Code: Select all
a
a
b
b
Code: Select all
a
b
a
b
Last edited by Drugmix on Thu Apr 11, 2013 4:06 pm, edited 1 time in total.
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
Drugmix
Try script: LinesSelectCopyMoveDuplicate.js
Try script: LinesSelectCopyMoveDuplicate.js
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
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.
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.
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
InputBox_function.js
Small correction in the position of the dialog box.
Small correction in the position of the dialog box.