Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Predefined variable for the mouse pointer
#23
Thanks for your reminder, I first type var in other macros, then return to AID_sel, the input is successful.  Smile


In the code below, I use AutoText to insert the path for a file or folder in Notepad,

but the Browse Folder dialog is always not at the top,  Causes the acquired path to not be returned to the insertion point

The browse file dialog is always at the top level,  insertion path Is successful
​​​​​​​
why? I did not find the relevant parameters  Huh



Autotext Autotext1
Trigger $t     Help - how to add the trigger to the macro
Code:
Copy      Help
/b/i/c/m
pa :sub.Sub1 ;;open file path
pa :sub.Sub2 ;;open folder path  

#sub Sub1 m

str s
if(!OpenSaveDialog(0 s "Text files[]*.txt[]Image files[]*.bmp;*.gif[]All Files[]*.*[]")) ret
paste s


#sub Sub2 m

str s
if(!BrowseForFolder(s "$desktop$" 4)) ret
paste s


Messages In This Thread
RE: Predefined variable for the mouse pointer - by win - 04-11-2019, 01:02 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)