Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about new macro behavior
#11
Yes, then let end_convert wait for a key etc before EndThread.

Macro M1
Trigger $sm "Test convert"     Help - how to add the trigger to the macro
Code:
Copy      Help
;\
function $files
str f
foreach f files
,out f
,mac "sub.Convert" "" f
,mac "sub.End"


#sub Convert
function $f

lock
AddTrayIcon "$qm$\copy.ico" F"converting {f}"
mes F"converting {f}"


#sub End
wait 0 K C ;;Ctrl
EndThread "M1:Convert"

Not tested with multiple waiting threads. Probably will need more code.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)