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 

Search found 52 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Ignor a minus sign?
artbasement

Replies: 4
Views: 152

PostForum: Ask for Help   Posted: Sun Oct 25, 2009 2:49 pm   Subject: Ignor a minus sign?
stringReplace, amount, refund, `-, ,
Works well.
  Topic: Ignor a minus sign?
artbasement

Replies: 4
Views: 152

PostForum: Ask for Help   Posted: Sun Oct 25, 2009 1:33 am   Subject: Ignor a minus sign?
Just got it like this....


If (instr(currslip,"- ")) AND (instr(currslip,"C a r d"))

{
needle := "SUBTOTAL"
halfslip ...
  Topic: Ignor a minus sign?
artbasement

Replies: 4
Views: 152

PostForum: Ask for Help   Posted: Sat Oct 24, 2009 11:46 pm   Subject: Ignor a minus sign?
This is probably very simple to fix.

I have text in a file like this

002=SMALL CAPPUCCINO -1.50
002= REFUND
002=SMALL HOT CHOCO ...
  Topic: Make a text file from the output to a serial printer
artbasement

Replies: 2
Views: 193

PostForum: Ask for Help   Posted: Wed Oct 21, 2009 9:22 pm   Subject: Make a text file from the output to a serial printer
Perhaps the ComCap utility
Managed to get the ComCap utility working finally Very Happy , with the correct wires conected from the Uniwell. Now I have to get autohotkeys to read the text file and find the wo ...
  Topic: Make a text file from the output to a serial printer
artbasement

Replies: 2
Views: 193

PostForum: Ask for Help   Posted: Wed Oct 21, 2009 12:28 am   Subject: Make a text file from the output to a serial printer
Does anyone know how I could use autohotkeys to make a text file in my computer from the RS 232 output from my Uniwell TX-850 cash register?

The reason for this is that I need to create a text file ...
  Topic: Find Transaction Number on Line 14 or 15
artbasement

Replies: 7
Views: 672

PostForum: Ask for Help   Posted: Sun Nov 02, 2008 1:48 am   Subject: Find Transaction Number on Line 14 or 15
Thanks VxE, works perfectly now like this! Very Happy

FileReadLine, transactionNum1, c:\sa\currslip.txt, 14
StringLeft, transactionNum1, transactionNum1, 6
If transactionNum1 is NOT INTEGER
...
  Topic: Find Transaction Number on Line 14 or 15
artbasement

Replies: 7
Views: 672

PostForum: Ask for Help   Posted: Sat Nov 01, 2008 9:17 pm   Subject: Find Transaction Number on Line 14 or 15
Thank you for your input. The reason I posted a fresh thread is because we have been using this code for nearly 2 months in a chain of shops and it has been working fine up until the point we found th ...
  Topic: Find Transaction Number on Line 14 or 15
artbasement

Replies: 7
Views: 672

PostForum: Ask for Help   Posted: Sat Nov 01, 2008 5:12 pm   Subject: Find Transaction Number on Line 14 or 15
I have to admit I am very new to programing, so I am not sure how to use the examples you have given me. Is there any chance you could edit my code to show me how to do it?
Thanks
  Topic: Find Transaction Number on Line 14 or 15
artbasement

Replies: 7
Views: 672

PostForum: Ask for Help   Posted: Sat Nov 01, 2008 3:53 pm   Subject: Find Transaction Number on Line 14 or 15
I have written some code which compares the transaction number in a currslip.txt file to a num.txt file to decide if to activate credit card payment software. The problem is that sometimes the transac ...
  Topic: Help with Php please?
artbasement

Replies: 4
Views: 227

PostForum: Ask for Help   Posted: Thu Oct 02, 2008 9:18 am   Subject: Help with Php please?
SORRY
Embarassed
It was something which I thought might be of interest and easy for one of you to answer.

Have posted it on Php forum instead... Embarassed
  Topic: Help with Php please?
artbasement

Replies: 4
Views: 227

PostForum: Ask for Help   Posted: Thu Oct 02, 2008 4:45 am   Subject: Help with Php please?
I am trying to edit some Php in my online cart, so that in a Drop Down list of delivery options, if the delivery has a cost of "0.00" it will show the user "FREE" instead of " ...
  Topic: Look for a number in two files and if different start script
artbasement

Replies: 3
Views: 493

PostForum: Ask for Help   Posted: Sun Sep 21, 2008 11:13 pm   Subject: Look for a number in two files and if different start script
Just for the record, came up with this in the end, thanks for the part of the code that compares.
Loop
{
IfNotExist, c:\sa\input.txt
{
Sleep, 1000
FileReadLine, transactionNu ...
  Topic: How can I loop this?
artbasement

Replies: 4
Views: 390

PostForum: Ask for Help   Posted: Sun Sep 21, 2008 11:06 pm   Subject: How can I loop this?
I came up with this in the end, which seems to work well, no timer or sleep time seemingly needed, as script will wait for input file to be deleted by another program before doing it's thing again.
...
  Topic: How can I loop this?
artbasement

Replies: 4
Views: 390

PostForum: Ask for Help   Posted: Sun Sep 21, 2008 2:05 pm   Subject: How can I loop this?
I need this script to loop, but done as shown, it makes about 50 entries in the input.txt file, presumably in the time it takes to create a new num.txt file, which is the trigger. Can anyone help me m ...
  Topic: Compare Number but Ignore the Date
artbasement

Replies: 4
Views: 243

PostForum: Ask for Help   Posted: Sun Sep 21, 2008 10:50 am   Subject: Compare Number but Ignore the Date
Sorry, can you give me an example of how to insert that?
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group