 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
StrangeGlove
Joined: 26 Sep 2008 Posts: 2 Location: Earth
|
Posted: Fri Sep 26, 2008 2:58 pm Post subject: "#" being ignored when passed in a gui Field |
|
|
I use two fields on a gui to pass parameters to kick of a script, in most cases what I pass it contains a #. ie -pAIG_Legg -v#123321 When it kicks off it actually sends -pAIG_Legg -v123321
| Code: | ButtonAIG_Compile:
Gui, submit, NoHide
If Project=
{
msgbox, Empty Project Name!
Return
}
If Version=
{
msgbox, Empty Version Label!
Return
}
Run, cmd ,G:\CM_NPVCS\AIG-COMPILE\
sleep 1000
send,perl AIGCompile_byLABEL_SizeCompare_NOBASOK.plx -p%Project% -v%Version%{ENTER}
GuiControl,,Project,
GuiControl,,Version,
Return |
|
|
| Back to top |
|
 |
Dra_Gon
Joined: 25 May 2007 Posts: 314
|
Posted: Fri Sep 26, 2008 3:14 pm Post subject: |
|
|
You might need an accent {`} [NOT apostrophe '] in front of the symbol to pass it through. Try something like:
| Code: | IfInString, Version, #
StringReplace, Version, Version, #, `#
|
I don't know if that's the problem but many symbols need that accent in AHK in order to get used as itself. Hope this helps!
Ciao,
Dra'Gon _________________
For a good laugh {hopefully} >> megamatts.50megs.com
My WritersCafe profile>>
http://www.writerscafe.org/writers/BlueDragonFire/ |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|