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 

add % to fileappend

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



Joined: 19 Feb 2007
Posts: 323
Location: Czech Republic

PostPosted: Wed Feb 20, 2008 1:01 pm    Post subject: add % to fileappend Reply with quote

Hi all. This code ignore writing %picfile%
fileappend, GuiControl%carka%%carka% PicFile%carka% %SelFile%`r`n,%appname%.zis
Program write: guicontrol,, selfile,
The %carka% = ,
Can you help?
I want append to file %picfile% Program ignore this.
_________________
Thanks.
Back to top
View user's profile Send private message
Oberon



Joined: 18 Feb 2008
Posts: 453

PostPosted: Wed Feb 20, 2008 1:13 pm    Post subject: Reply with quote

Methinks thou art forgotten %

Code:
FileAppend, GuiControl%carka%%carka% %PicFile%%carka% %SelFile%`r`n, %appname%.zis
Back to top
View user's profile Send private message
vlcek



Joined: 19 Feb 2007
Posts: 323
Location: Czech Republic

PostPosted: Wed Feb 20, 2008 1:17 pm    Post subject: Reply with quote

No. My full code
fileappend, FileSelectFolder%carka% SelFile%carka%%carka%%carka%`r`n,%appname%.zis
fileappend, GuiControl%carka%%carka% Selfile%carka% %picfile%`r`n,%appname%.zis
fileappend, Return`r`n,%appname%.zis
Program write onli
fileselectfolder selfile,,,
guicontrol,,selfile but not write %picfile% to end line.
Program must write % too.
_________________
Thanks.
Back to top
View user's profile Send private message
Razlin



Joined: 05 Nov 2007
Posts: 434
Location: canada

PostPosted: Wed Feb 20, 2008 1:26 pm    Post subject: Reply with quote

To append a % you have to escape it with `%
Back to top
View user's profile Send private message
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