Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Capture mouse and add to command
#3
Hi, thanks for the reply. From what you show I think I will be able to get it. What I wanted was where the mouse on the screen is to become the X and Y. Then I want quickmacros to run the command like from a command line (command prompt). Thanks

This does the trick. Your help was tremedous! Thanks
Code:
Copy      Help
int px(xm) py(ym)
;str x=59
;str y=100
str s="screenpresso.exe -captureregion ''D:\Test\test2.jpg'' 0;0;640;360"
s.replacerx("(\d+;\d+)" F"{px};{py}" 4)
out s
RunConsole2 s


Messages In This Thread
Capture mouse and add to command - by pctechtv - 02-08-2019, 04:04 AM
RE: Capture mouse and add to command - by Kevin - 02-08-2019, 04:39 AM
RE: Capture mouse and add to command - by pctechtv - 02-08-2019, 05:44 AM
RE: Capture mouse and add to command - by Kevin - 02-08-2019, 08:30 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)