Skip to content

intercepter_3

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #186345

    I did make one. But it only does a start or end or start and end notification.

    #190739

    Yep I got it all workin with autopilots methods.

    #187873

    And 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.

    #187874

    @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 Function

    I 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.

    #190769

    And 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.

    #187544

    How 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.

    #190771

    The 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.

    #187881

    This 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?

    #187827

    The link doesnt work. Maybe after the latest renovations loco did killed the article.

    #190877

    And thats the odd thing, it works but it doesnt work. And I cant figure out why.

    #190879

    To 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

    #190882

    Thanks 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.

    #190884

    Ok 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
    #190885

    Paltalk: 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?

    #189003

    They 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.

Viewing 15 posts - 1 through 15 (of 19 total)