Skip to content

How to trigger some thing when we get the mic?

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #188782
    method
    Member

    Hi all. is there a way to detect when we get the mic ,like by button status change or by looking at our name position and then baced on that for example send a perticuler text to the room. I be happy if some one show me how i can detect getting mic.Thanks

    #188795
    Admin
    Administrator

    man those listview questions are hard, I dont think we know that one yet 🙁

    #188794
    method
    Member

    @Admin wrote:

    man those listview questions are hard, I dont think we know that one yet 🙁

    There should be good programs around that build u codes so u can talk to external applications ,since many sofware comapanies they do not share their source code and u want create adds on and u get in to problem .

    Also Not many tutorials about this topic !!! There should be standreds to achive these tasks and i think IT world is still a sleep and only focousing on updating windows and releasing .net , .shit .this , .that ,…. loll

    #188793
    Admin
    Administrator

    I think Dody mention once about it can be done with c# but I havent gone into that yet. this summer I gonna try again to learn it 🙂

    #188792

    You can try to do the capture mic status, U know in paltalk room when U take mic, the icon status is red and when you lose mic the icon is green. U have just compare pixel if red that mean u have mic else you dont

    I have done it and yep it work i can detect if I lose mic.

    but that solution is not standar 😆

    loco if you want to learn c#, i think U have cho check MFC because MFC is GUI application similar c# or vb or delphi, you have toolbar to add button,textbox to your form ect…, plus it’s c programming, U can access all api and very powerful and you can mix managed code with native code. I have learn many programming language and mfc is the language I will chose to make my future app 8)

    #188791
    method
    Member

    Nano that is what i had in mind to detect the changes of button but do not know how. what u mean it is not standred ? does it work corectly all the time? could u show us the working code ? the icon is image button it changes when we have the mic and we loose the mic. If it was text over button i think it was easier but it is image swapping!Thanks

    #188790
    Admin
    Administrator

    I will try lol its sumer so its beaches girls drinking lol joke i got a wify but i give it ago 🙂 and wha is the mfc thats like microsoft visual studio 2005 right?

    #188789

    mfc=microsoft foundation class library

    yep U can have it in vs2005
    if you know mfc i think you can code every language 8) like after you can go with SDK(win32). there is not really different between mfc and win32, both u have access direct api. win32 u can do an application console.

    method there a some code on net you can use to compare image pixel, and capture button maybe loco code about capit, I didn’t check his code but i think you can learn from that how to capture a window.

    #188788
    method
    Member

    nanomachine007 thank u for u explantion but how often should i take snap shot of button(fiexed region) to do the comparason? i could have 2 pics one for when holding the mic and one when not having the mic and doing the comparasion every seconds?

    could u tell me how to do the compare and how often?

    loco code does have option of fixed region snap so it is hard to take snap shot of exact location all the time!!

    #188787

    yep you must have two pictures and u must use get window rectangle something like that to get the region of mic status and do the capture.

    #188786
    method
    Member

    @nanomachine007 wrote:

    yep you must have two pictures and u must use get window rectangle something like that to get the region of mic status and do the capture.

    Man how often to capture and how to do the compare ?
    the actual 2 icons are have the same size!! How u do the compare and identify each one when u see all the properties are the same !!

    #188785

    man you have to get color of your picture, red and green is not the same. look around google, u will find how to get a pixel color 8)

    #188784
    method
    Member

    @nanomachine007 wrote:

    man you have to get color of your picture, red and green is not the same. look around google, u will find how to get a pixel color 8)

    thank u for u reply . but pixel color of what part of each image ? each part is diffrent with in the same image!!

    #188783

    region 0,0 is ok 😆 btw if you care u must delete your pic in other post cuz i can identify your nick what it is 8)

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.