Results 1 to 4 of 4

Thread: active window

  1. #1
    yuhobebbho is offline Member
    Join Date
    Jan 2010
    Posts
    7
    Rep Power
    0

    Question active window

    Hi
    I am looking for a way to read/get the current active windows path.
    for a want to track and know the number of times a folder(this involving applications as well) is accessed.
    like when you use the ClipboardOwner to learn whenever something is copid to the system clipborad.
    Thanks in advance.

  2. #2
    Zack's Avatar
    Zack is offline Senior Member
    Join Date
    Jun 2010
    Location
    Destiny Islands
    Posts
    692
    Rep Power
    5

    Default

    This is not possible via Java. You can, however, call a native script and return the result. Something to look at for Windows would be VBScript... Mac OS, maybe AppleScript.

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Quote Originally Posted by Zack View Post
    This is not possible via Java. You can, however, call a native script and return the result. Something to look at for Windows would be VBScript... Mac OS, maybe AppleScript.
    ++

    Another Windows scripting language to consider is AutoIt V3.

  4. #4
    yuhobebbho is offline Member
    Join Date
    Jan 2010
    Posts
    7
    Rep Power
    0

Similar Threads

  1. How to find the active Window in Swing?
    By akcasoy in forum AWT / Swing
    Replies: 16
    Last Post: 06-26-2010, 06:33 PM
  2. How do i open JFrame in the same active window
    By Jkiller295 in forum AWT / Swing
    Replies: 35
    Last Post: 06-02-2010, 05:50 PM
  3. how to make window active and textfield focused
    By whwillisiv in forum New To Java
    Replies: 0
    Last Post: 04-28-2009, 05:06 AM
  4. Close Active Window (?)
    By dcnorman07 in forum New To Java
    Replies: 2
    Last Post: 10-03-2008, 06:55 PM
  5. Changing Active Window
    By jmHoekst in forum New To Java
    Replies: 1
    Last Post: 06-14-2008, 01:21 AM

Posting Permissions

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