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 

Iniread FAIL

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





PostPosted: Thu Aug 27, 2009 3:04 am    Post subject: Iniread FAIL Reply with quote

so, if you use iniread on a key called 'B10' it will disregard the value specified for default and use 'ERROR' instead.
Think Im kidding?

Try it:

Code:

iniread, B10, somenonexistantconfigurations.ini, Mapping, B10, default
msgbox %B10%


the msgbox will say 'ERROR'.

[Moved from Bug Reports forum. ~jaco0646]
Back to top
Guest






PostPosted: Thu Aug 27, 2009 3:55 am    Post subject: Reply with quote

Check again, it works a expected. The msgbox shows "default". And that was a direct copy/paste/run from your post.
Back to top
AnttiV



Joined: 14 Aug 2009
Posts: 237
Location: Finland

PostPosted: Thu Aug 27, 2009 9:30 am    Post subject: Reply with quote

I had that same problem, but it was really a typo. be very careful with the ","s.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
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