Macro Language Reference > Macros > Window > wdrop
  
wdrop
Description
The wdrop and tdrop macros are internal macros generated by the Windows interface when you drag and drop files onto PTC ALD documents.
Syntax
wdrop window:n x pos, y pos:n window:n button:n filename:s*
window
The internal window number (as for wtp etc.).
x pos, y pos
The drop position relative to the top left of the window, in pixels
 
An internal process works out which window area (box) the x_pos and y_pos correspond to and then reissues the macro as a tdrop
button
The mouse button to be used for the drag/drop
filename
A list of filenames to drop at that position
Additional Information
It is possible to use these macros from scripts if you know the window number (available with getvar 01504 or ^[doc.window.id]).
Related Links