Forum Replies Created
-
AuthorPosts
-
May 13, 2009 at 4:14 am #186345intercepter_3Member
I did make one. But it only does a start or end or start and end notification.
May 12, 2009 at 5:19 pm #190739intercepter_3MemberYep I got it all workin with autopilots methods.
February 17, 2009 at 10:19 pm #187873intercepter_3MemberAnd I got that to work just fine by changing it to a public function and it works like a charm.
Anyone have any ideas on the autopilot method to get text?
I did a search and could not find anything.
February 17, 2009 at 7:28 pm #187874intercepter_3Member@autopilot wrote:
Here is an update…
Pal 9.4 and up, we had to switch how we found the handle of the control.Autopilot,
Finally getting around to using this code. And I am having one problem. I am getting an error message.
This is where I get the error:
Private Function getSubForm(ByVal hWnd As Long, _
ByVal TargetSubClass As String, _
ByVal TargetSubClassIndex As Integer) As Long
'set variables in module
mParentHnd = hWnd
mTargetSubClass = TargetSubClass
mTargetSubClassIndex = TargetSubClassIndex
'set variables for EnumWindows function
Dim lRet As Long
Dim lParam As Long
'Enum sub windows to get hnd for target
lRet = FindSubWindsWithwHnd
'return target hnd
getSubForm = mSubFormHnd
End FunctionI get a Compile error “Expected Function or Variable” and it highlights FindSubWindsWithwHnd
When I go to that function, it is just declared as a sub. I am just using your sample project to get familiar with your changes for 9.4 of pal and up.
Is there something I am missing here?
I have vb6 and am on a 9.5 ver of pal.
August 9, 2008 at 6:40 am #190769intercepter_3MemberAnd thats too bad too. They were really efficient bots. Especially the connection routines. I sure would like to have been able to see the source code. I have used all 3 of his bots and I enjoyed how clean they were. I am sure I could learn lots from the source.
August 6, 2008 at 5:14 pm #187544intercepter_3MemberHow about trying my BibleBot? Let me post my latest version that should work with Pal8 and Pal9 thanks to some of the other awesome dudes here like departure and autopilot and locohackr. My only problem (which I know how to fix, but just dont have time yet to fix) is you need to have an administrator level account on the computer your running the program on to use some of the other features like saving a favorite verse list.
Try this link since the setup installer is too big to post on this board.
August 6, 2008 at 4:44 pm #190771intercepter_3MemberThe interesting thing is, that I contacted or tried to contact the author via a number of different ways to offer my assistance in keeping his software going, but he just doesn’t seem interested in any help and problem is I think he just wants to let the programs die. His own website now is all messed up. The forums are next to impossible to get into and he isn’t even replying to anything. I sure hope the TVK Author realizes how popular his programs are.
November 22, 2007 at 10:13 pm #187881intercepter_3MemberThis is awsome.
I am slightly confused as to how to take one step back in the index and get the chat window so can read text. Any suggestions?
November 16, 2007 at 7:55 pm #187827intercepter_3MemberThe link doesnt work. Maybe after the latest renovations loco did killed the article.
March 11, 2007 at 10:12 pm #190877intercepter_3MemberAnd thats the odd thing, it works but it doesnt work. And I cant figure out why.
March 10, 2007 at 8:29 am #190879intercepter_3MemberTo Ghost:
Yes I had done this. I even took out all formatting to see how the message would print and it looks just fine. Not too long. I even put an extra Richtextbox on my form and it looks fine as well, and I even tried sending the test to the richtextbox and then using roomsend out of the 2nd richtextbox. They all result in the same error.
To Autopilot: Thanks for the suggestion. I tried to change the font name as well, still get the same error. I dont see any char problems in the test and I dont see anything else in the send box in the paltalk room window. Thats why I am totally stumped as to why this doesnt want to work.
The funny thing is, I have other code that sends out replys that are multicolored and they have no problems. Its just the repeating $$ I use as a seperator. I am going to try leaving these out and just leaving 2 spaces, lets see how this works.
More to follow
March 9, 2007 at 7:24 pm #190882intercepter_3MemberThanks for the reply. I did check this. I also checked it in a richtextbox on my form too. They look just fine. So, at this point I am stumped. So I figured I would do a debug.print and see if that might enlight either myself or anyone else.
My question is…is the roomsend sending all of the following?
{rtf1ansideff0{fonttbl{f0fnilfcharset0 MS Sans Serif;}}
{colortbl ;red0green0blue0;red0green90blue0;red0green0blue255;}
viewkind4uc1pardcf1lang1033bf0fs16 ..:;cf2 $kjv :cf3 $$ cf2 $aboutcf1 cf3 $$ cf2 $helpcf3 $$ cf2 $favcf1 cf3 $$ cf2 $addfavcf1 cf3 $$ cf2 $delfavcf1 ::..
par }The easiest way to fix this is just forget about all the coloring and just make it all one color. But, if possible I would like to make it a number of colors.
Any continued help is appricated.
March 7, 2007 at 8:44 pm #190884intercepter_3MemberOk I figured I should just include the roomsend code I am using too.
Sub RoomSend(Text As String)
Dim parent, child, alt, rich20 As Long
parent = FindWindow("DlgGroupChat Window Class", frmMain.Label1.Caption)
child = FindWindowEx(parent, 0, "WTL_SplitterWindow", vbNullString)
child = FindWindowEx(child, 0, "WTL_SplitterWindow", vbNullString)
child = FindWindowEx(child, 0, "WTL_SplitterWindow", vbNullString)
child = FindWindowEx(child, 0, "WTL_SplitterWindow", vbNullString)
alt = GetWindow(child, GW_Child)
alt = FindWindowEx(alt, 0, "AtlAxWin71", vbNullString)
alt = FindWindowEx(alt, 0, "#32770", vbNullString)
rich20 = FindWindowEx(alt, 0, "RichEdit20A", vbNullString)
rich20 = FindWindowEx(alt, rich20, "RichEdit20A", vbNullString)
Call SendMessageSTRING(rich20, WM_SETTEXT, 0&, Text$)
Call SendMessageLong(rich20, WM_KEYDOWN, 13, 0&)
End Sub
March 6, 2007 at 3:04 am #190885intercepter_3MemberPaltalk: Message was not sent. The message was too long or contained non printable characters.
This is the error message I get. And I did put it in a richtextbox and it looked fine. I am using the same roomsend code that is in the PT9 greeter I found here.
If I change it to Call RoomSend(RTB5.Text) it sends the text but of course no bold or no coloring and is sent just fine.
Anyone got any suggestions?
April 6, 2006 at 7:17 am #189003intercepter_3MemberThey told me it was written in visual c++
Dont know of they were just giving me some bogus info. Cuz someone else said it was visual delphi
Dunno man.
-
AuthorPosts