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 

Single Post  Topic: Копирование имени без слеша 
Author Message
Flasher



PostPosted: Tue Oct 11, 2011 16:46    Post subject: Reply with quote

Code:
' Копировать имя папки/файла под курсором
' Параметры: %N%Z "%P"
'========================================
With CreateObject("WScript.Shell")
  P = "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3\1407"
  A = .RegRead(P)
  If A > 0 Then .RegWrite P, 0, "REG_DWORD"
  With CreateObject("InternetExplorer.Application")
    .Navigate("about:blank")
    .document.ParentWindow.ClipboardData.SetData("text"), WScript.Arguments(0)
  End With
  If A > 0 Then .RegWrite P, A, "REG_DWORD"
End With


Last edited by Flasher on Tue Oct 11, 2011 22:58; edited 1 time in total
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group