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 

Best WordPad alternative for .rtf files

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> General Chat
View previous topic :: View next topic  
Author Message
automaticman



Joined: 27 Oct 2006
Posts: 322

PostPosted: Fri Jul 11, 2008 7:32 am    Post subject: Best WordPad alternative for .rtf files Reply with quote

What could be improved on WordPad

1. faster to open rtf files
2. the last windows size and position is saved (which is not saved in WordPad, at least here)

Are there any rtf editor alternatives you can recommend?
Back to top
View user's profile Send private message
Slanter



Joined: 28 May 2008
Posts: 259
Location: Minnesota, USA

PostPosted: Fri Jul 11, 2008 7:34 am    Post subject: Reply with quote

If you're looking to write a script, corrupt has a nice script that you could use.
_________________
Unless otherwise stated, all code is untested

(\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination.
Back to top
View user's profile Send private message Visit poster's website
automaticman



Joined: 27 Oct 2006
Posts: 322

PostPosted: Fri Jul 11, 2008 7:39 am    Post subject: Reply with quote

Thanks for the link. No I was not planning to write a script for this purpose. Only if there are no (better) alternatives I would try to write a script which remembers the last WordPad window size and position coordinates.
Back to top
View user's profile Send private message
Slanter



Joined: 28 May 2008
Posts: 259
Location: Minnesota, USA

PostPosted: Fri Jul 11, 2008 7:52 am    Post subject: Reply with quote

ah, you could create a script that you use to launch wordpad that would check it's position and sizing every few seconds and then automatically set those when you open it again... maybe something like
Code:
#singleinstance off
; Read Ini Data
IniRead, Width, ;...
IniRead, Height, ;...
IniRead, X, ;...
IniRead, Y, ;...
; Run word pad, get PID
Run, PathToWordpad,,, PID
; Wait for window to exist
WinWait, ahk_pid %PID%
; Resize/Move window
WinMove, ahk_pid %PID%,, X, Y, Width, Height
SetTimer, CheckPos, 5000
Return

CheckPos:
   ; Check if window exists
   IfWinNotExist, ahk_pid %PID%
   {
      ; Write width, height, x, y to ini file
      IniWrite, %X% ;...
      ExitApp
   }
   ; Get window position/size
   WinGetPos, X, Y, Width, Height, ahk_pid %PID%
return

_________________
Unless otherwise stated, all code is untested

(\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination.
Back to top
View user's profile Send private message Visit poster's website
automaticman



Joined: 27 Oct 2006
Posts: 322

PostPosted: Sun Jul 20, 2008 10:53 am    Post subject: Reply with quote

Now I am using this: http://www.xtort.net/xtort-software/qjot/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> General Chat 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