Fill marked down, up, left, right

Get help with the installation and running of the Agent Git or Agent SVN plug-ins. This section can also be used for posting comments, suggestions or submitting feature requests. Please do not post bug reports here. When in doubt post your question here.
Post Reply
petar12345
Posts: 26
Joined: Tue May 08, 2007 7:05 pm

Fill marked down, up, left, right

Post by petar12345 » Sun Jul 05, 2009 4:31 pm

Can You make Edit function FIll.
Fill down:
It will fill character from first line to down in marked area.

Fill right:
It will fil character from left column to right in marked area.

....

jussij
Site Admin
Posts: 2443
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Mon Jul 06, 2009 12:11 am

Hi Petar,
Can You make Edit function FIll.
Since Zeus is fully scriptable functions like these a very easy to write as a macro script ;)

The scripting functions that you will need to use are these:
  • get_marked_top
  • get_marked_bottom
  • get_marked_left
  • get_marked_right
For more information about these functions place the cursor on the function name and use the Zeus Help, Quick Help Current Word menu or open the Zeus help file and search the index for the function name.

A good example for something like this would be the numbers.lua macro found in the zScript folder.

This macro fills a marked area with incrementing numbers, so for example try running this function with a marked area defined.

There are also plenty of other scripting examples in the zScript folder ;)

Cheers Jussi
Last edited by jussij on Sat Mar 23, 2013 1:12 am, edited 1 time in total.

petar12345
Posts: 26
Joined: Tue May 08, 2007 7:05 pm

Post by petar12345 » Mon Jul 06, 2009 8:16 pm

Hi.
jussij wrote: A good example for something like this would be the numbers.lua macro found in the zScript folder.
Your suggestion help me a lot. :)
Thank You for answer.

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 1 guest