Fetch FIlename and Path of Dragged File

Get help with using AutoHotkey and its commands and hotkeys
meanprogram
Posts: 11
Joined: 30 Aug 2019, 17:17

Fetch FIlename and Path of Dragged File

30 Aug 2019, 17:28

Hi Guys,

I have been looking for a way to restrict users from copying my data by dragging and dropping files. I can't restrict Drag and Drop completely on the system as it will hamper users daily activity. Hence I am looking forward for a want to intercept drag event and fetch details like path and path name from there.

If Path name is from my secured folder then it will show some warning message.

WIth all the Googling I could now find a solution to this. I Think below two urls are of use but it won't get me what I wanted.
https://github.com/AHK-just-me/DoDragDrop
https://www.autohotkey.com/boards/viewtopic.php?t=8700&start=20

Hopefully someone has some answer
gregster
Posts: 5553
Joined: 30 Sep 2013, 06:48

Re: Fetch FIlename and Path of Dragged File

30 Aug 2019, 23:53

I don't think I understand what you are trying to do... how is your folder secured?
And there are no other ways to copy files from that folder that not involve drag-and-drop? So which scenario are we talking about here?
meanprogram
Posts: 11
Joined: 30 Aug 2019, 17:17

Re: Fetch FIlename and Path of Dragged File

31 Aug 2019, 08:11

This folder contains my documents. I have used a program name Padlock which restrict cut copy paste delete from this folder. However it doesnot restrict drag and drop.

Drag and drop if restricted will be restricted throughout, but i want to restrict it in this folder only.
meanprogram
Posts: 11
Joined: 30 Aug 2019, 17:17

Re: Fetch FIlename and Path of Dragged File

23 Sep 2019, 00:17

Bump...Can anyone one help me with this?
User avatar
Capn Odin
Posts: 1308
Joined: 23 Feb 2016, 19:45
Location: Denmark

Re: Fetch FIlename and Path of Dragged File

23 Sep 2019, 00:40

If you are sharing the harddrive with other people you should encrypt the data you don't want them to know.

If you are not sharing it then can't you just restrict access to the computer ?
Please excuse my spelling I am dyslexic.

Return to “Ask For Help”

Who is online

Users browsing this forum: AHKStudent, Albireo, effel, Google [Bot] and 54 guests