Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,001
» Latest member: MacroMarco
» Forum threads: 6,348
» Forum posts: 34,249

Full Statistics

Online Users
There are currently 7 online users.
» 0 Member(s) | 7 Guest(s)

Latest Threads
Combining findrx and Levn...
Forum: General
Last Post: Imagez
Yesterday, 03:52 PM
» Replies: 0
» Views: 32
Limit OpenSaveDialog to a...
Forum: General
Last Post: Gintaras
01-21-2018, 03:42 PM
» Replies: 1
» Views: 46
Dialog Style
Forum: General
Last Post: Gintaras
01-20-2018, 06:21 AM
» Replies: 1
» Views: 69
Match word letter by lett...
Forum: General
Last Post: Gintaras
01-19-2018, 04:29 PM
» Replies: 1
» Views: 46
Running macro on backgrou...
Forum: General
Last Post: Gintaras
01-15-2018, 01:08 PM
» Replies: 2
» Views: 205
Find, click in search res...
Forum: Wish List
Last Post: r0n
01-15-2018, 10:38 AM
» Replies: 2
» Views: 69
Background send message, ...
Forum: General
Last Post: ilya1111
01-08-2018, 06:07 PM
» Replies: 2
» Views: 300
Hotkeys doesnt work
Forum: Bug Reports
Last Post: Gintaras
01-07-2018, 07:50 AM
» Replies: 1
» Views: 85
find only first image
Forum: General
Last Post: ilya1111
01-04-2018, 01:00 PM
» Replies: 3
» Views: 153
wait for image problem
Forum: General
Last Post: john_b
12-28-2017, 08:42 PM
» Replies: 1
» Views: 100

 
  Print Screen to MSPaint
Posted by: BlueDiamond - 11-06-2017, 07:39 PM - Forum: Programming - Replies (2)

Is there a way to take a screen shot through print screen, then launch MSPaint and paste whats in the clipboard to the launched MSPaint app?

Print this item

  wait with dialog
Posted by: jps01 - 11-06-2017, 12:01 AM - Forum: Programming - Replies (4)

Is it possible to use wait in conjunction with a dialog box? What I'd like to do is offer a dialog box to the user for some input, but if the users does not submit the input within 30 sec, close the box. Ideally it would be best to know nothing was submitted so default settings could be set automatically, but I can preset the defaults before offering the dialog so that's not really important.

at the moment there is this line of code which works fine, but waits until 'OK' or 'Cancel' is pressed to continue the script.

if(!ShowDialog(dd 0 &controls)) ret

Thanks for any help.

Print this item

  Click menu not find
Posted by: ilya1111 - 11-02-2017, 07:52 PM - Forum: General - Replies (2)

Hello!
I have 6 windows with programs. I need to open pop-up menus in them, do it simultaneously in 6 programs. I changed the macro settings to run at the same time. but tools - the record - the menu command does not find my menu. and it can not click the mouse at the same time in 2 programs if the macro does not end in the first program, how do I do it simultaneously work with menus in two or more programs without a mouse.?

Print this item

  How to Check the count of Items in a Folder?
Posted by: BK - 11-02-2017, 05:28 AM - Forum: General - No Replies

Hello..
I want to get help.


For example:
Subfolders of c: \ screenshot \

c: \ screenshot \ a
c: \ screenshot \ b
c: \ screenshot \ c
c: \ screenshot \ d
...etc

output:
Subfolder name, file name, count of files


Output it like the above but I don't know how to do it.

Print this item

  Relocation of main files on network computer
Posted by: databytenew - 10-31-2017, 04:05 AM - Forum: General - Replies (1)

I am trying to locate my files on a network computer. I have 4 computers at my desktop and I would like a toolbar I made to be available on all four computers so that any changes would affect all computers. I have used the Tools, Options, Files and changed my personal folder for QM data ($my qm$) to my J drive (J:\UT\QM\My QM) and have copied the files and backup directory from the default location, but when I save a change, it writes it to the default location instead.

Can a single location on my network have the master file for the QM data so that all of my computers can set their defaults to it?

I am new, but I checked the topics and did a search.

Thank you very much in advance.

By the way, this is without a doubt, the best program ever written, bar none.

Jim . . .

Print this item

  how to unlock win2012 ?
Posted by: omarbr - 10-30-2017, 10:41 AM - Forum: General - Replies (8)

