Picture for a button

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

jj45410
Junior Coder
Posts: 38
Joined: Tue Nov 18, 2008 8:14 pm

Picture for a button

Post by jj45410 » Mon Aug 17, 2009 4:49 am

Alright, so let's say I have the average "Button" as most of us know it comes up looking some what like a HTML button. What I was wondering if how do I change the look of this button? What file format must it be in?, so hypothetically let's say I have Test.jpg how do I make my button look like test.jpg, and when I click said button I want it to change from test.jpg to test1.jpg and what dimensions is the button limited by?


Thank you - Jordan.

jj45410
Junior Coder
Posts: 38
Joined: Tue Nov 18, 2008 8:14 pm

Post by jj45410 » Mon Aug 17, 2009 11:21 pm

Please, someone reply this has been up for a day.

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Tue Aug 18, 2009 1:42 am

Would help to know what program you are working with.

Are you talking about a Dialog button in Macro Scheduler?
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

jj45410
Junior Coder
Posts: 38
Joined: Tue Nov 18, 2008 8:14 pm

Post by jj45410 » Tue Aug 18, 2009 4:22 am

It's not a program yet, It's just one of those think's I'd like to know for the future, Yes a dialog button.

jj45410
Junior Coder
Posts: 38
Joined: Tue Nov 18, 2008 8:14 pm

Post by jj45410 » Thu Aug 20, 2009 10:31 pm

It's been two days come on someone.

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Fri Aug 21, 2009 12:51 am

I am not sure what happened, but JRL had submitted an extensive response to your question with script code example AND button images. It was there yesterday, but I don't see it now. ???

The short answer is that pictures can be placed on buttons now.

The syntax for Dialog buttons does include a parameter for an image to put on your button. From the Help file.
Button

Caption,Left,Top,Width,Height,ModalResult[,ImageFile/Data[,hint]]

ModalResult is a numeric value which is set to the result variable of the Show or GetDialogAction commands if this button was pressed. Optionally ImageFile can be the path to a .bmp bitmap file to display on the button. The lower left pixel of the bitmap is used as the "transparent" colour
.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

jj45410
Junior Coder
Posts: 38
Joined: Tue Nov 18, 2008 8:14 pm

Post by jj45410 » Fri Aug 21, 2009 4:09 am

Code: Select all

Dialog>Dialog1
Button=TEST,24,250,100,20,15,Dialog1,C:\Users\Admin\Pictures\Test.bmp

EndDialog>Dialog1
Show>Dialog1

Like that? Because that didn't work

User avatar
JRL
Automation Wizard
Posts: 3526
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Fri Aug 21, 2009 4:49 am

Bob wrote:I am not sure what happened, but JRL had submitted an extensive response to your question with script code example AND button images. It was there yesterday, but I don't see it now. ???
I had Marcus delete the post because it was corrupt. I could not get into the post to edit it. I'm reposting in two parts. Hopefully this will work. Copy both halves of the program and put them into one script.
What I was wondering if how do I change the look of this button?
I started this script by creating two BMP files using Microsoft Paint. Buttons can only display BMP files. I then used the Macro Scheduler editor's "Import Binary File" function found in the "Tools" menu to import the two files. After that I just used the information found in help under "Dialog" to create a dialog that uses the bmp information on two buttons, STOP and GO.
so hypothetically let's say I have Test.jpg how do I make my button look like test.jpg, and when I click said button I want it to change from test.jpg to test1.jpg
The trick to interchanging the buttons is that they are both in the same location and both are the same size. Then you use the SetDialogObjectVisible> function to turn on the one you want to see and turn off the one you don't want to see.
what dimensions is the button limited by?
Perhaps the size of the screen would be a maximum practical size limit and maybe 10x10 pixels are a practical minimum size limit, but there really is no actual limit. I made the buttons and the BMPs the same size 75x75 pixels.

I gave each button the name "." because any text will occupy space in the button area and squeeze out the image.

One more item of note can be read about in help and that is that the lower left pixel is the "transparency" pixel. Every pixel matching the color of the lower left pixel will be transparent so you need to make that pixel a color not used in the rest of the image unless you're wanting transparency in the button.

Code: Select all

Dialog>Dialog1
   Caption=Stop Watch
   Width=225
   Height=200
   Top=CENTER
   Left=CENTER
   Button=.,75,80,72,75,3,GO.BMP_DATA
   Button=.,75,80,72,75,4,STOP.BMP_DATA
   Label=Elapsed Time,60,16,true
   Button=0,25,40,175,35,0
   Button=Reset,75,155,72,14,5
EndDialog>Dialog1

SetDialogObjectVisible>Dialog1,msButton1,1
SetDialogObjectVisible>Dialog1,msButton2,0
SetDialogObjectFont>Dialog1,msLabel1,Arial,12,1,0
SetDialogObjectFont>Dialog1,msButton3,Arial,18,1,0
Show>dialog1

Let>GoFlag=0
VBSTART
VBEND

Label>Loop
  GetDialogAction>Dialog1,res1
  If>res1=2
    Exit>0
  EndIf
  If>res1=3
    GoSub>GO
  EndIf
  If>res1=4
    GoSub>STOP
  EndIf
  If>res1=5
    GoSub>Reset
  EndIf
  If>GoFlag=1
    VBEVAL>timer,starttime
  EndIf
  Wait>0.01
  If>GoFlag=1
    VBEVAL>timer-%starttime%,totaltime
    Let>Dialog1.msButton3={(round((%Dialog1.msButton3%+%totaltime%)*1000))/1000}
    VBEval>FormatNumber(%Dialog1.msButton3%,3),Dialog1.msButton3
  EndIf
Goto>Loop

SRT>GO
  Let>GoFlag=1
  SetDialogObjectVisible>Dialog1,msButton1,0
  SetDialogObjectVisible>Dialog1,msButton2,1
  SetDialogObjectFocus>Dialog1,msButton2
  ResetDialogAction>Dialog1
END>GO

SRT>STOP
  Let>GoFlag=0
  SetDialogObjectVisible>Dialog1,msButton1,1
  SetDialogObjectVisible>Dialog1,msButton2,0
  SetDialogObjectFocus>Dialog1,msButton1
  ResetDialogAction>Dialog1
END>STOP

SRT>Reset
  Let>Dialog1.msButton3=0
  ResetDialogAction>Dialog1
END>Reset
GO.BMP_DATA:
424D024300000000000036000000280000004B0000004B0000000100180000000000CC4200000000000000000000000000000000000000FF00008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000FFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFF008000008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFF008000008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000FFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFF008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFF008000008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000FFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000FFFFFFFFFFFFFFFFFF008000008000008
000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000FFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000FFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000FFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000008000008000008000008000008
000FFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000FFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008
000FFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFF008000008000FFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000008000008000008000008000008000008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000008000008000008000008000008000008000008000008000008000008000008
000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000
008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000008000000000


Last edited by JRL on Fri Aug 21, 2009 4:55 am, edited 1 time in total.

User avatar
JRL
Automation Wizard
Posts: 3526
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Fri Aug 21, 2009 4:52 am

Here's the second half of the script. You need both halves to make the visuals work properly.

Code: Select all

STOP.BMP_DATA:
424D024300000000000036000000280000004B0000004B0000000100180000000000CC420000000000000000000000000000000000008000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000000
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF
0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF
0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFF0000FF
0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF
FFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF000
0FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF000
0FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF000
0FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFF
FFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FFFFFFFFFFFFFFFFF
FFF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF
FFFFFF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF
0000FF0000FF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000000000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000
0FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF000000

jj45410
Junior Coder
Posts: 38
Joined: Tue Nov 18, 2008 8:14 pm

Post by jj45410 » Fri Aug 21, 2009 8:31 am

Thank you so much JRL. I'll be sure to rep+


but How do you get the picture data?

jj45410
Junior Coder
Posts: 38
Joined: Tue Nov 18, 2008 8:14 pm

Post by jj45410 » Fri Aug 21, 2009 8:47 am

nvm I figured it out, Thanks anyways!

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Fri Aug 21, 2009 3:38 pm

Thanks for the explanation and the reposting JRL. Glad to know I did not imagine it. We really appreciate all the work you put into your solutions and examples.
-----------------------------------------------

For the record, it looks like the example jj45410 asked about has an extra parameter in it. Dialog1, should be removed.

Change your code.....
FROM: Button=TEST,24,250,100,20,15,Dialog1,C:\Users\Admin\Pictures\Test.bmp

TO:
Button=TEST,24,250,100,20,15,C:\Users\Admin\Pictures\Test.bmp
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
JRL
Automation Wizard
Posts: 3526
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Sat Aug 22, 2009 5:05 am

