patgenn123 Posted July 12, 2008 Report Share Posted July 12, 2008 Hello! I have been looking around for this and maybe it's in the "control" section, but I am trying to get a specific desktop icon to gain "focus". When I say focus, I mean exactly like a mouse hovering over the icon long enough to darken it or single clicking it to "darken" the icon. Is there a macro to could do something like this? Thanks! -P Quote Link to comment Share on other sites More sharing options...
rberq Posted July 13, 2008 Report Share Posted July 13, 2008 Under Window Control, first Get Control (set it up in your macro by using the Get Control utility). Then Set Focus. I seem to recall that, in Help, there's a short tutorial using the Windows Calculator application that shows you how to do this. Quote Link to comment Share on other sites More sharing options...
patgenn123 Posted July 14, 2008 Author Report Share Posted July 14, 2008 Thanks rberg, I know about that, but how do you get it to set focus to an icon? I have a specific icon on the desktop to "focus", "darken" whatever you call it. -P Quote Link to comment Share on other sites More sharing options...
paul Posted July 14, 2008 Report Share Posted July 14, 2008 Assuming the icon is in a fixed location, can you not simply move the mouse to it and issue a single-click? Alternatively, issue a series of TAB commands and check the pixel colour at your specified location. Quote Link to comment Share on other sites More sharing options...
patgenn123 Posted July 17, 2008 Author Report Share Posted July 17, 2008 Paul, Thanks. To answer, no, it's not in the same location. The other part about tabbing won't do because it's a text file among many text files. What I want to do is find the file with "repeat with folder" and move the mouse there and focus by single click, but it looks like it ain't gonna happen unless I am missing something. Thanks! -P Quote Link to comment Share on other sites More sharing options...
paul Posted July 20, 2008 Report Share Posted July 20, 2008 Can you provide more detail on what you're trying to do, and what your environment looks like? From what I've read so far, your desktop appears to be populated with various icons representing text files. How do these icons and text files get created and deleted? What is the purpose of these icons? Assuming we can find a way for you to select one of these icons, what would you do next? What I want to do is find the file with "repeat with folder" and move the mouse there and focus by single click, but it looks like it ain't gonna happen unless I am missing something. Well, consider that all of your desktop icons are in one way or another represented in folders called C:\Documents and Settings\Username\Desktop where Username can be (at the very least) your username, or "All Users". And you could therefore certainly use the "repeat with folder" command on these subfolders. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.