Jump to content
Macro Express Forums

Puzzle of folder name


terrypin

Recommended Posts

I'm writing what I thought would be a trivially easy macro, but I'm baffled at the outset. The start point is with a WinXP folder activated. I use the command

 

Variable Set String %T1% from Current Folder Name

 

But T1 is getting set to a folder that I don't even have open, namely C:\Program Files\Macro Express3 !

 

Even if I follow the above command immediately by a Text Display, T1 is shown to have this bizarre value.

 

--

Terry, East Grinstead, UK

Link to comment
Share on other sites

A folder you have open with Windows Explorer is not the Current Folder. The Current Folder is a hold over from the DOS days and is less and less often used by Windows programs. You can set the Current Folder using the Change Directory/Folder command.

 

Thanks Kevin. Meanwhile I tried 'Set Value to Topmost Window Title' and that did the job OK.

 

--

Terry, East Grinstead, UK

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...
×
×
  • Create New...