Search the web
Sign In
New User? Sign Up
AutoHotkey
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Trying to fix a simple remapping script   Message List  
Reply | Forward Message #229 of 528 |
Re: Trying to fix a simple remapping script

--- In AutoHotkey@yahoogroups.com, "danthetaliban" <danthetaliban@...>
wrote:

sorry, made a type, i meant to write %OutputVar% in the appropriate
places. even corrected i get the error though.
>
> Hi, i have read relevant parts of the documentation but do not
> understand why this gives me an error
>
> IniRead, OutputVar, config.ini, Config, Key
> MsgBox, You have assigned %OutputVar%.
> t::%OperVar%
> %OperVar%::t
>
> It basically reads the button from an .ini. That bit works fine, if i
> remove lines 3 & 4 the message box appears and works fine, but i dont
> understand why the remapping wont accept my variables.
>
>
> thanks - and i realise this is probably a very basic question and
> sorry if it is covered clearly in the documentation already ^.^
>







Tue Mar 28, 2006 8:53 pm

danthetaliban
Offline Offline
Send Email Send Email

Forward
Message #229 of 528 |
Expand Messages Author Sort by Date

Hi, i have read relevant parts of the documentation but do not understand why this gives me an error IniRead, OutputVar, config.ini, Config, Key MsgBox, You...
danthetaliban
Offline Send Email
Mar 28, 2006
8:49 pm

... wrote: sorry, made a type, i meant to write %OutputVar% in the appropriate places. even corrected i get the error though....
danthetaliban
Offline Send Email
Mar 28, 2006
8:54 pm

... Since remappings like a::b are activated before the script begins running, you can't have a variable reference like %OutputVar% in them. To work around...
Chris
cmallett2
Offline Send Email
Mar 29, 2006
12:21 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help