Search found 40 matches

by aboredprogrammer
Tue Feb 23, 2010 5:49 pm
Forum: Technical / Scripting
Topic: GetWindowPos then find Pixel
Replies: 2
Views: 3657

Thanks for the reply mtettmar. I downloaded the Findcolor.dll, and that seems to work perfect. However, since I changed the search area to my whole screen, it takes about 2 seconds to find the pixel. This is much expected since it has a much larger space to search, but is there any way to speed it u...
by aboredprogrammer
Tue Feb 23, 2010 7:39 am
Forum: Technical / Scripting
Topic: GetWindowPos then find Pixel
Replies: 2
Views: 3657

GetWindowPos then find Pixel

Hello, I would like a shove in the right direction. I'm attempting to write a script that will wait for a window to open, get the position of the window, and then if a pixel exists wherever the location of the window, click it. Here is what I'm thinking so far, however, I cannot find out how to prop...
by aboredprogrammer
Thu Feb 18, 2010 10:46 pm
Forum: Technical / Scripting
Topic: Radiogroup (three, each on seperate tabs) help.
Replies: 4
Views: 4631

- SOLVED - Thanks to JRL. I just tried saying "Thank you" by giving you REP, but I receive an error saying: "Information To give reputation the same user you should spread it around." The sentence doesn't make too much sense, but I believe what it's telling me is that I gave you too much REP. Haha. ...
by aboredprogrammer
Thu Feb 18, 2010 6:42 pm
Forum: Technical / Scripting
Topic: Radiogroup (three, each on seperate tabs) help.
Replies: 4
Views: 4631

I'm beginning to this it's something with the IF statements I will post below. Because, when the dialog starts, I can click the "About" button I created, and the "Pause" button I created, but when I click the "Start button, it freezes up. Here is the code below where I think it might be getting stuc...
by aboredprogrammer
Thu Feb 18, 2010 6:50 am
Forum: Technical / Scripting
Topic: Radiogroup (three, each on seperate tabs) help.
Replies: 4
Views: 4631

Radiogroup (three, each on seperate tabs) help.

Hello, I have three tabs on my dialog. Each tab has one radiogroup on it. What I'm currently struggling with is this below. It will not respond for some odd reason? Am I able to use this code below? Label>dialogoptions GDA>dialog1,res1 If>res1=2,exit If>res1=10,check_settings If>res1=20,pause If>res...
by aboredprogrammer
Wed Feb 17, 2010 5:22 pm
Forum: Technical / Scripting
Topic: Adding a background color to dialog. Show Labels above it?
Replies: 5
Views: 6198

Thank you so much for the replies. Sorry I didn't post the code in the first message.

JRL:The code you provided with putting the labels UNDER the image file works perfect. Thank you very much! :D
by aboredprogrammer
Wed Feb 17, 2010 7:20 am
Forum: Technical / Scripting
Topic: Adding a background color to dialog. Show Labels above it?
Replies: 5
Views: 6198

Adding a background color to dialog. Show Labels above it?

Hello, In paint, I made a one color background, it's an off blue color. I have have it the way I want it, but the labels wont show over it. When the program runs, the background color takes over the labels. I have used the "Send to back" for the background color, and "Send to front" for all the labe...
by aboredprogrammer
Fri Feb 12, 2010 6:15 pm
Forum: Technical / Scripting
Topic: setting a radiogroup selection as default
Replies: 3
Views: 4451

Thanks JRL,

I actually figured this out last night and was trying to post, but it kept on saying "You cannot make another post so soon, please try again in a little while" and it was doing that for hours.

However, thank you for responding :)
by aboredprogrammer
Thu Feb 11, 2010 9:11 pm
Forum: Technical / Scripting
Topic: setting a radiogroup selection as default
Replies: 3
Views: 4451

setting a radiogroup selection as default

Hello,

I have a radiogroup with the 3 options. At the start-up I want one of them to always be ticked. How do I do this?

Thanks
by aboredprogrammer
Thu Feb 11, 2010 9:00 pm
Forum: Technical / Scripting
Topic: Adding a PAUSE button
Replies: 3
Views: 4582

JRL, I tried your code and couldn't get it working the way I had intended. However, I was messing around with stuff for about a half hour, and constructed a small code that works perfectly! Label>pause If>dialog1.msEdit1= Press start when ready... Let>dialog1.msEdit1= Paused... RDA>dialog1 Endif GDA...
by aboredprogrammer
Thu Feb 11, 2010 8:29 pm
Forum: Technical / Scripting
Topic: Dialog will not respond
Replies: 4
Views: 4980

Thanks JRL.

I got it working. In the start label, at the end I put

GDA>dialog1,res1
If>res1=20,pause
If>res1=30,about

Works good now.

Thanks
by aboredprogrammer
Thu Feb 11, 2010 4:24 pm
Forum: Technical / Scripting
Topic: Dialog will not respond
Replies: 4
Views: 4980

Thanks for the reply.

So, is the GDA>dialog1,r correct in the "Loop"?
What should I do in the "Start" label to allow the dialog to act on buttons pressed? I have tried putting the IF's in the "Start" label, but that didn't work.

Thanks
by aboredprogrammer
Thu Feb 11, 2010 6:44 am
Forum: Technical / Scripting
Topic: Dialog will not respond
Replies: 4
Views: 4980

Dialog will not respond

Hello, Recently somehow I lost the script I was in the process of making. I am currently trying to re-create it, however I'm running into what I'm sure is a very simple fix I'm looking past. When I run my program, I have it set so the dialog remains open. So if the user clicks "Start" the dialog is ...
by aboredprogrammer
Thu Feb 11, 2010 6:39 am
Forum: Technical / Scripting
Topic: Adding a PAUSE button
Replies: 3
Views: 4582

Hey,

Sorry for the late response JRL. I have been very busy with work lately. I haven't got around to testing the Pause button yet with the code you supplied, but I will very soon. I will let you know how it goes!

Thanks!
by aboredprogrammer
Mon Feb 08, 2010 6:22 am
Forum: Technical / Scripting
Topic: Adding a PAUSE button
Replies: 3
Views: 4582

Adding a PAUSE button

Hello, I have been trying to add a "pause" button feature to my dialog. For example, if the user clicks "start" the script will run, and if they want to pause the script they click pause, and when they want it to continue, they click start. I have tried this below, but I could be going in the comple...
Sign up to our newsletter for free automation tips, tricks & discounts