Search found 9 matches
- Sun Jul 16, 2006 1:57 am
- Forum: Beginners
- Topic: Custom relative position?
- Replies: 3
- Views: 5124
Custom relative position?
Hello, I have this script which solely uses MouseMove. It works, but the script is not flexible. However, MouseMoveRel isn't a solution work either, because I am interacting a smaller "virtual" window (800x600) which is always centered within a "real" window (desktop resolution). When the real windo...
- Thu Oct 14, 2004 2:05 pm
- Forum: Technical / Scripting
- Topic: Couple questions on the if statements
- Replies: 19
- Views: 16879
Thanks. I eventually managed to get that working late last night and forgot to report it back. Sorry for the trouble.. And yea I also ran into the problem that it always returns the first statement ("Small" in this case).. That puzzled me for a bit, before I ran into the aforementioned problem. Ther...
- Wed Oct 13, 2004 11:30 pm
- Forum: Technical / Scripting
- Topic: Couple questions on the if statements
- Replies: 19
- Views: 16879
Me again (I just can't get things right :?).. I've been toying around with VBScript and if statements, and I am basically getting a bit confused.. Here's a lil test script I've wrote: VBSTART Function GetValue(x,y) If y=small Then Value = 100+x ElseIf y=medium Then Value = 200+x ElseIf y=large Then ...
- Wed Oct 13, 2004 2:35 pm
- Forum: Technical / Scripting
- Topic: Time in minutes.
- Replies: 20
- Views: 21260
- Tue Oct 12, 2004 10:07 pm
- Forum: Technical / Scripting
- Topic: Time in minutes.
- Replies: 20
- Views: 21260
Time in minutes.
Hi, I was just wondering if it is possible to do manipulation involving time. I have a macro that does long series of operations (until "break" the operation). Each operations take a different amount of time to do (and the Macro would "Wait" accordingly as to do the tasks efficiently). What I'd like...
- Thu Oct 07, 2004 6:55 pm
- Forum: Technical / Scripting
- Topic: Couple questions on the if statements
- Replies: 19
- Views: 16879
Wow, thats quite a bit to digest - but looking good :) What would be the best solution for me (in terms of making the script "clean") if I needed to do quite a lot of "if statements" in pair (and)? e.g. Say I need to check the color of two pixels on screen and run a different subroutine for each pai...
- Wed Oct 06, 2004 9:44 pm
- Forum: Beginners
- Topic: Is it possible to run a macro in a background window?
- Replies: 12
- Views: 42941
Thanks Bob :) To be honest, I gave up. Getting this to work would allow me to multi-task better. I have tried another Macro application, with similar results. microplan's suggestion sounded good (I can't really think of a way to have the application interact with a window while I am typing a documen...
- Wed Oct 06, 2004 9:37 pm
- Forum: Technical / Scripting
- Topic: Couple questions on the if statements
- Replies: 19
- Views: 16879
Ah, so GoSub is what I am looking for. Thanks, that'll allow me to trim a few lines off my script :lol: And as for the first part, the if statement makes more sense. I always thought of the syntax to be IF>Condition,DoSomething. ------------------------------------------------------------------ Back...
- Wed Oct 06, 2004 5:31 pm
- Forum: Beginners
- Topic: Is it possible to run a macro in a background window?
- Replies: 12
- Views: 42941