Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Using "Name_of_macro" in a macro

JGoode
Advocate

Hello,

 

I am trying to create a link in a macro object that will open up an email with the subject already filled in with the name of the object. The problem I'm having is that the subject of the email is always the name of the macro instead of the object that is calling the macro. Is there a way to get the Name_of_macro request to use the object calling the macro instead?

 

thanks

ArchiCAD 17, 19, 21 and 23
Windows 8
1 ACCEPTED SOLUTION

Solution
Barry Kelly
Moderator

Have you tried ... n = REQUEST ("Name_of_main", "", main_name)

 

Barry.


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

View solution in original post

2 REPLIES 2

Solution
Barry Kelly
Moderator

Have you tried ... n = REQUEST ("Name_of_main", "", main_name)

 

Barry.


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

JGoode
Advocate

That works and makes much more sense now that you mention it! Thank you very much

ArchiCAD 17, 19, 21 and 23
Windows 8

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!