AutoHotkey Community

It is currently May 27th, 2012, 10:20 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: July 2nd, 2007, 10:58 am 
Offline

Joined: October 9th, 2006, 8:19 pm
Posts: 236
Location: Finland
azure wrote:
... pastes:
Send {End}{Enter}^v


Very strange :?
I think ClipWait isn't needed if you use ^v. So remove it (or increase it's value :shock:).

_________________
Pekka Vartto


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 2nd, 2007, 11:04 am 
Offline

Joined: October 9th, 2006, 8:19 pm
Posts: 236
Location: Finland
Still some difficulties whith Greek: in WordPad the cursor goes "home" sometimes if those chars are in text :?

Edit:
svi wrote:
... the cursor goes "home"
or the caret, to be precise.
Slowing down the script seem to help :)

_________________
Pekka Vartto


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 20th, 2007, 9:11 pm 
Quote:
you don't need to use raw and also Greek chars gets copied like normally Smile


touche. xD


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 21st, 2007, 5:37 pm 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1019
it still doesnt work :(


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 21st, 2007, 8:08 pm 
Strange.. Well. I'm stumped.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 28th, 2007, 10:31 pm 
Offline

Joined: October 9th, 2006, 8:19 pm
Posts: 236
Location: Finland
azure wrote:
it still doesnt work :(

Could you specify, if you're still interested.

_________________
Pekka Vartto


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 29th, 2007, 12:30 am 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1019
yep, I am still interested, its a very useful idea imo

but I cant make it work, it still has the above mentioned behaviour


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 30th, 2007, 3:57 pm 
Offline

Joined: October 9th, 2006, 8:19 pm
Posts: 236
Location: Finland
This simple script seems to work for me in Notepad, Notepad++ and WordPad:
Code:
^y::   
Temp := ClipboardAll
Clipboard =
Send {End}+{home}^c{End}{Enter}^v
Clipboard := Temp
return


I've tested it with Greek keyboard layout (although Notepad++ shows áâøäåöãçéîêëìíïð;ñóôèùò÷õæ as 26, basic, "english" alphabets, not Greek).

I removed SetKeyDelay, -1, because the increased speed seemed to cause troubles, eg. strange habit to paste the content of the clipboard (although it's emptied!) instead of the current line.

It has one inconvenience: If you want to eg. triplicate a line, the Alt key has to be released in between not to send y, the hotkey.

_________________
Pekka Vartto


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, robotkoer and 69 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group