Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get a list of all AutoText files in the left pane
#12
str s.getsel

str s1 ;;string variable. If need numeric, replace str with int or double.
if(!inp(s1 "Enter AutoText Abbreviation" "" "test")) ret
str s2 ;;string variable. If need numeric, replace str with int or double.
if(!inp(s2 "Enter a phrase description" "" "description")) ret
 
4.code:Replace the default Abbreviation (text) with the variable s1, Add a description with the variable s2  Just like below

Autotext Autotext2
Trigger $t     Help - how to add the trigger to the macro
Code:
Copy      Help
/b/i/c/p3

test :sub.Sub1 ;;description (It is the value of the variable s2) | test (It is the value of the variable s1)



#sub Sub1 m
_s=
;test autotext
paste _s


Messages In This Thread
RE: How to get a list of all AutoText files in the left pane - by win - 03-26-2019, 03:10 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)