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 31 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Serial ( COM ) Port Console Script
aobrien

Replies: 18
Views: 3377

PostForum: Scripts & Functions   Posted: Sat Jul 26, 2008 6:04 am   Subject: Serial ( COM ) Port Console Script
Krisky68, thanks for finding/fixing that bug! It is likely to not have been resolved otherwise.

I also put the fix in for the NULL (0x00) data.

Everyone (receiving email notifications) should u ...
  Topic: Serial ( COM ) Port Console Script
aobrien

Replies: 18
Views: 3377

PostForum: Scripts & Functions   Posted: Wed Jul 23, 2008 8:00 am   Subject: Serial ( COM ) Port Console Script
Krisky,

I have reproduced your problem (script doesn't work with COM Port > 9). The section of the code that is causing the error is shown below.



;####################################### ...
  Topic: Diablo 2 Expansion Auto-Leveling Script
aobrien

Replies: 6
Views: 1769

PostForum: Scripts & Functions   Posted: Tue Jul 22, 2008 8:04 am   Subject: Diablo 2 Expansion Auto-Leveling Script
Sorry for the late responces. Yahoo put all of my AHK notifications into the spam folder Sad

Yes, I thought that there was better ways of cheating, but I was really just doing this for fun Smile

Wel ...
  Topic: Serial ( COM ) Port Console Script
aobrien

Replies: 18
Views: 3377

PostForum: Scripts & Functions   Posted: Tue Jul 22, 2008 7:50 am   Subject: Serial ( COM ) Port Console Script
Hi Raccoon,

Yes, I agree that it isn't the best coding in the world. I'm actually not happy with the whole flow of the script, but I wanted an easy way to demonstrate the script and I didn't know h ...
  Topic: Serial ( COM ) Port Console Script
aobrien

Replies: 18
Views: 3377

PostForum: Scripts & Functions   Posted: Wed Jun 25, 2008 7:48 am   Subject: Serial ( COM ) Port Console Script
Yes, I use it to send binary data at 115200 baud rate every day. The instructions (at the top of the script) are pretty clear, I hope. Please let me know if it needs clarification.


Note-to-all: I ...
  Topic: Serial ( COM ) Port Console Script
aobrien

Replies: 18
Views: 3377

PostForum: Scripts & Functions   Posted: Sun May 18, 2008 7:36 am   Subject: Serial ( COM ) Port Console Script
Hi Ron1,

Thanks for the compliment Very Happy. I'm glad that you have found it useful and are putting it to such a noble cause.

Well, necesity is the mother of invention. It's funny that I was only abo ...
  Topic: Diablo 2 Movement with WASD instead of mouse
aobrien

Replies: 10
Views: 785

PostForum: Ask for Help   Posted: Tue May 13, 2008 8:15 am   Subject: Diablo 2 Movement with WASD instead of mouse
Hi Crash,
Sorry it took so long to reply... I don't check my personal email as much as I should.

I tried several different methods of targeting enemies, but came to the conclusion that it was just ...
  Topic: Diablo 2 Expansion Auto-Leveling Script
aobrien

Replies: 6
Views: 1769

PostForum: Scripts & Functions   Posted: Tue May 13, 2008 8:05 am   Subject: Diablo 2 Expansion Auto-Leveling Script
reserved for bug fixes/notes
  Topic: Diablo 2 Expansion Auto-Leveling Script
aobrien

Replies: 6
Views: 1769

PostForum: Scripts & Functions   Posted: Tue May 13, 2008 8:04 am   Subject: Diablo 2 Expansion Auto-Leveling Script
First, I would like to state the following:
1) If you copy/use this script please post a reply stating as such and if you like it or not and how much experience/hour you are getting. I just want to k ...
  Topic: Reading from COM1 - is it possible?
aobrien

Replies: 32
Views: 3906

PostForum: Ask for Help   Posted: Tue Apr 29, 2008 5:37 pm   Subject: Reading from COM1 - is it possible?
Port.dll SUCKS!

Don't ask how I know. Use this method instead:

[url=http://www.autohotkey.com/forum/viewtopic.php?t=28703]Serial ( COM ) Port

aobrien
  Topic: Diablo 2 Movement with WASD instead of mouse
aobrien

Replies: 10
Views: 785

PostForum: Ask for Help   Posted: Tue Apr 29, 2008 5:19 pm   Subject: Diablo 2 Movement with WASD instead of mouse
Hi CraSH,

I actually wrote a DiabloII leveling script not too long ago. It is pretty slick if I do say so myself. It will play endlessly, if you die it will recognize that fact and reload the last ...
  Topic: Serial ( COM ) Port Console Script
aobrien

Replies: 18
Views: 3377

PostForum: Scripts & Functions   Posted: Wed Apr 02, 2008 5:33 pm   Subject: Serial ( COM ) Port Console Script
Hi bradchuck,

I'm glad that you are finding it useful.

FYI, I made a correction just now - the only changs are in the "Initialize COM Subroutine" section of the code. Just update your ...
  Topic: Need help with DllCall("ReadFile", ... ) and VarSe
aobrien

Replies: 12
Views: 567

PostForum: Ask for Help   Posted: Wed Apr 02, 2008 5:19 pm   Subject: Need help with DllCall("ReadFile", ... ) and VarSe
Damn... It's a good thing that someone knows what they are doing.

Lexikos, thanks for reviewing my code and having patience with me. Not many people would have taken the time.

I've tested the co ...
  Topic: Need help with DllCall("ReadFile", ... ) and VarSe
aobrien

Replies: 12
Views: 567

PostForum: Ask for Help   Posted: Fri Mar 28, 2008 10:54 pm   Subject: Need help with DllCall("ReadFile", ... ) and VarSe
Lexikos, you were right!!! SetCommTimeouts did the trick. ReadFile no longer hangs there waiting for the correct number of bytes. It simply returns whatever is in the COM port buffer.

FYI... I don ...
  Topic: Serial ( COM ) Port Console Script
aobrien

Replies: 18
Views: 3377

PostForum: Scripts & Functions   Posted: Fri Mar 28, 2008 7:41 pm   Subject: Correct method for sending/receiving data on the Serial Port
The following code uses built in Microsoft Windows dll/functions. This is the method that I recommend for reading/writing the serial ports.

;################### Serial_Port_Console_ReadFile.ahk ### ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group