Drag & Drop Macro

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
chihuahualand
Junior Coder
Posts: 35
Joined: Thu Jan 12, 2006 9:20 pm
Contact:

Drag & Drop Macro

Post by chihuahualand » Tue Jul 01, 2008 5:30 pm

How do you (or can you) setup a macro that can be launched as a "drag & Drop" icon? Specifically for dropping a filename from explorer which could then be known within the macro.

thanks for any help on getting started!

User avatar
JRL
Automation Wizard
Posts: 3532
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Tue Jul 01, 2008 7:12 pm

The following code would need to be compiled. Drag any file and drop it on your compiled file icon (or a shortcut icon) and the name of the dropped file should be displayed.

[code]
Position>",%command_line%,2,location,False
Add>location,1
Midstr>%command_line%,%location%,10000,res

MDL>res
[/code]

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts