Jump to content

NewLeafIT

Members
  • Posts

    3
  • Joined

  • Last visited

NewLeafIT's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I've just downloaded the Installer Creator, and got pretty excited, but I am having the old "Variable" error mentioned above. I downloaded the installer (v.2.7) using the URL listed here: http://www.autoitscript.com/forum/index.php?app=core&module=attach&section=attach&attach_id=27195. I am running Windows XP, SP3. I have tried the Installer Creator on AutoIT v3.3.0.0 and v3.3.6.1, both of which give similar errors. (The error occurs when running the created setup exe, not during the build or creation) I have created my install package many times, and it creates fine. The error occurs when the installation is occurring. I have tried changing the build options in many ways, all with the same result. Here's the error: Title: "AutoIt Error" Message: Line 89 (File "C:\WINDOWS\Temp\[program name]\Installer.exe"): Error: Variable used without being declared. Any assistance is appreciated. Thanks!
  2. This one looks like it may be helpful: http://www.autoitscript.com/forum/index.php?showtopic=119096 I'm well versed with using Regexp and concepts like "StringReplace", but am wondering if there is a better, more official, or "correct" way to perform this action. So, if you have any thoughts, please post! Thanks! Chay Butler New Leaf Distributing
  3. I have created a GUI program (to be compiled) that some of my users will be using to print par code labels. To do this, I need to create a file that contains WPL (Wasp Printer Language). Only a few small parts of this data will change depending on the options submitted, so I thought I would use a "template" text file that will be parsed, and some sort of "variable" syntax will be included so that a find & replace is performed, and the new resulting text file would have the "variables" replaced with the data to reflect what the user selected in the form. I am picturing something akin to an HTML template file... EXAMPLE: (This is just a demonstration. I will tackle exactly how the syntax will work before I focus too much time on the specifics of this syntax. I am going to use "$" vars, since that is easy for me to relate to and tell apart for this example.) -----------BEFORE-------------- SIZE $mediaWidth, $mediaHeight DENSITY 7 SPEED 4 DIRECTION 1 KILL "*" CLS BARCODE $locLeft,$locRight,"$type",196,1,0,2,4,$identifier PRINT 1,$prtCnt -------------------------------- $mediaWidth = 2.25 $mediaHeight = 1.25 $locLeft = 76 $locRight = 17 $type = EAN13+5 $identifier = 97816061102052500 $prtCnt = 22 (Template file is then parsed, and vars are replaced. The final version (below) is written to a temp file, where it is then sent to the printer as a raw message. Please let me know if you need more information. I am happy to fill in the holes. Thanks, Chay D. Butler (New Leaf Distributing) -----------AFTER-------------- SIZE 2.25, 1.25 DENSITY 7 SPEED 4 DIRECTION 1 KILL "*" CLS BARCODE 76,17,"EAN13+5",196,1,0,2,4,"97816061102052500" PRINT 1,22
×
×
  • Create New...