Pauletp Posted April 7, 2008 Posted April 7, 2008 Is it possible for AutoIt3 to detect the current active folder in XP explorer? or the directory or file which is highlighted in the current active folder in the XP explorer window? Many thanks for a tip.
d4rk Posted April 7, 2008 Posted April 7, 2008 (edited) @ScriptDir @StarupDir etc... etc... Edited April 7, 2008 by d4rk [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
herewasplato Posted April 7, 2008 Posted April 7, 2008 ...the current active folder in XP explorer? ...WinGetText will work - but only if you have the "Address Bar" turned on (showing). [Right mouse click on the menu bar and put a check by Address Bar.] ...and turn on the option to "Display the full path in the address bar." You get to that option via the Windows file explorer menu bar Tools > Folder Options > View (tab). You cannot reply on "Display the full path in the title bar" since will show only a limited number of characters. [size="1"][font="Arial"].[u].[/u][/font][/size]
Pauletp Posted April 7, 2008 Author Posted April 7, 2008 WinGetText works to get the path. Thank you. Is there also a way to "read" the text highlighted on the screen? In this case I want to read the file or folder which is highlighted (selected), but I suppose it could also be characters in a Word file. Many thanks for a tip.
herewasplato Posted April 8, 2008 Posted April 8, 2008 ...Is there also a way to "read" the text highlighted on the screen?In this case I want to read the file or folder which is highlighted (selected), but I suppose it could also be characters in a Word file...I'm not sure how to get the file/characters selected... maybe someone else can chime in. [size="1"][font="Arial"].[u].[/u][/font][/size]
martin Posted April 8, 2008 Posted April 8, 2008 I'm not sure how to get the file/characters selected... maybe someone else can chime in.Wouldn't Send("^c") work? Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
herewasplato Posted April 11, 2008 Posted April 11, 2008 Thanks martin - maybe:Send("{F2}^c") MsgBox(0, "", ClipGet()) [size="1"][font="Arial"].[u].[/u][/font][/size]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now