Need little help in macro

Share your macros, knowledge, solutions, services, ...
Post Reply
Posts: 1
Joined: Mon Oct 23, 2017 10:42 am

Need little help in macro

Post by Svarainis » Mon Oct 23, 2017 10:56 am


I'm trying to build some macro program and here is what i need:
"Directory" variable is folder "Channel"
I have VARIABLE "Directory" saved to file. Then i want to load it:

But how to specify this line: <if_dir>("C:\ ********I need DIRECTORY VARIABLE here*** \Base","EXIST","")
In this example i need this line like this: <if_dir>("C:\Channel\Base","EXIST","") Every time folder "Channel" is different, so i can't simply put this line.

I'm tried this line, but it not works: <if_dir>("C:\%_vQuoteChar%Directory%_vQuoteChar%\Base","EXIST","")<#>

Thanks for help ;)

Posts: 6
Joined: Tue Apr 11, 2017 3:49 pm

Re: Need little help in macro

Post by jfusco » Thu Dec 07, 2017 3:12 pm

Try it this way instead

Code: Select all

Or just this,

Code: Select all

Remember, you have to put your variable name between the % symbols.

Post Reply