AutoHotkey Community

It is currently May 24th, 2012, 8:28 am

All times are UTC [ DST ]


Search found 13 matches
Search these results:

Author Message

 Forum: Support   Topic: Trying to Create Shift-F3 Case Changer Like Word

 Post subject: Maybe Better Source Code
Posted: December 8th, 2010, 10:31 pm 

Replies: 14
Views: 706


https://sourceforge.net/projects/shiftf3/ - this may be better sourcecode. However, I think the problem of losing previous text is not corrected.

 Forum: Support   Topic: Want to Make Automatic ImageMap Tracing Script w Pixelsearch

Posted: July 24th, 2010, 5:53 pm 

Replies: 1
Views: 593


Hi, I have a website where users can click on countries of the World and the imagemap executes javascript and PHP to color the countries or in the US map I have, colors the states. I use Wikipedia png grey maps: http://en.wikipedia.org/wiki/Wikipedia:Blank_maps#PNG_format . My site so far is here: h...

 Forum: Support   Topic: Performace Problems with the Shift-F3 Case Changer Script

 Post subject: Interesting Additions
Posted: March 23rd, 2010, 5:31 am 

Replies: 3
Views: 195


Interesting additions. After my initial post, I didn't update but except for the 100 sleeps I have tried before these lines in some configuration: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting direc...

 Forum: Support   Topic: Performace Problems with the Shift-F3 Case Changer Script

Posted: March 22nd, 2010, 5:00 pm 

Replies: 3
Views: 195


The shift-F3 Case Changer script worked on by None and me (mostly None) also using code from Laszlo, has performance problems. The topic started here:http://www.autohotkey.com/forum/viewtopic.php?t=55868&highlight=. The script is supposed to allow changing case of selected text with holding down...

 Forum: Support   Topic: Trying to Create Shift-F3 Case Changer Like Word

Posted: March 22nd, 2010, 12:17 pm 

Replies: 14
Views: 706


I added some code for preserving the clipboard text that I had found earlier. It appears to have first been suggested in the forum by Neobrew here: http://www.autohotkey.com/forum/viewtopic.php?t=23654, although for the experts or even an average programmer it's not too complicated I think. Anyway, ...

 Forum: Support   Topic: Trying to Create Shift-F3 Case Changer Like Word

 Post subject: Took Your Suggestion
Posted: March 20th, 2010, 8:08 pm 

Replies: 14
Views: 706


I took the suggestion. Here's the result: State=0 *F3:: If !GetKeyState("Shift","P") Return Send ^x StringReplace, Length, Clipboard, `r`n , `n, All Len:=strlen(Length) If State=0 Changed:=Invert(Clipboard) ;call the Invert function If State=1 Stringlower,...

 Forum: Support   Topic: Trying to Create Shift-F3 Case Changer Like Word

 Post subject: Excellent
Posted: March 20th, 2010, 4:20 am 

Replies: 14
Views: 706


Excellent, thanks so much. I'll try out yours and Laszlo's functions. This is super.

 Forum: Support   Topic: Trying to Create Shift-F3 Case Changer Like Word

 Post subject: Excellent!
Posted: March 19th, 2010, 11:25 pm 

Replies: 14
Views: 706


I was messing with it just including the built in ones and came up with this State=0 *F3:: If !GetKeyState("Shift","P") Return Send ^x StringReplace, Length, Clipboard, `r`n , `n, All Len:=strlen(Length) If State=0 Stringlower, Changed, Clipboard If State=1 Strin...

 Forum: Support   Topic: Trying to Create Shift-F3 Case Changer Like Word

 Post subject: Sorry Adobe Writer
Posted: March 19th, 2010, 9:44 pm 

Replies: 14
Views: 706


Brain Freeze :oops:

 Forum: Support   Topic: Trying to Create Shift-F3 Case Changer Like Word

Posted: March 19th, 2010, 5:37 pm 

Replies: 14
Views: 706


It turns out there is an issue with topic #2. In this code: PASTE: clipboard=%string% Send,^v StringLen,length,clipboard SetKeyDelay, -1 Send,{Shift Down} Send,{Left %length%} Send,{Shift Up} Return StringLen is counting the line returns as characters in for instance No...

 Forum: Support   Topic: Trying to Create Shift-F3 Case Changer Like Word

Posted: March 19th, 2010, 5:40 am 

Replies: 14
Views: 706


So #2 is fine for now, but #1 still needs taking care of :D, if anyone is in the suggestion spirit.

 Forum: Support   Topic: Trying to Create Shift-F3 Case Changer Like Word

Posted: March 19th, 2010, 5:37 am 

Replies: 14
Views: 706


This seems acceptable for now: PASTE: clipboard=%string% Send,^v StringLen,length,clipboard SetKeyDelay, -1 Send,{Shift Down} Send,{Left %length%} Send,{Shift Up} Return I tried fooling around with getting the carets X and Y position via A_CaretX and A_CaretY. Apparentl...

 Forum: Support   Topic: Trying to Create Shift-F3 Case Changer Like Word

Posted: March 18th, 2010, 11:44 pm 

Replies: 14
Views: 706


Hi, I'm trying to make a looping case changer like the one in MS Word. There if you hold down the Shift key and tap on the F3 key, it will cycle through setting the selection to lower case, upper case and Title case and then back to lower case on the fourth tap of F3. I have succeeded in doing simpl...
Sort by:  
Page 1 of 1 [ Search found 13 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group