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:
You should be able to use this even if you use SendMessage/PostMessage.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)
Make sure that the checkbox "Selected Objects Only", is not the child window of a frame(GroubBox).
Otherwise the array would be:
You may need to use the class name if there is no text on the groupbox/frame. Use spy++ to find the window paths.Code:sArray = s.CArr("Save As", 1, "GroupBox1" , 1, "Selected Objects Only", 1)




Reply With Quote