Запускать на windows 10 надо с теми же правами, откуда перетаскиваются файлы.
; https://www.autohotkey.com/docs/commands/Gui.htm#GuiDropFiles
WS_EX_ACCEPTFILES := E0x10
Gui +%WS_EX_ACCEPTFILES% +AlwaysOnTop
Gui, Add, Edit, w333
Gui, Add, Edit, w333
Gui, Show, h111
Return
LastDropFile:
MsgBox, % 0x40020, , % LastDropFile, 1
Return
GuiDropFiles(GuiHwnd, FileArray, CtrlHwnd, X, Y) {
File := FileArray[1]
If !FileExist(File)
Return
Global LastDropFile := File
Guicontrol, , %CtrlHwnd%, %File%
SetTimer LastDropFile, -1000
}
По вопросам возмездной помощи пишите на
E-Mail: serzh82saratov@mail.ru Telegram:
https://t.me/sergiol982Win10x64
AhkSpy,
Hotkey,
ClockGui