Search found 26 matches

by tommystery
Wed Jul 16, 2008 9:47 pm
Forum: Technical / Scripting
Topic: Mouse Move Through A Remote Session
Replies: 6
Views: 7432

Hmm.. then is there any way to take control of the 'local' windows session much like you would do through MSN and remote assistance?

I've searched the ineternet for a while but haven't been able to find a way to do it.
by tommystery
Wed Jul 16, 2008 1:38 am
Forum: Technical / Scripting
Topic: Mouse Move Through A Remote Session
Replies: 6
Views: 7432

After finally having time to troubleshoot the problem, I've found that it isn't in fact the mouse which isn't moving but the needle image which isn't being found on the screen. {Thanks for the test code Marcus} The problem which occurs is that as soon as I minimize or exit the remote session any scr...
by tommystery
Tue Jul 08, 2008 8:59 pm
Forum: Technical / Scripting
Topic: Mouse Move Through A Remote Session
Replies: 6
Views: 7432

Well, I have loops in my program which move to points on the screen. ex: Label>go1 FindImagePos>C:\macrolive\automate\donotword.bmp,SCREEN,0,0,XPos,YPos,NumFound If>NumFound=0 Goto>go1 Endif Let>XMove=XPos_0+20 Let>YMove=YPos_0+5 Label>go2 MouseMove>XMove,YMove GetCursorPos>XC,YC If>{(%XC%%XMove%) O...
by tommystery
Tue Jul 08, 2008 1:34 am
Forum: Technical / Scripting
Topic: Mouse Move Through A Remote Session
Replies: 6
Views: 7432

Mouse Move Through A Remote Session

So I took a break from programming in macroscheduler as I was waiting for my server to arrive which will be running the program (a laptop with a smashed screen; $50 on ebay :D) And I've run into a problem which makes me somewhat happy that I haven't yet purchased the software. Sending key functions ...
by tommystery
Thu Jun 12, 2008 2:19 am
Forum: Technical / Scripting
Topic: Complex IF Statement
Replies: 3
Views: 5712

Could someone possibly take a look at this if statement and tell me where the errors lay? IF>{(((%hour%=00) AND (%minutes%>=30)) OR (((%hour%>=01) AND (%hour%=12) AND (%hour%=21) AND (%hour%<23)) OR (((%hour%=23) AND (%minutes%=00))))))))} Thanks EDIT: Please disregard; I found the error, my variabl...
by tommystery
Wed Jun 11, 2008 5:18 pm
Forum: Technical / Scripting
Topic: Complex IF Statement
Replies: 3
Views: 5712

Thanks for the quick response Marcus. 8)

And I found the help file limited in terms of the examples given.
by tommystery
Wed Jun 11, 2008 4:29 pm
Forum: Technical / Scripting
Topic: Complex IF Statement
Replies: 3
Views: 5712

Complex IF Statement

Suppose that I wanted to make the following statements for one loop: (A AND B) OR (C AND D) OR (E AND F) Macroscheduler will not accept an if statement structured in that manner. Would this be the correct way to structure it? If>{(((A) AND (B)) OR (((C) AND (D)) OR ((E) AND (F))))} Let me know if th...
by tommystery
Sat Jun 07, 2008 4:56 am
Forum: Technical / Scripting
Topic: Automatically Abort On Error
Replies: 5
Views: 5952

That is a viable solution; however there are a couple of windows which are called under different circumstances and it would require some reworking of loops within the script. That's why I was wondering if there is a simple global variable I can set. I guess there isn't though. Thanks for all your h...
by tommystery
Fri Jun 06, 2008 7:26 pm
Forum: Technical / Scripting
Topic: Automatically Abort On Error
Replies: 5
Views: 5952

That's exactly what I wanted... well almost...

Is there a variable that will abort instead of ignore these errors?
by tommystery
Fri Jun 06, 2008 4:13 pm
Forum: Technical / Scripting
Topic: Script will not Recognise Window
Replies: 15
Views: 14991

It appears to be a problem with the way the window is focused through IE. It appears that using SetFocus brings the window forward but does not actually activate it. Your solution would be to use image recognition for that one save button for that window; you can then execute the subsequent windows ...
by tommystery
Fri Jun 06, 2008 2:08 pm
Forum: Technical / Scripting
Topic: Automatically Abort On Error
Replies: 5
Views: 5952

Automatically Abort On Error

Hello again; The good news is that I've gotten Macro Scheduler to do what I want it to do flawlessly now. {Meaning that I'll most likely be purchasing the software some time next week :P } But I have one more concern. The windows which my script manages will sometimes disappear if they lose connecti...
by tommystery
Fri May 23, 2008 7:41 pm
Forum: Technical / Scripting
Topic: If Statement Not Always Executing
Replies: 11
Views: 13680

Ah, that makes perfect sense now. Can this be defined at the beginning of the script or does it have to be defined each time that FindImagePos is executed?

And roughly how much slower will execution be if this is set to 200 as opposed to 100?
by tommystery
Fri May 23, 2008 4:47 pm
Forum: Technical / Scripting
Topic: If Statement Not Always Executing
Replies: 11
Views: 13680

Ah, I've made my own solution that I am pleased with. 8) I simply made needle image of the two buttons (they're beside eachother) and offset to the one I want. I'd also want to leave a tip for other users. In the past week I've worked on my script and effectly gotten rid of all Wait> commands by rep...
by tommystery
Fri May 23, 2008 4:33 pm
Forum: Technical / Scripting
Topic: If Statement Not Always Executing
Replies: 11
Views: 13680

Haha. I sparked a sticky. :P
by tommystery
Fri May 23, 2008 4:30 pm
Forum: Technical / Scripting
Topic: If Statement Not Always Executing
Replies: 11
Views: 13680

Thanks Marcus for your help. I wonder if I posted the edit before or after you posted your reply. :) Maybe you could help me with this. I've reduced the colour tolerance to zero, ran a continious loop, and every now and then the script will click on the wrong button. The buttons are identical, with ...
cron
Sign up to our newsletter for free automation tips, tricks & discounts