Results 1 to 40 of 44

Thread: [RESOLVED] [2005] Sending Keys to other application Save

Threaded View

  1. #16
    Fanatic Member TTn's Avatar
    Join Date
    Jul 2004
    Posts
    708

    Re: [2005] Sending Keys to other application Save

    CrystalBlue,

    I see what happened, you're using a getforegroundwindow command example that I listed. I dont think it will work in this case.

    This should make it easier to try and use:
    Code:
    Dim sArray() As String, hwnd As Int32
    sArray = s.CArr("Save As", 1, "Selected Objects Only", 1)
    hwnd = s.GetHandle(sArray)
    s.MouseSend(hwnd)
    You should be able to use this even if you use SendMessage/PostMessage.

    Make sure that the checkbox "Selected Objects Only", is not the child window of a frame(GroubBox).
    Otherwise the array would be:
    Code:
    sArray = s.CArr("Save As", 1, "GroupBox1" , 1, "Selected Objects Only", 1)
    You may need to use the class name if there is no text on the groupbox/frame. Use spy++ to find the window paths.
    Last edited by TTn; Nov 2nd, 2007 at 02:49 AM. Reason: Double post not my fault

Posting Permissions

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



Click Here to Expand Forum to Full Width