I wrote:I gave each button the name "." because any text will occupy space in the button area and squeeze out the image.
Made a discovery regarding the placement of an image on a dialog button. By making the button object name text equal "null" or "nothing" the BMP file can completely fill the button. You CAN make the dialog button name "nothing" but you have to do it after the dialog is displayed. So I added the lines
Let>Dialog1.msButton1=
Let>Dialog1.msButton2=

to the code below.

The two BMP data blocks will need to be copied from the previously posted code to make the script below display the BMPs on the buttons. The data blocks are so large I didn't want to post them again.
Bob wrote:Thanks for the explanation and the reposting JRL. Glad to know I did not imagine it.
You didn't imagine it and I'm sorry for any confusion the deleted post might have caused. The post was apparently too long to fit on the forum and was truncated. I would have fixed it but as I said before, I couldn't edit the post. Hopefully someone will benefit from the sample.

Code: Select all

Dialog>Dialog1
   Caption=Stop Watch
   Width=225
   Height=200
   Top=CENTER
   Left=CENTER
   Button=GO,75,80,72,75,3,GO.BMP_DATA
   Button=STOP,75,80,72,75,4,STOP.BMP_DATA
   Label=Elapsed Time,60,16,true
   Button=0,25,40,175,35,0
   Button=Reset,75,155,72,14,5
EndDialog>Dialog1

SetDialogObjectVisible>Dialog1,msButton1,1
SetDialogObjectVisible>Dialog1,msButton2,0
SetDialogObjectFont>Dialog1,msLabel1,Arial,12,1,0
SetDialogObjectFont>Dialog1,msButton3,Arial,18,1,0
Show>dialog1

Let>GoFlag=0
VBSTART
VBEND
Let>Dialog1.msButton1=
Let>Dialog1.msButton2=

Label>Loop
  GetDialogAction>Dialog1,res1
  If>res1=2
    Exit>0
  EndIf
  If>res1=3
    GoSub>GO
  EndIf
  If>res1=4
    GoSub>STOP
  EndIf
  If>res1=5
    GoSub>Reset
  EndIf
  If>GoFlag=1
    VBEVAL>timer,starttime
  EndIf
  Wait>0.01
  If>GoFlag=1
    VBEVAL>timer-%starttime%,totaltime
    Let>Dialog1.msButton3={(round((%Dialog1.msButton3%+%totaltime%)*1000))/1000}
    VBEval>FormatNumber(%Dialog1.msButton3%,3),Dialog1.msButton3
  EndIf
Goto>Loop

SRT>GO
  Let>GoFlag=1
  SetDialogObjectVisible>Dialog1,msButton1,0
  SetDialogObjectVisible>Dialog1,msButton2,1
  SetDialogObjectFocus>Dialog1,msButton2
  ResetDialogAction>Dialog1
END>GO

SRT>STOP
  Let>GoFlag=0
  SetDialogObjectVisible>Dialog1,msButton1,1
  SetDialogObjectVisible>Dialog1,msButton2,0
  SetDialogObjectFocus>Dialog1,msButton1
  ResetDialogAction>Dialog1
END>STOP

SRT>Reset
  Let>Dialog1.msButton3=0
  ResetDialogAction>Dialog1
END>Reset

jj45410
Junior Coder
Posts: 38
Joined: Tue Nov 18, 2008 8:14 pm

Post by jj45410 » Sat Aug 22, 2009 5:20 am

Code: Select all

SetDialogObjectVisible>Dialog1,msButton1,1
SetDialogObjectVisible>Dialog1,msButton2,0
SetDialogObjectFont>Dialog1,msLabel1,Arial,12,1,0
SetDialogObjectFont>Dialog1,msButton3,Arial,18,1,0
Show>dialog1
What is the significance for this peice of code that's above this?

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sat Aug 22, 2009 5:58 am

He has two buttons in the same physical position in the dialog. They are for a stopwatch, labeled START and STOP

Then he toggles the visibility so that one is hidden and the other is visible.
When the timer has not started, the button says START,
You click on the START button, the timer starts and the button changes from START to STOP. When you click on STOP, the timer stops, and the button once again says START. He is also changing fonts to make it visually different.

Paste the code into your Macro Scheduler and single step through the lines to see how each line is working.

This is a common techinque to use multiple items in the same real estate, and make a user friendly tool. No extra choices, no extra buttons, no way to make a mistake. The technique is well known, but too few developers think about the need for something like this. Kudos to JRL for his high quality work.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts