Danyfirex Posted November 2, 2015 Share Posted November 2, 2015 An alternative could be open the process read memory strings search for the name file that notepad tittle bar show. then good back till ":" + Disk letter. Maybe I'll write something when I got some free time.Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
KaFu Posted November 2, 2015 Share Posted November 2, 2015 Maybe this one's worth a try:http://www.codeproject.com/Articles/18975/Listing-Used-FilesOpenFileFinder.dll export:void GetOpenedFiles( LPCWSTR lpPath, OF_TYPE Filter,OF_CALLBACK CallBackProc,UINT_PTR pUserContext );If you call this function and pass a callback pointer, for each file handle that matches the input path, the callback function will be called. OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
JohnOne Posted November 2, 2015 Share Posted November 2, 2015 Problem is,from what I can gather from post #12 the OP wants to open wordpad, write something in it and without it being saved, to get the path of it.I don't see myself how that could possibly be done since the file does not even have a path yet. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
qwert Posted November 3, 2015 Author Share Posted November 3, 2015 from what I can gather from post #12 the OP wants to open wordpad, write something in it and without it being saved, to get the path of it.Not true. I only want the path and name of a normally-opened file! Link to comment Share on other sites More sharing options...
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