AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Gui, add, text, 50% variable is missing its end

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Mucka Knows



Joined: 22 Jun 2007
Posts: 16

PostPosted: Sun Oct 28, 2007 8:04 pm    Post subject: Gui, add, text, 50% variable is missing its end Reply with quote

i want the text "50%" to be added to a gui. I don't know how to without triggering the following error msg:

Error: This parameter contains a variable name missing its ending percent sign.

Code:
Gui, Add, Text, x136 y90, 50%


atm i am reading the percent sign from a txt file.
Back to top
View user's profile Send private message Send e-mail
kimbledon



Joined: 28 Sep 2007
Posts: 26

PostPosted: Sun Oct 28, 2007 8:54 pm    Post subject: Reply with quote

Use ` mark before percentmark.
like this: `%


Edit: Skan's post wasn't there when I started to write Very Happy
Back to top
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 6264

PostPosted: Sun Oct 28, 2007 8:56 pm    Post subject: Reply with quote

@kimbledon: Are you happy now ?

Code:
Gui, Add, Text, x136 y90, 50`%
Gui, Show


Smile
Back to top
View user's profile Send private message
Mucka Knows



Joined: 22 Jun 2007
Posts: 16

PostPosted: Mon Oct 29, 2007 12:17 am    Post subject: Reply with quote

thnx alot Very Happy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group