Jump to content
Macro Express Forums

Window title - limit of 95 characters?


Recommended Posts

I'm using Repeat with Windows and getting all visible window names into a variable. Am I right that ME Pro captures only the first 95 characters? For deeply nested folders (such as C:\Documents and Settings\All Users\Application Data\Insight Software Solutions\Macro Express Pro) that's obviously insufficient.

 

--

Terry, East Grinstead, UK

Link to comment
Share on other sites

You are not right;-) It's Windows Explorer........................................

 

First off you have a non-standard option in Explorer. Normally one would not see the path in the window title. Secondly when I enable 'path in title' on my XP machine I view the window title as "C:\Documents and Settings\All Users\Application Data\Insight Software Solutions\Macro Express P" no matter how wide I make the window. When I do a Windows Repeat with MEP it displays the same thing. So it's not MEP that's limiting the window title to 95, it's Windows Explorer.

 

If you're using Explorer windows to gather path information or do file manipulations you might want to consider doing things with the MEP file manipulation commands instead. Using Explorer to manipulate file thru the UI is a not the best way IMHO.

Link to comment
Share on other sites

You are not right;-) It's Windows Explorer........................................

 

First off you have a non-standard option in Explorer. Normally one would not see the path in the window title. Secondly when I enable 'path in title' on my XP machine I view the window title as "C:\Documents and Settings\All Users\Application Data\Insight Software Solutions\Macro Express P" no matter how wide I make the window. When I do a Windows Repeat with MEP it displays the same thing. So it's not MEP that's limiting the window title to 95, it's Windows Explorer.

 

If you're using Explorer windows to gather path information or do file manipulations you might want to consider doing things with the MEP file manipulation commands instead. Using Explorer to manipulate file thru the UI is a not the best way IMHO.

 

OK, understood, thanks. Shame there's no MEP commands that go the extra mile and get the full path/filename. It's obviously accessible in Windows in various ways, such as from the Address bar.

 

My requirement is because my macro lists all the Explorer windows currently open, showing their full path/filename, position and size. It's working OK, but ideally I'd have liked to be able to copy/paste from it. As it stands, a few are cut short, like that example.

 

--

Terry, East Grinstead, UK

Link to comment
Share on other sites

OK, understood, thanks. Shame there's no MEP commands that go the extra mile and get the full path/filename. It's obviously accessible in Windows in various ways, such as from the Address bar.
The command is designed to return the window title and that is exactly what it does. I really don't understand why you're so bent on bashing MEP. Do me a favor. The next time you see something that's odd can you not jump to the assumption that it's MEP's fault? Please try to keep an open mind.

 

You might be able to find some VBScript that would return the path of the open Explorer windows. But this really is beyond the design scope of MEP. I mean how would it handle other windows? Would it return the path of every open Word Doc, Excel Spreadsheet, URL for every web page? That would be hugely complex as it would have to address every application out there in the world.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...