Drag-And-Drop Inhibited By AHK Runs??? Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
abcjme
Posts: 65
Joined: 08 Mar 2018, 10:48

Drag-And-Drop Inhibited By AHK Runs???

16 May 2018, 10:44

If I open GIMP or Magix Vegas via their shortcut lnk icons, I can drag-and-drop files onto those programs. However, if I open those programs with ahk, then I can't drag-and-drop files onto those programs. Why might that be?

Here's my code:

#4::run C:\Program Files\VEGAS\VEGAS Pro 15.0\vegas150.exe
#5::run C:\Program Files\GIMP 2\bin\gimp-2.8.exe
abcjme
Posts: 65
Joined: 08 Mar 2018, 10:48

Re: Drag-And-Drop Inhibited By AHK Runs???

17 May 2018, 02:02

swagfag wrote:Try *RunAs
That did it, thanks! In case anyone else comes across this:

Code: Select all

#4::
runas, usr, psw
run C:\Program Files\VEGAS\VEGAS Pro 15.0\vegas150.exe
runas
return
#5::
runas, usr, psw
run C:\Program Files\GIMP 2\bin\gimp-2.8.exe
runas
return
#6::run C:\

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: macromint, mikeyww, Spawnova and 349 guests