Hi, when try to unlock win2012 or win10, fail.
same code, unlock on winxp, works fine.
how wrong?
i use sample code

Code:
shutdown 6 ;;lock
wait 10
int unlocked=EnsureLoggedOn(1)
out "unlocked=%i" unlocked ;;should be 2
if(!unlocked and FileExists("$qm$\qmtul.log")) run "notepad.exe" "$qm$\qmtul.log"

Print this item

  Small monitor. Find picture.
Posted by: ilya1111 - 10-30-2017, 08:41 AM - Forum: General - Replies (1)

Hello!
I have a small monitor. The program window does not fit into the monitor. I used programs for monitor extensions (and virtual desktop) and QM stopped looking for pictures not included in the picture that is on the monitor.
tell me which program to use to expand the monitor and QM could look for pictures not included in the part of the monitor that I can see with my own eyes.

Print this item

  Window dialog ready to receive input
Posted by: ssimop - 10-29-2017, 12:02 PM - Forum: General - Replies (4)

I am in need to signal when a window dialog is ready to receive some input. In other words I am looking for the proper WM_... message. I have already empirically tested WM_PAINT, it satisfies my needs well. Nevertheless, I am wondering whether it is the proper message. Any advice is mostly welcome. Many thanks in advance.

Print this item

  Programming Tool - Similar To OutVar but for Exe
Posted by: stupomer - 10-28-2017, 07:18 PM - Forum: Programming - Replies (1)

Hello All

I find I am always having to manually type out this out statement for logging various variable values in my code:


Code:
str SampleVar = "Test"
str FuncName.getmacro(getopt(itemid 3) 1)
out F"[FuncMacro: {FuncName}]: SampleVar: '{SampleVar}'"

-->
Quote:[FuncMacro: Macro121]: SampleVar: 'Test'


I have thought there must be an easier way, like passing to a function to format and repaste - the problem is that this function OutVar doesn't work in exe. See below
So I rewrote it as a triggered function in QM editor. Two versions - one which is triggered by Double Right Click anywhere in variable name. Other triggered by keyboard command eg. WinP
Note that this is very fast as you don't have to select the variable, only have your cursor somewhere in the variable name characters. It will expand out to word boundaries and make new line for the output statement without breaking up even very long line of code.
Note however, this simplified super quick method only works for simple variable names. If the variable is part of an string or int ARRAY (eg. arrSampleArray[0 9] or is a member of a custome variable type eg. TYPE SampleType x.SampleMember, then you can still use this function. You will just have to select out entire variable, and then do same trigger. If will test if there is any selection and if not, select out to word border. If yes, then it will just go with the selection.

I couldn't figure out a way to add a trigger on to the QM RightClick Menu, similar to adding to Shell Menu. Is it possible?

Here is the code:

Function FStringOutFormat_KbTrigger
Trigger Wp /QM     Help - how to add the trigger to the macro
Code:
str VarName.getsel    
if empty(VarName)
,dou
,VarName.getsel(0 0 child);;focused control,
key EDHYU;;moves to next line, create new line for paste
str QuotationMarks = "''"
QMITEM q
qmitem("" 1 &q 1)
str OutFormat = F"out F{QuotationMarks}[FuncMacro: {q.name}]: {VarName} = '{{{VarName}}'{QuotationMarks}"
paste OutFormat
Function FStringOutFormat_DouRClickTrigger
Trigger ##R /QM     Help - how to add the trigger to the macro
Code:
key Z           ;; Esc;;gets rid of Edit popup menu in QM Editor
str VarName.getsel    
if empty(VarName)
,dou
,VarName.getsel(0 0 child);;focused control,
key EDHYU;;moves to next line, create new line for paste
str QuotationMarks = "''"
QMITEM q
qmitem("" 1 &q 1)
str OutFormat = F"out F{QuotationMarks}[FuncMacro: {q.name}]: {VarName} = '{{{VarName}}'{QuotationMarks}"
paste OutFormat

I hope this is helpful for others. Or if there is much easier way already available, let me know!
Thanks,
S

Print this item

  Cell Value Excel
Posted by: Romssel - 10-20-2017, 03:39 AM - Forum: General - Replies (1)

HI!!!

Could you please tell me how can I save in one variable in QM of the cell value of one Excel sheet?

My QM Version is 2.1.4

Thanks in advance!

Print this item