Jump to content

guictrlcreatelabel for process status


Recommended Posts

hello.

i am using guictrlcreatelabel to show the status of a process (running, opening results, complete) - which is really nice

problem is, when writing "complete" for example, i can stil see part of the "opening results" label.

i was thinking of overlaying "opening resutls" with a label that changed the font so you couldnt see it before creating the "complete" label

lame huh?

can any of you think of a better way of doing this?

Link to comment
Share on other sites

You're using multiple lables and overlaying them? Either way GUICtrlSetData() will update the text in the label... is this not working for you? If not can you show your code?

While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd
Link to comment
Share on other sites

not sure what that looks like combining guictrlsetdata, guictrlread and guictrlcreatelabel...

Can you explain it with code, even if its not working? I really don't get what you mean.

While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd
Link to comment
Share on other sites

You should show your code to help you better and understand it.

OS: Windows XP SP2, AutoIt version: 3.2.10.0Help The Great Forum Which is Used by You For Help.01 - Always Respect The Forum Members.02 - Use Search Before Posting or making any new Thread.03 - Help The Newbies.
Link to comment
Share on other sites

i was just using labels and overlaying them over each other.

i had even tried creatinglabels with variables and just changing the variable each time a process initiated/completed.

i havent used guictrlsetdata, guictrlread and guictrlcreatelabel...

didnt know you could.

im still nto sure how they interlace

what would i set for GUICTRLSETDATA?

i imagine then the rest would like look

guictrlcreatelabel=(guictrlread())

or something like that?

Link to comment
Share on other sites

You assign your label a var and then give GUICtrlSetData that variable to update the text. I don't know what you mean about guictrlread, but read the helpfile on GUICtrlSetData and play around with it.

While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd
Link to comment
Share on other sites

i cant get it to work...

here's what i have.

$stats="Gathering Results..."
GuiCtrlSetData=($stats)
 
GUICtrlCreateLabel($stats, 10, 37)oÝ÷ ÚØ^'!jx¶´ß«-jÛ/j¸nW¦º[b¦W­g¬¶èºhºÛazÇ+az·¬µè_ºw-âºÇ­ë®*mv®¶­sdgVæ26V6µõ6WGFær ¤bb33c¶fÆSÓFVà¢6ö÷6UEB¤VæD` ¢b33c¶fÆRÒb33c·FööÇ6F"fײgV÷C²b3#´W6ÇW6öâb3#·6WGFæw2æ77bgV÷C° ¤bfÆTW7G2b33c¶fÆRFVà¢fÆTFVÆWFRb33c¶fÆR¤VæD`  ¢b33c·7FG3ÒgV÷C´vFW&ær&W7VÇG2âââgV÷C°¤wV7G&Å6WDFFÒb33c·7FG2¢¤uT7G&Ä7&VFTÆ&VÂb33c·7FG2ÂÂ3r  ¤fÆUw&FRb33c¶fÆRÂgV÷C´76WBÂ&Ö'W6W"ÂW6ÇW6öâf&&ÆRgV÷C² ¤FÒb33c¶76WG2Âb33c¶fÆP¤bæ÷BôfÆU&VEFô'&b33c¶fÆRÂb33c¶76WG2FVà¢W@¤VæD` ¤f÷"b33c·ÒFòb33c¶76WG5³Ð¢b33c¶W'&÷&6÷VçBÒ¢b33c·7FGW3ÒgV÷C³gV÷C°¢b33c·W6W#ÒgV÷C³gV÷C°¢b33c¶Vçe÷f#ÒgV÷C³gV÷C° ¥ærb33c¶76WG5²b33c·Ò¤bW'&÷"FVà¢b33c·7FGW3ÒgV÷C´ôddÄäRgV÷C°¢b33c·W6W#ÒgV÷C³óóògV÷C°¢b33c¶Vçe÷f#ÒgV÷C³óóògV÷C°¢b33c¶W'&÷&6÷VçBÒ³¤VæD` ¤bb33c¶W'&÷&6÷VçBÒFVà¥&Vu&VBgV÷C²b3#²b3#²gV÷C²fײb33c¶76WG5²b33c·ÒfײgV÷C²b3#´´UôÄô4ÅôÔ4äRb3#µ4ôeEt$Rb3#´Ö7&÷6ögBb3#µvæF÷w2b3#´7W'&VçEfW'6öâgV÷C²ÂgV÷Cµ&öw&ÔfÆW4F"gV÷C²¤bW'&÷"FVà¢b33c·7FGW3ÒgV÷C´äõôDÔåõ$tE2gV÷C°¢b33c·W6W#ÒgV÷C³óóògV÷C°¢b33c¶Vçe÷f#ÒgV÷C³óóògV÷C°¢b33c¶W'&÷&6÷VçBÒ³¤VæD`¤VæD` ¤bb33c¶W'&÷&6÷VçBÒFVࣴFÒb33c·7FGW2Âb33c·W6W"Âb33c¶Vçe÷f £´bb33c·7FGW2ÒgV÷C³gV÷C²FVà¢b33c·7FGW2ÒgV÷C²gV÷C°¢b33c·W6W"Ò&Vu&VBgV÷C²b3#²b3#²gV÷C²fײb33c¶76WG5²b33c·ÒfײgV÷C²b3#´´UôÄô4ÅôÔ4äRb3#µ4ôeEt$Rb3#´ÇF&2b3#´ÇF&2vVçBb3#´çfVçF÷'gV÷C²ÂgV÷Cµ&Ö'W6W"gV÷C²¤bW'&÷"FVà b33c·W6W"ÒgV÷CµTä´äõtâgV÷C°¤VæD`¢b33c¶Vçe÷f"Ò&Vu&VBgV÷C²b3#²b3#²gV÷C²fײb33c¶76WG5²b33c·ÒfײgV÷C²b3#´´UôÄô4ÅôÔ4äRb3#µ55DTÒb3#´7W'&VçD6öçG&öÅ6WBb3#´6öçG&öÂb3#µ6W76öâÖævW"b3#´Vçf&öæÖVçBgV÷C²ÂgV÷C´4tu$õUgV÷C²¤bW'&÷"FVà b33c¶Vçe÷f"ÒgV÷C´Ô54ärgV÷C°¤VæD`¤bb33c¶Vçe÷f"ÒgV÷C´ådU5EõE$DärgV÷C²FVà¢b33c¶Vçe÷f"ÒgV÷Cµ4UBgV÷C°¤VæD` ¤VæD` ¤fÆUw&FRb33c¶fÆRÂb33²b33²f×´5$Äbfײð¢b33c¶76WG5²b33c·ÒfײgV÷C²ÂgV÷C²fײb33c·W6W"fײgV÷C²ÂgV÷C²fײb33c¶Vçe÷f"fײgV÷C²ÂgV÷C²fײb33c·7FGW2 ¤æW@ ¢b33c·7FG3ÒgV÷C´÷Væær&W7VÇG2âââgV÷C° ¥6VÆÄWV7WFRb33c¶fÆR ¢b33c·7FG3ÒgV÷C´6ö×ÆWFRâgV÷C° ¤VæDgVæ2´6V6µõ6WGFæ
Edited by gcue
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...