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 5 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Read CSV and use variables in SendKey
ryans

Replies: 9
Views: 320

PostForum: Ask for Help   Posted: Fri Nov 06, 2009 1:19 am   Subject: FINAL CODE
Here is my finaly code.. tested and working.. In case anyone in the future ever has a task like this. Maybe this code will help them get started.
Thanks everyone!


^x::

MsgBox, 4, , D ...
  Topic: String Length - add spaces if shorter than X
ryans

Replies: 5
Views: 113

PostForum: Ask for Help   Posted: Thu Nov 05, 2009 2:11 am   Subject: String Length - add spaces if shorter than X
Hello,

Im trying to make a string exactly 12 characters.
trim a string if its over 12 (remove everything after the 12th)
and add spaces to the end if its under 12 to make it 12 long.

StringLe ...
  Topic: Read CSV and use variables in SendKey
ryans

Replies: 9
Views: 320

PostForum: Ask for Help   Posted: Wed Nov 04, 2009 6:49 pm   Subject: Read CSV and use variables in SendKey
Here is the latest code.. Can someone please tell me why i get a FILE READ ERROR... is it the
"FileReadLine, line, `n%SelectedFile%, %A_index%" Line?



^x::

MsgBox, 4, ...
  Topic: Read CSV and use variables in SendKey
ryans

Replies: 9
Views: 320

PostForum: Ask for Help   Posted: Wed Nov 04, 2009 4:07 am   Subject: Read CSV and use variables in SendKey
Hello,

Here is what I have so far:

test.csv contents:

test1,test2,test3
test11,test22,test33
test111,test222,test333


Code:


^x::
setkeydelay, 50, 10
sleep 1000

loop ...
  Topic: Read CSV and use variables in SendKey
ryans

Replies: 9
Views: 320

PostForum: Ask for Help   Posted: Tue Nov 03, 2009 8:58 pm   Subject: Read CSV and use variables in SendKey
Hello,

I need to read a CSV file, then using sendkey have it post the variables (content of the csv) so it can be "typed into a dos program"
I want to be able to use a sendkey command to ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group