Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: SendMessage Problem.

  1. #1
    Join Date
    Nov 2003
    Location
    Hove, E Sussex, UK
    Posts
    4,005

    Default SendMessage Problem.

    Hi

    I am using Sendmessage action to control sage tv, and out of all the commands, 1 is not working, it does work from G3.3.

    I am wondering if there is a weird problem with G4?

    I am using the following in the action,

    Message = 6
    WParam = 1258
    IParam = 1

    If I use any other Message it works for instance 7, 59, etc
    Thx, Dan

    Onwards and Upwards!
    http://www.danward.co.uk

  2. #2
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    from lua or the action tree?

  3. #3
    Join Date
    Nov 2003
    Location
    Hove, E Sussex, UK
    Posts
    4,005

    Default

    The Action tree. and I thought I would try lua, but none work there. probably me
    Thx, Dan

    Onwards and Upwards!
    http://www.danward.co.uk

  4. #4
    Join Date
    Nov 2003
    Location
    Hove, E Sussex, UK
    Posts
    4,005

    Default

    Do you have any ideas, about what the problem could be?
    Thx, Dan

    Onwards and Upwards!
    http://www.danward.co.uk

  5. #5
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    so, it worked from 3.3 but doesn't with 4 either lua or action tree?

  6. #6
    Join Date
    Nov 2003
    Location
    Hove, E Sussex, UK
    Posts
    4,005

    Default

    yeah, it is fine in G3,

    1. I have tried using the g3 gml imported, into g4 (i.e. Legacy G3 Actions)all but pause works

    2. Setting up new action, again all but pause works (i.e. Using G4's SendMessage / postmessage action)

    3. tried using lua and win.sendmessage. This did not work for any command.

    Thx, Dan

    Onwards and Upwards!
    http://www.danward.co.uk

  7. #7
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    Quote Originally Posted by danward79
    yeah, it is fine in G3,

    1. I have tried using the g3 gml imported, into g4 (i.e. Legacy G3 Actions)all but pause works

    2. Setting up new action, again all but pause works (i.e. Using G4's SendMessage / postmessage action)

    3. tried using lua and win.sendmessage. This did not work for any command.

    what are you doing for targeting when using lua?

  8. #8
    Join Date
    Nov 2003
    Location
    Hove, E Sussex, UK
    Posts
    4,005

    Default

    Hi Mike,

    Sorry I was typing one handed again, baby in the other.... So was lazy.

    I am using the following.

    Code:
    thewin = win.FindWindow("SageApp", "SageWin")
    	
    print (thewin)
    
    print(win.SendMessage(thewin,59,1258,0))
    For pause it should be 6 instead of 59.

    More info is available here
    http://www.sage.tv/2_papers/SageTVWindowsMessages.txt
    Thx, Dan

    Onwards and Upwards!
    http://www.danward.co.uk

  9. #9
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    , I am pretty good at that too

    So it works for all other commands except the one? I cannot make sense of that!

  10. #10
    Join Date
    Nov 2003
    Location
    Hove, E Sussex, UK
    Posts
    4,005

    Default

    yeah the actions work for all but pause.

    3. tried using lua and win.sendmessage. This did not work for any command.
    The lua works for none. I can't either

    :roll:

    I have been trying it for weeks with at least 2 versions of G4
    Thx, Dan

    Onwards and Upwards!
    http://www.danward.co.uk

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •