 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
flashkid_guest Guest
|
Posted: Mon Oct 06, 2008 2:59 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
ScottMattes
Joined: 21 May 2007 Posts: 173 Location: USA
|
|
| Back to top |
|
 |
rogal
Joined: 23 Dec 2007 Posts: 62 Location: Austin
|
Posted: Thu Dec 04, 2008 10:16 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Sat Dec 06, 2008 12:39 pm Post subject: |
|
|
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. _________________
 |
|
| Back to top |
|
 |
jaco0646
Joined: 07 Oct 2006 Posts: 3113 Location: MN, USA
|
Posted: Sat Dec 06, 2008 5:04 pm Post subject: Re: Can't run Isense |
|
|
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 but I didn't find the answer until 16 pages into this thread.  |
|
| Back to top |
|
 |
vixay
Joined: 12 Jun 2008 Posts: 51
|
Posted: Mon Dec 22, 2008 6:20 am Post subject: |
|
|
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... |
|
| Back to top |
|
 |
joemoeschmoe
Joined: 25 Jun 2008 Posts: 25
|
Posted: Mon Dec 22, 2008 6:40 pm Post subject: |
|
|
| 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.. |
|
| Back to top |
|
 |
JoeSchmoe
Joined: 17 Feb 2008 Posts: 303
|
Posted: Wed Dec 31, 2008 6:00 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
sosaited
Joined: 24 Feb 2005 Posts: 278
|
Posted: Sat Jan 03, 2009 1:24 am Post subject: |
|
|
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
 |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 3700 Location: Louisville KY USA
|
Posted: Sat Jan 03, 2009 3:04 am Post subject: |
|
|
| 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 _________________
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed; |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 3700 Location: Louisville KY USA
|
Posted: Sat Jan 03, 2009 3:18 am Post subject: |
|
|
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 _________________
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed; |
|
| Back to top |
|
 |
webber
Joined: 25 Aug 2005 Posts: 129
|
Posted: Wed Feb 11, 2009 5:24 pm Post subject: same problem - current version |
|
|
| 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 Fri Feb 11, 2011 4:56 am; edited 1 time in total |
|
| Back to top |
|
 |
freakkk
Joined: 29 Jul 2005 Posts: 179
|
Posted: Thu Feb 12, 2009 12:45 am Post subject: |
|
|
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.  _________________ .o0[ corey ]0o. |
|
| Back to top |
|
 |
Donny Bahama
Joined: 30 Dec 2006 Posts: 132 Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
|
Posted: Fri Apr 03, 2009 4:58 pm Post subject: |
|
|
| How do I turn Isense off? |
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|