AutoHotkey Community

It is currently May 26th, 2012, 6:15 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 323 posts ]  Go to page Previous  1 ... 16, 17, 18, 19, 20, 21, 22  Next
Author Message
 Post subject:
PostPosted: October 6th, 2008, 3:59 pm 
Hey Guys.

I'm using ISense with Notepad++. It's fine, but when i use the "Comma Method" the Script adds the Command to the part i wrote already.
If I use the "Tab Method" all works well.

I hope you understand me, my English is not very well


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 7th, 2008, 1:39 am 
Offline

Joined: May 21st, 2007, 3:44 pm
Posts: 176
Location: USA
hmmm, me too, it just didn't dawn on me what was happening.

_________________
-------------
Scott Mattes
Image
My small, and slowly growing, collection of scripts.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 4th, 2008, 11:16 pm 
Offline

Joined: December 23rd, 2007, 7:47 pm
Posts: 62
Location: Austin
majkinetor, do you plan to implement the hot number feature (that you can insert desired word with number) that I suggested several month ago?

I really think that feature will come in handy. I was just wondering you said it will be implemented in the next release ... :)

Again, thanks you for work. I use Isense daily.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 6th, 2008, 1:39 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
It was idea when we get back to it. However, that part is rly not hard to implement, and since i can't say when/if that will happen, you should probably make some minor code changes yourself. You only need to instantiate 1-10 hotkeys while Info windows is active and on press, evaluate specific line.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Can't run Isense
PostPosted: December 6th, 2008, 6:04 pm 
Offline

Joined: October 7th, 2006, 4:50 pm
Posts: 3157
Location: MN, USA
freakkk wrote:


Perhaps this note could be added to the original post? It was a silly oversight on my part that my laptop was running an old version of AHK :roll: but I didn't find the answer until 16 pages into this thread. :?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 22nd, 2008, 7:20 am 
Offline

Joined: June 12th, 2008, 10:29 am
Posts: 52
Has anyone here managed to get 1.5.4 to work flawlessly with Notepad++ 5.0+?
I press F1 and ActiveGoTo doesn't show up
I press Ctrl+Space and the tooltip doesn't show up

When I type something though, it works well enough.
Any ideas?

I tried in EmEditor and it seemed to work, but then ActiveGoTo stopped working... and now it's not working.

I tried reading through the code, but it's very hard to figure out exactly where and what's going wrong...

Turning on trace didn't help explain the activegoto or help problems...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 22nd, 2008, 7:40 pm 
Offline

Joined: June 25th, 2008, 2:31 pm
Posts: 25
I must say that this is an awesome script. Very helpful for me because I'm constantly forgetting which parameter goes where and whether its a variable or text..


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 31st, 2008, 7:00 pm 
Offline

Joined: February 17th, 2008, 5:01 pm
Posts: 303
Hi, Maj and Freakkk,

