The FreeiPodGuide Forums Forum Index

Your Local Time: Thu Nov 20, 2008 2:27 am Standard Time
(Not DST aware. If this time is incorrect, edit your profile!)

The FreeiPodGuide Forums
I came; I saw; I got free stuff.
 
HomeHome GalleryGallery SearchSearch MemberlistUsers UsergroupsGroups StatisticsStats TradeTrades  RegisterRegister 
ProfileProfile  Personal NotesNotes  Log in for PMsLog in for PMs   Log inLog in  Text AdTitles SmiliesSmilies RatingsSite Ratings

Calling all Computer Wizards!!!!!

Subscribe to this thread (RSS)
 
Post new topic    Reply to topic    The FreeiPodGuide Forums Forum Index -> T-T-T-Tech Yourself
Author Message
TryinToGetPaid
Has No Friends
Has No Friends



Age: 22
Gender: Gender:Male
Posts: 4320
Joined: 18 Jun 2006
Location: Louisiana
Karma: 109
Trade Record: 21
PostPosted: Tue Aug 12, 2008 12:20 pm    Post subject: Help! Calling all Computer Wizards!!!!! Reply with quote

Got a spreadsheet. Contains Usernames, First Names, Last Names, Middle Initials. I want to run a macro (Mouse and Key Recorder) to type in this stuff into our EMR program.

So I have the script for the macro which I will post. But is there any way I can easily take this list of 400 users and get it to blow into the macro code. Like John A Smith have his info blown in and then the next person in line into the same code? Possible? No? Depending on the amount of work involved, I may dish out some money. That is right REAL DAMN MONEY!

Macro Code

jma55 (Username)
{ENTER}
{ENTER}
{TAB}
{TAB}
Jeremiah (1st Name)
{TAB}
M (MI)
{TAB}
Abue MD (Last name + Title)
{TAB}
{TAB}
{TAB}
{TAB}
{TAB}
{TAB}
{TAB}
DCM (initals)
{TAB}
Y
{TAB}
^c
{{Mouse 1, 1, 871, 9, 0
^v
{DOWN}
{{Mouse 1, 1, 564, 761, 0

{TAB}
{TAB}
{TAB}
{TAB}
S
{F9}
{DOWN}
{DOWN}
{ENTER}
{{Mouse 1, 1, 804, 184, 0
Back to top
View user's profile Send private message AIM Address
TryinToGetPaid
Has No Friends
Has No Friends



Age: 22
Gender: Gender:Male
Posts: 4320
Joined: 18 Jun 2006
Location: Louisiana
Karma: 109
Trade Record: 21
PostPosted: Tue Aug 12, 2008 12:21 pm    Post subject: No Icon  Reply with quote

PS. I am an idiot. Move to T-T-T-T-Tech Myself if needed.
Back to top
View user's profile Send private message AIM Address
dmorris68
FiPG Coder
FiPG Coder
FiPG Admin
FiPG Admin




Posts: 8212
Joined: 09 Mar 2005

Karma: 356
Trade Record: 30
PostPosted: Tue Aug 12, 2008 12:33 pm    Post subject: No Icon  Reply with quote

Quick and dirty method: write an Excel VBA macro that reads the list from one sheet, and dumps the macro code for each person line-by-line on another sheet. Then export that sheet as a text file to feed into your macro program. Off the top of my head I think that should work.

You might also check out AutoHotKey. It's free and scriptable to do all sorts of automation. Don't know if it's better/worse than the one you're using, but it's popular in the online poker community for modding/automating poker client software.


Last edited by dmorris68 on Tue Aug 12, 2008 12:36 pm; edited 2 times in total
Back to top
View user's profile Send private message
TryinToGetPaid
Has No Friends
Has No Friends



Age: 22
Gender: Gender:Male
Posts: 4320
Joined: 18 Jun 2006
Location: Louisiana
Karma: 109
Trade Record: 21
PostPosted: Tue Aug 12, 2008 12:35 pm    Post subject: No Icon  Reply with quote

Yeah I think thats my option.

Do you know of a way to take say a text field with abc123 and format it to only show the abc part? (Something that would just delete the numbers) DONE with WORD.

And what is the easiest way to attach MD to 400 last names? Replace is not working....
Back to top
View user's profile Send private message AIM Address
dmorris68
FiPG Coder
FiPG Coder
FiPG Admin
FiPG Admin




Posts: 8212
Joined: 09 Mar 2005

Karma: 356
Trade Record: 30
PostPosted: Tue Aug 12, 2008 12:48 pm    Post subject: No Icon  Reply with quote

TryinToGetPaid wrote:
Do you know of a way to take say a text field with abc123 and format it to only show the abc part? (Something that would just delete the numbers)

Should be easy with a string parsing/replacement function or two in VBA. Just index over the string until you reach a non-alpha character, then substring from the beginning to that index.

TryinToGetPaid wrote:
And what is the easiest way to attach MD to 400 last names? Replace is not working....

I don't think Excel's standard replace is sophisticated enough to use something like regular expression replacements, so outside of exporting the data to something that can do that, then re-importing, you could write a VBA macro for that too. Or just include it in the VBA macro you're writing to generate the macro code.
Back to top
View user's profile Send private message
TryinToGetPaid
Has No Friends
Has No Friends



Age: 22
Gender: Gender:Male
Posts: 4320
Joined: 18 Jun 2006
Location: Louisiana
Karma: 109
Trade Record: 21
PostPosted: Tue Aug 12, 2008 1:09 pm    Post subject: No Icon  Reply with quote

I think I got it. Dmo. You rock. And YAY for automated working. It works, I sleep and earn cash.
Back to top
View user's profile Send private message AIM Address
JKirk
ZeroPricetags Owner
ZeroPricetags Owner




Gender: Gender:Male
Posts: 2547
Joined: 22 May 2005

Karma: 161
Trade Record: 73
PostPosted: Sat Aug 16, 2008 3:31 pm    Post subject: No Icon  Reply with quote

YAYYYYYY

Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    The FreeiPodGuide Forums Forum Index -> T-T-T-Tech Yourself All times are GMT - 8 Hours
Page 1 of 1

 
Username





Processing took: 0.1573s
Powered by phpBB © 2001, 2002 phpBB Group