AutoHotkey Community

It is currently May 24th, 2012, 9:52 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: February 10th, 2007, 12:42 am 
Offline

Joined: February 10th, 2007, 12:21 am
Posts: 5
I have try the following code:
Code:
:*:_c::_countof(),

OR

!c::
Send _countof()
return

OR
!c::
Clipboard=_countof(),
Send ^v
return

in the first code I have test it with SI*,SP* and SE*,
the second code with SendInput,SendRaw and SendPlay.
All the code works fine in any other window/application, but not in the Visual Studio 2005 editor window.

Any ideas?

regards
Peter


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 10th, 2007, 9:34 am 
Offline

Joined: December 27th, 2005, 1:46 pm
Posts: 6837
Location: France (near Paris)
Complains to Microsoft for not following their own rules?
It seems you tried most solutions. What Window Spy shows? Did you tried ControlSend, Control EditPaste? I doubt they can succeed, but who know?

_________________
Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 10th, 2007, 10:06 am 
Offline

Joined: June 6th, 2006, 3:19 pm
Posts: 1654
Location: Denmark
All three work on my VS2005 editor!?

_________________
RegEx Powered Dynamic Hotstrings
COM
AutoHotkey 2


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 10th, 2007, 11:10 am 
Offline

Joined: February 10th, 2007, 12:21 am
Posts: 5
Curio...
@Philho
I have try it with ControlSend/ControlSendRaw too amd ClassNN=VsTextEditPane1 , no result. :(

@tonne
Yes but not here, some ideas for the reason?

And it seems so that not only the editor pane not works, for example I can't execute a shortcut in the edit field from the searchdialog too.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 10th, 2007, 5:16 pm 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
Do you have the latest version of AutoHotkey?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 11th, 2007, 7:58 pm 
Offline

Joined: February 10th, 2007, 12:21 am
Posts: 5
I used 07 before now 08, no difference... :?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 12th, 2007, 11:15 am 
Strange...
I have Visual Studio 2005 Express edition.
Hotkeys with Send, hotstrings and others work in the edit pane.
Window Spy show strange things over the code: sometime it gives VsTextPane2 under the cursor, and sometime it gives semi-random control names (ListBox2, Static9, etc.).
But overall, it seems you have something fishy in your copy of VS2005, Lastwebpage. What is your system? Mine is WinXP Pro SP2.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 13th, 2007, 8:21 am 
Offline

Joined: February 10th, 2007, 12:21 am
Posts: 5
VS2005 Standard, Vista 32, could the OS the problem?
If yes, how? Hotkey works in all other applicons, therefore I thought some other things are wrong...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 13th, 2007, 11:08 am 
Vista might be the master word... It is known to be problematic for AutoHotkey, with its new security policies.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 13th, 2007, 11:50 am 
Offline

Joined: February 10th, 2007, 12:21 am
Posts: 5
cuiro, in my stupid opinon it should work, or not work, but the in only one application?

I have searched over and over again, Office 2007, the build in programs, some of them with the same security level, but only in the VS Editwindow Hotkey not worked, therefore I thought something is wrong with VS2005<->Autohotkey, but not Vista<->Autohotkey. :oops:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 13th, 2007, 11:53 am 
Well, I would say something is wrong with VS2005<->Vista<->Autohotkey...
Since it works on VS2005<->XP<->Autohotkey combination...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 13th, 2007, 11:57 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
I use AHK with VS all the time.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
PostPosted: April 5th, 2007, 7:56 pm 
Offline

Joined: December 24th, 2006, 12:54 am
Posts: 3
This is so frustrating!
I beleave I had it working at one point too!

Now working now, but works with all other apps/windows.

Please help.
Jim


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 6th, 2007, 5:44 pm 
Offline

Joined: April 6th, 2007, 5:16 pm
Posts: 12
Works OK for me in VS 2005. Running Windows 2k.

I know that Vista and VS 2005 didn't play well either. So maybe it's a Vista VS 2005 issue?

_________________
~ Eric D. Burdo


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: azure, BrandonHotkey, Cephei1, patgenn123, Xx7, Yahoo [Bot] and 68 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