AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Text Editor: Moving cursor by clicking on ANY (x,y) coordin.

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
automaticman



Joined: 27 Oct 2006
Posts: 642

PostPosted: Thu Feb 25, 2010 3:13 pm    Post subject: Text Editor: Moving cursor by clicking on ANY (x,y) coordin. Reply with quote

Are there any text editors which support following:

No matter where you click with the mouse, even if on a new empty line a few lines below, it should move the cursor there ready to write there anything. This means the editor has to add automatically all the necessary tabs or space inputs to reach that coordinate location.

This would feel almost like writing text in any graphics application like Photoshop, only done in a text editor.

Using this method one could create e.g. maps of words.
Back to top
View user's profile Send private message
None



Joined: 28 Nov 2009
Posts: 3086

PostPosted: Thu Feb 25, 2010 7:31 pm    Post subject: Reply with quote

Something like this should work in most word prossesors (better is using a font where all Chars are same size)
Code:
^!a::
SendInput {Space 2000} ;Make alot of spaces
State:=0
Loop,
{
   Input, Var, L1 V ;this just waits for a keypress
   SendInput {Del} ; removes one space so things stay lined up
   If State
   Break
}
Return

^!b::State:=1
Back to top
View user's profile Send private message
fred



Joined: 01 Feb 2010
Posts: 230
Location: Netherlands

PostPosted: Fri Feb 26, 2010 10:13 am    Post subject: Reply with quote

Many editors do this in existing lines but not after end of file.
You could take a look at JAVE for making ascii drawings and when in text mode you can place text everywhere.
Red Crab is a calcuator but you can type a formula/text everywhere.
For something like this i would use Diagram Designer and put rectangles with text in it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group