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 

Finding files based on Lastname Firstname.

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
drmurdoch



Joined: 10 Nov 2006
Posts: 86

PostPosted: Tue Jan 29, 2008 7:35 am    Post subject: Finding files based on Lastname Firstname. Reply with quote

Idea:
I will highlight my next client's name from my scheduling program.
I would like to find all their files by executing a program I use called ESP. I would like to find their files based on their first and last name.

Typical Data
Code:
Lastname, Firstname 0 pension funds down ON number version clientnumber


How it should work.
Copy everything to clipboard (before the script)
Press F10 to execute the script
Save the Clipboard.
Find the first charcter that is the number 0, then copy everything before the number 0 (not including)
strip out any commas.
F11 key
Wait for application.
"Type" (not paste) the string into the application (ie. not just paste).
Return to the initial clipboard + add date (format - Jan 28, 2008) to the end.

===
All help appreciated.
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5009
Location: imaginationland

PostPosted: Mon Feb 18, 2008 2:30 pm    Post subject: Reply with quote

It can all be done using the commands: FileAppend, StringMid, StringReplace, Send, WinWait, ControlSend/send, EnvAdd. If you can't seem to get a working script post the code you've written so far so somebody may be able to guide you.
_________________

RegExReplace("irc.freenode.net/autohotkey", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group