Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[WFX] Environment Variables Ex
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    Total Commander Forum Index -> Плагины Total Commander printer-friendly view
View previous topic :: View next topic  
Author Message
SPeller



Joined: 21 Aug 2006
Posts: 101

Post (Separately) Posted: Fri Jun 16, 2017 03:09    Post subject: Reply with quote

Всем доброго дня.
В связи с тем, что у меня за всё время не появилось времени заниматься плагином, и в обозримом будущем не появится - я решил выложить исходники: https://github.com/speller/envvars_ex . Спасибо всем, кто пользуется плагином и способствовал его развитию. Надеюсь, кому-то исходники помогут сделать его еще лучше.
Back to top
View user's profile Send private message
ProgMan13



Joined: 19 Aug 2009
Posts: 333

Post (Separately) Posted: Tue Jan 16, 2018 19:43    Post subject: Reply with quote

Тестовая версия с обновлением панелей после редактирования, вызов настроек в x64 работает. На размер сейчас не стоит обращать внимания, там иконки для разного размера значков файловой панели (и код от D1P для получения их размера).

http://progman13.wincmd.ru/downloads/envvars_ex_test2.zip
Back to top
View user's profile Send private message
Aquila



Joined: 22 Sep 2016
Posts: 35

Post (Separately) Posted: Wed Jan 17, 2018 00:48    Post subject: Reply with quote

ProgMan13
Не дает редактировать/добавить в разделе System. Пишет «Invalid Command»
TC x64 9.12 / W7 x64 SP1
_________________
«Two things are infinite: the universe and the human stupidity.
... and a'm not so sure about the universe».
Albert Einstein
Back to top
View user's profile Send private message
ProgMan13



Joined: 19 Aug 2009
Posts: 333

Post (Separately) Posted: Wed Jan 17, 2018 23:26    Post subject: Reply with quote

Aquila
Так в исходниках... Ссылка та же, должно быть исправлено.
А если в оригинальном плагине в папке System переименовывать переменную, можно добиться изменения/удаления её значения?
Back to top
View user's profile Send private message
Aquila



Joined: 22 Sep 2016
Posts: 35

Post (Separately) Posted: Wed Jan 17, 2018 23:45    Post subject: Reply with quote

ProgMan13
В оригинальном в папке System можно переименовать, изменить/удалить.
Если переменную переименовать, то ее значение теряется.

Posted after 5 minutes:

ProgMan13 wrote:
Aquila
Ссылка та же, должно быть исправлено.


Сейчас заработало как надо! Спасибо!
_________________
«Two things are infinite: the universe and the human stupidity.
... and a'm not so sure about the universe».
Albert Einstein
Back to top
View user's profile Send private message
ProgMan13



Joined: 19 Aug 2009
Posts: 333

Post (Separately) Posted: Thu Jan 18, 2018 22:03    Post subject: Reply with quote

Aquila wrote:
Сейчас заработало как надо! Спасибо!

А переименование?
Back to top
View user's profile Send private message
Aquila



Joined: 22 Sep 2016
Posts: 35

Post (Separately) Posted: Thu Jan 18, 2018 22:30    Post subject: Reply with quote

ProgMan13
Работает, но значение переменной теряется, как и в оригинальном ....
_________________
«Two things are infinite: the universe and the human stupidity.
... and a'm not so sure about the universe».
Albert Einstein
Back to top
View user's profile Send private message
ProgMan13



Joined: 19 Aug 2009
Posts: 333

Post (Separately) Posted: Fri Jan 19, 2018 18:00    Post subject: Reply with quote

Aquila
Там дело в утилите elevate.exe.

http://progman13.wincmd.ru/downloads/envvars_ex_test3.zip
Back to top
View user's profile Send private message
Aquila



Joined: 22 Sep 2016
Posts: 35

Post (Separately) Posted: Fri Jan 19, 2018 23:40    Post subject: Reply with quote

ProgMan13
Бинго! Переименовывает с сохранением значения! Спасибо!
_________________
«Two things are infinite: the universe and the human stupidity.
... and a'm not so sure about the universe».
Albert Einstein
Back to top
View user's profile Send private message
dueus_minor



Joined: 16 Sep 2020
Posts: 4

Post (Separately) Posted: Wed Sep 16, 2020 13:48    Post subject: Имя переменной Reply with quote

Здравствуйте!
Вопрос: можно ли использовать плагин в рамках другого плагина, в частности, Autorun, если да, то подскажите как. Ну, или вообще, возможна ли такая реализация?
Суть вопроса - автоматизированное создание переменной в среде ТС, в имени которой содержаться "()", по аналогу с переменной среды "ProgramFiles(x86)". Знаю, что такая реализация имеет место через cmd, можно также создать в реестре утилитой setx.exe и ей подобным.
Прошу прощения, если вопрос будет защитан не по теме, если да - пошлите в нужном направлении Smile
Back to top
View user's profile Send private message AIM Address
Avada



Joined: 01 Aug 2008
Posts: 10235
Location: Россия, Саратов

Post (Separately) Posted: Wed Sep 16, 2020 15:03    Post subject: Reply with quote

dueus_minor
Плагин в рамках другого плагина может быть использован, если это допускает родительский плагин. Соответствующая документация в помощь (у того же Autorun прекрасная русская справка). А на этом форуме запрещены и оффтоп, и дублирование сообщений в разных темах. Спросили в теме про Autorun — и хватит, ждите ответа. Здесь продолжения не будет.
Замечание за нарушение правил форума.
_________________
Даже самая богатая фантазия
Не представит себе наши безобразия.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Плагины Total Commander All times are GMT + 4 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group