Search:

Type: Posts; User: onidarbe

Search: Search took 0.02 seconds.

  1. Re: How do I get keyboard scancodes and know it's an extended key?

    ok, thanks!
  2. Re: How do I get keyboard scancodes and know it's an extended key?

    So rather then a api telling if a key is an extended key, I need to make a list of them, because there are always the same no matter what keyboard, right?
  3. How do I get keyboard scancodes and know it's an extended key?

    How or with what API can I know which key is an extended key to be able to use keybd_event with the correct dwFlags?

    If I only know how to make a listing like JackTripper did on following link,...
  4. Replies
    8
    Views
    19,384

    Re: how to read things inside any window

    Thanks for your help.
    I'm still trying to solve the loss of the cut/copy/paste when using code like .calculate or .calculation
    There are already some options, but they all have there restrictions. ...
  5. Replies
    8
    Views
    19,384

    Re: how to read things inside any window

    I tried spy++ and the last window it shows is "bosa_sdm_XL9", "Collect and Paste 2.0", which I address in this with GetWindowText
    But it only gives the window-title not the button or window-text of...
  6. Replies
    8
    Views
    19,384

    Re: how to read things inside any window

    Thanks, but that is only returning the window name or caption :(
    Need to read the window-body or buttons!
  7. Replies
    8
    Views
    19,384

    how to read things inside any window

    I'd like to know how to read buttons or body text from some child window.
    I already found the window handle ;)

    winHandle = FindWindow("XLMAIN", Application.caption)
    winHandle =...
  8. Seems it is impossible to send any key-combination to any application in background!

    I've been trying for months, probably more then 100 hours. But still I can't control an application in background :sick:

    I can't use SendKey because I don't want the application get the focus.
    ...
  9. GetMenuString not working with Adobe Reader 8 !?

    This code works with Notepad. But why can't it read the menu-items from AdobeReader8?


    Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal...
  10. Replies
    2
    Views
    1,515

    Re: clipboard to a text-file?

    2 problems:
    1) After the "SendMessage ret, WM_COPY, 0, 0" I don't seem to have it on the clipboard because if I press CTRL-V it doesn't show the notepad-text !

    2) I can't use "Clipboard.GetText"....
  11. Re: How send keystroke or command to a minimized window?

    I tryed both. Works, only I get those Open/Save-dialogs popped-up ! :(

    Private Sub sPDFtoTXTbu() '(vFile As String)
    vFile = "C:\temp\test.pdf"
    Dim hwnd As Long, hMenu As Long, hSubMenu As...
  12. Replies
    2
    Views
    1,515

    Re: clipboard to a text-file?

    Well, it seems I need to pay to see the solution on that link you provided :(
  13. Replies
    2
    Views
    1,515

    clipboard to a text-file?

    Can I save the clipboard to a text-file with an automated VB-script?
    Or can I even save or read the seleted text from some application-window directly to a file.txt or string without going through...
  14. Re: How send keystroke or command to a minimized window?

    1 step closer to a final solution to use AdobeReader8 to convert PDF to a TXT-file.
    1 more question: How do I open a PDF with AdobeReader in the background, not minimized but not focussed and...
  15. Re: How send keystroke or command to a minimized window?

    There are still 3 problems in my vb code, for what I am trying to do:
    1) The "vbNormalNoFocus" doens't work. The AcrobarReader get's focust when started!
    2) The PostMessage of "File/SaveToText..."...
  16. Re: How send keystroke or command to a minimized window?

    Thanks!
  17. Re: How send keystroke or command to a minimized window?

    Thanks!
    Is there also a way to know for shure that Item 3 = "Save" ?
    Can I read it, or select it with "Save" instead of 3 ?
  18. Re: How send keystroke or command to a minimized window?

    I managed to open the ALT-F menu, but I can't seem to find a way now to select any of the commands like "S" for save...


    Private Declare Function FindWindow Lib "user32" Alias "FindWindowA"...
  19. How send keystroke or command to a minimized window?

    Is there a way to send a keystroke like ALT-F or CRTL-S to a specific
    running program which window doesn't have the focus? So not with sendkey
    that only send a keystroke through the keyboards...
  20. Re: OLE method to save pdf as text using Acrobat reader?

    Well, actually you can save as text with Abode Reader 8 ;-)

    Only I don't know how to do this automated in the background using Excel or Outlook-VBA.

    I could use the shell-command and sendkey,...
  21. OLE method to save pdf as text using Acrobat reader?

    It seems there are no command line swithes in Acrobat Reader 8, so I need to find out how to write a OLE command.
    Can anyone provide me here with a OLE example?

    I'd like to save pdf as text...
  22. Replies
    5
    Views
    1,672

    Re: Split and crop jpg using black background

    Well, it has to be automated :(

    So how can I:
    1) Read a color of a specific pixel
    2) crop a image
    3) save it as a jpg
  23. Replies
    5
    Views
    1,672

    Re: Split and crop jpg using black background

    My project:
    I'm trying to automate Excel, putting all my bills, payments, invoices and shop-tickets into one sheet. When I click a line in the sheet the scanned jpg-image pops open.
    I've found a...
  24. Replies
    5
    Views
    1,672

    Split and crop jpg using black background

    I'm looking for a way to split and crop scanned images to smaller jpg's using a black background. This way I'd like to devide several shop-tickets scanned together as one jpg, into seperate...
  25. How get map of the shortcut running this *.vbs ?

    Hi,

    Is there a way to know the path of a shortcut-link that has called the running *.vbs script?

    Thanks !
Results 1 to 25 of 25



Click Here to Expand Forum to Full Width