03-11-2016, 04:56 PM
I just transferred to a new computer
Copied over the qm file and all my macros are in place.
I have a macro to copy from an Excel file to a window in a Remote Desktop
This macro has worked unchanged for years. On the new pc (same OS, Windows 7 64bit) it won't "act w1" after "act w2"
I realized I hadn't input the registration key. I did and the macro worked once. But everytime now it is back to not "act w1" after "act w2"
Here's a snippet:
Instead of the 2nd 'act w1' (4th last line) working, it stays in focus on w2 and does the 'CcLD on w2
please help, this is a macro I use for work everyday.
Copied over the qm file and all my macros are in place.
I have a macro to copy from an Excel file to a window in a Remote Desktop
This macro has worked unchanged for years. On the new pc (same OS, Windows 7 64bit) it won't "act w1" after "act w2"
I realized I hadn't input the registration key. I did and the macro worked once. But everytime now it is back to not "act w1" after "act w2"
Here's a snippet:
int w1=act(win("Microsoft Excel" "XLMAIN"))
int w2=win("gpserv - Remote Desktop Connection" "TscShellContainerClass")
spe 700
inp numberofitems "How many items?" "QM Input"
if numberofitems = 0
end
inp warehouse "Warehouse?" "QM Input" "KD01"
quick = mes("Express?" "" "YN")
if quick = 'Y'
act w1
'CcR
act w2
wait 4
'CvTT
wait 1
act w1
'CcLD
act w2
'CvTTT
Instead of the 2nd 'act w1' (4th last line) working, it stays in focus on w2 and does the 'CcLD on w2
please help, this is a macro I use for work everyday.