Creating a Template from Marked Block ?

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
amix
Posts: 49
Joined: Wed Aug 22, 2007 1:26 pm

Creating a Template from Marked Block ?

Post by amix »

Is it possible to mark a block and add it as a template to the current file-configuration ?

I would like to write a macro, that just does this, but I did not find any such command.
jussij
Site Admin
Posts: 2461
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Unfortunately there is no way to do this :(

The best you could do is a macro like this:

Code: Select all

function key_macro()
    screen_update_disable()
    MarkCopyEx()
    OptionsTemplates()
    screen_update_enable()
    screen_update()
end

key_macro() -- run the macro
This macro will present you with the template dialog but from there you will still need to paste the data into the template field to complete the template.

Cheers Jussi
amix
Posts: 49
Joined: Wed Aug 22, 2007 1:26 pm

Post by amix »

Ok. I am going to do it this way. Thanks.
Post Reply