I think that I may have found and fixed a bug for using Isense 1.5.4 with PSPad 4.5.3 (downloaded 2 months ago). Whenever I type, "msg," ISense changes that to "msgMsgBox, ". It also happens whenever I terminate any other command with a comma and is very frustrating because I often type out the full command and press a comma out of habit. (For example, I type, "gui," and get "guiGui, " even though I didn't need ISense to do anything at that point.)

The problem, I believe, lies in Isense_EEvaluate(pEndKey). The program does a "SendInput, ^+{left}" to select what you've already written and then spits out the full command on top of what it has selected in order to delete what you typed. However, when the terminating character is a comma, the command only selects (and later deletes) the comma. Therefore, adding the line,
Code:
  If (ISense_CurrentEditorTypeNum = 1 && pEndKey = ",")
    SendInput, ^+{left}

at line 415 fixed the problem for me.

Would you consider putting this fix into the main code? I'm not much of a programmer, so it took me about 2 hours to find it.

JoeSchmoe

To JoeMoeSchmoe: I must say that you have an awesome username. Very ego-boosting for me because I'm often forgetting how awesome mine is. ... Makes me smile whenever I see your posts.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 3rd, 2009, 2:24 am 
Offline

Joined: February 24th, 2005, 8:45 am
Posts: 278
When I run ISense, my ZoneAlarm Firewall asks if I want to let Autohotkey access internet (not exactly internet, its 127.0.0.1 aka localhost on a random port), nevertheless, I am not so crazy about opening random ports, and can't go through all the included scripts to find the part responsible for this (most probably a dllcall related to IE). Anyone has already found the specific part?

_________________
My small "thanks" to AHK in shape of these dedicated 3d images
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 3rd, 2009, 4:04 am 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
sosaited wrote:
When I run ISense, my ZoneAlarm Firewall asks if I want to let Autohotkey access internet (not exactly internet, its 127.0.0.1 aka localhost on a random port), nevertheless, I am not so crazy about opening random ports, and can't go through all the included scripts to find the part responsible for this (most probably a dllcall related to IE). Anyone has already found the specific part?

Ok so the problem happens because Majkinator uses the Load URL to navigate to a page in the helpfile it is implemented in 2 functions within the file ./includes/IE.ahk in functions
Code:
ISHelp_GetHelpPage( pCmnd )
and
Code:
ISHelp_Show(pX, pY, pCmnd)

and it is responisble for showing the helpfile matirial
you my try to make the following replacement
un tested but in theory should work just fine
I am certain that it will affect custom helpfiles adversly if you have implemented but the normal helpfile Should work this workaround will most likely break any links within the help file as well
Code:
ISHelp_Show(pX, pY, pCmnd)
...........
      FileRead,Url2LoadFile,%Url2Load%
      Doc:=Invoke(pdisp,"Document")
      Invoke(Doc, "write", Url2LoadFile)
      Invoke(Doc, "close")
      Release(Doc),VarSetCapacity(,0)
;~       IELoadURL( Url2Load ) this is the replaced code

.............
Majkinator may tell you I am totally wrong for some reason tho i havent totally digested some of his code and he quite a bit more advanced a programmer than I but I hope he doesnt mind me tryin to help on this one

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 3rd, 2009, 4:18 am 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
Scratch doing all fo that there is an easier solution
Code:
  if res =                                                 ;*** Standard AHK cmnd
    res := "http://www.autohotkey.com/docs/commands/" . pCmnd . ".htm"
instead of
Code:
  if res =                                                 ;*** Standard AHK cmnd
    res := "commands/" . pCmnd . ".htm"
in the function
Code:
ISHelp_GetHelpPage( pCmnd )
I have tested this and this works fine
as well it should always use port 80

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
PostPosted: February 11th, 2009, 6:24 pm 
Offline

Joined: August 25th, 2005, 9:40 pm
Posts: 129
JoeSchmoe wrote:
Hi, Maj and Freakkk,

I think that I may have found and fixed a bug for using Isense 1.5.4 with PSPad 4.5.3 (downloaded 2 months ago). Whenever I type, "msg," ISense changes that to "msgMsgBox, ". It also happens whenever I terminate any other command with a comma and is very frustrating because I often type out the full command and press a comma out of habit. (For example, I type, "gui," and get "guiGui, " even though I didn't need ISense to do anything at that point.)



I have the same problem with erroneous replication - using a different editor (TextPad) and a comma seems to show up regardless if wanted or not.

sometimes the first three letters are not fully replaced from the full text so the result is "msgsgBox"
________
Elite


Last edited by webber on February 11th, 2011, 5:56 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 12th, 2009, 1:45 am 
Offline

Joined: July 29th, 2005, 5:32 pm
Posts: 179
Sorry, I haven't been coding for a while now (unless you count the many "save my ass at work" type scripts I do..), but I plan to take a look at the issue & become active again on this project in April. I will send all that have replied recently a PM on any findings / updates I make on project.



I am speaking for myself in the above (of course) since this project is majkinetor's baby, and he is a much more efficient/quicker coder than me. :D

_________________
.o0[ corey ]0o.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 3rd, 2009, 5:58 pm 
Offline

Joined: December 30th, 2006, 4:13 pm
Posts: 132
Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
How do I turn Isense off?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 3rd, 2009, 6:52 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Donny Bahama wrote:
How do I turn Isense off?

Via a configurable hotkey, default Alt-E I believe.

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 323 posts ]  Go to page Previous  1 ... 16, 17, 18, 19, 20, 21, 22  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 12 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