Jump to content
Macro Express Forums

Get Filename


carlos

Recommended Posts

Hello,

 

I try to send mail with an attachment, this attachment is stored in,

C:\temp.

I don't know the file name of the attachment.

 

Because the *.* in the attachments tab from the send-email command is not supported,

I supose I have to get the name of the file first, put this name in a variable,

and then add this variable in the attachments add variable tab from the send-email command.

 

I can not figger out how to do this.

 

Hope you can help me.

 

regards carlos

Link to comment
Share on other sites

Hi, Try prompting to select file?

Is this what you mean?

<TVAR2:01:01:c:\temp\><TVAR2:01:09:Choose Filename for attachment><TBOX4:T:1:CenterCenter000278000200:000:here it isT1=%T1%>
Variable Set String %T1% "c:\temp\"

Variable Set String %T1% from File Name

Text Box Display: here it is

Best, Randall
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...