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 

Как организовать окошко ввода по Shift+F4 аналогично F7?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Total Commander Forum Index -> Общие вопросы printer-friendly view
View previous topic :: View next topic  
Author Message
Tol!k



Joined: 01 Apr 2008
Posts: 1727
Location: Арзамас

Post (Separately) Posted: Mon Jul 13, 2009 08:32    Post subject: Reply with quote

SilverVox
Code:
'  File:         Shift+F4.vbs
'  Description:  Кнопка для создания нового файла
'  Requirements: WSH Helper for TC by Volniy
'  Installation: Перетащите скрипт на панель TC

Dim TCS
Set TCS = CreateObject("TCScript.Helper")
TCS.Pause=100

TCS.SendKeystroke "+{F4}"
TCS.SendKeystroke "new_file.txt"

Set TCS = Nothing
WScript.Quit
Back to top
View user's profile Send private message
SilverVox



Joined: 13 Jun 2009
Posts: 25
Location: Русь

Post (Separately) Posted: Thu Jul 16, 2009 00:41    Post subject: Reply with quote

Tol!k Спасибо, работает.
_________________
Если струну не дотянуть – она не будет звучать.
Если перетянуть – она лопнет.
Back to top
View user's profile Send private message
Tol!k



Joined: 01 Apr 2008
Posts: 1727
Location: Арзамас

Post (Separately) Posted: Sat Nov 16, 2013 18:40    Post subject: Reply with quote

Имя под курсором + .txt
Code:
'  File:         Shift+F4.vbs
'  Description:  Кнопка для создания нового файла "Имя под курсором.txt"
'  Requirements: WSH Helper for TC by Volniy
'  Parameters:   "%O"

Dim TCS
Set TCS = CreateObject("TCScript.Helper")
TCS.Pause=100

TCS.SendKeystroke "+{F4}"
TCS.SendKeystroke WScript.Arguments.Item(0) & ".txt"

Set TCS = Nothing
WScript.Quit
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Общие вопросы All times are GMT + 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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