AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ISense 1.5.4
Goto page Previous  1, 2, 3 ... 13, 14, 15, 16, 17, 18  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
majkinetor!
Guest





PostPosted: Sun Apr 27, 2008 8:04 pm    Post subject: Reply with quote

Quote:
| = caret
IfWin|Exist, ahk_ .....

Thats wrong uage of the program and it happens with even mainstreem InteliSenses AFAIK. I dont see a reason for using ISense that way. It can be fixed but I dot consider that as a bug

Thx for Notepad++ method. I didnt test it but I beleive your word it works OK and I referenced it on first page.
Back to top
infogulch



Joined: 27 Mar 2008
Posts: 114
Location: KC, MO

PostPosted: Mon Apr 28, 2008 4:26 am    Post subject: Reply with quote

Thanks for the reference. Smile Yeah, I've been working with it for a while now, and it seems to work pretty good for npp.

Actually, after really using it, (instead of just checking it out) I never really came across a problem with the caret being in the middle of a word using ISense, so yeah, it's no big deal. Right, I wouldn't think of it as a bug either, ISense is just not desinged to work like that.

Thanks agian for making this, it's a great script and has helped me a lot already. Very Happy
_________________
Back to top
View user's profile Send private message
rogal



Joined: 23 Dec 2007
Posts: 51
Location: Austin

PostPosted: Sun May 04, 2008 6:33 am    Post subject: Reply with quote

majkinetor, what do you think of showing "hotnumbers" besides the words list?

ex)
1 play
2 play-by-play
3 playability

... and if I press a number, the coresponding word is inputted. I think it will make typing faster since you don't have to go back and forth to the arrow keys while typing.

ps 1. I'm using Isense for not only just autohotkey, but also for usual words and it is amazing Smile
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 3615
Location: Belgrade

PostPosted: Sun May 04, 2008 10:31 am    Post subject: Reply with quote

Heh, sounds like very intereseting proposition. If ISense gets updates, this will be among them.

Thx.
_________________
Back to top
View user's profile Send private message MSN Messenger
rogal



Joined: 23 Dec 2007
Posts: 51
Location: Austin

PostPosted: Sun May 04, 2008 5:54 pm    Post subject: Reply with quote

majkinetor wrote:
Heh, sounds like very intereseting proposition. If ISense gets updates, this will be among them.

Thx.


I cannot wait! Smile Besides ISense, I'm using Dock and FavMenu daily and they are awesome. Thank you.
Back to top
View user's profile Send private message
rogal



Joined: 23 Dec 2007
Posts: 51
Location: Austin

PostPosted: Mon May 19, 2008 3:57 am    Post subject: Reply with quote

Just in case if anyone is using Isense for usual typing just like me ..

If you want Isense to preserve the uppercas/lowercase at the first of a word, modify the following part:

Code:
   ;delete typed word
   cntDelete := StrLen(ISense_lastWord) + 1
   if pEndKey = Click
      cntDelete--
   Send, {Backspace %cntDelete%}   

   ;type the desired word

   Send, %ISense_selection% ;,%A_SPACE%


like the following:

Code:
   ;delete typed word
   cntDelete := StrLen(ISense_lastWord) + 1

   if pEndKey <> Click
      Send, {Backspace 1}   

   ;type the desired word

   ISense_selection_modified := SubStr(ISense_selection, cntDelete)
   sendinput {raw}%ISense_selection_modified%


The code is in the main ahk file and you can find it through searching ";delete typed word." (didn't change that part)

I have changed sendinput ... part since Isense did something weird before, maybe because I'm not using the standard keyboard layout.

What the changed code does is preserving all the characters you typed before you make a selection, instead of deleting them. In that way, if you want to make the first character uppercase, you can just type the character uppercase and it will be preserved after the word completion.


Last edited by rogal on Tue May 20, 2008 5:53 am; edited 3 times in total
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 3615
Location: Belgrade

PostPosted: Mon May 19, 2008 12:01 pm    Post subject: Reply with quote

Thx for your input rogal.
_________________
Back to top
View user's profile Send private message MSN Messenger
freakkk



Joined: 29 Jul 2005
Posts: 128

PostPosted: Wed May 21, 2008 9:06 pm    Post subject: Reply with quote

rogal wrote:
... and if I press a number, the coresponding word is inputted. I think it will make typing faster since you don't have to go back and forth to the arrow keys while typing.

rogal - That is a great idea! Result choices 1-9 could simply have # in front of them for easy selection. The only potential issue I can think of is how to handle if you are actually trying to enter a number. Imagine that one of your functions in your script contains a '2' & your actually trying to enter that number. How do you think ISense should handle it? Should it allow your '2' to pass through to your editor-- or should it instead send the second selection from your results?

Just curious on your thoughts... Wink
_________________
.o0[ corey ]0o.
Back to top
View user's profile Send private message
shajul



Joined: 15 Sep 2006
Posts: 19
Location: India

PostPosted: Thu May 22, 2008 4:05 pm    Post subject: some questions! Reply with quote

First of all, let me express my deepest gratitude for such a great script! Now i cant even think of writing a script without ISense!!
ISense works fine with my PSPad and has never given me any problems!

So i want to be updated on any new version.

I dont know if this has been asked before (search did not reveal anything), but..

1. Is this thread the home of ISense? If ISense 2 ever exists, will it have a separate thread?

2. The readme included in the download does not include a link to ISense! I wonder why?

Thanks again! Will be glad to b of any help to AHK community!
Back to top
View user's profile Send private message Yahoo Messenger
majkinetor



Joined: 24 May 2006
Posts: 3615
Location: Belgrade

PostPosted: Thu May 22, 2008 5:02 pm    Post subject: Reply with quote

1. Yes at the moment. It will be avialable on my site once I finish it.
2. No reason.

Thx for good words and ur support.
_________________
Back to top
View user's profile Send private message MSN Messenger
rogal



Joined: 23 Dec 2007
Posts: 51
Location: Austin

PostPosted: Mon May 26, 2008 7:23 am    Post subject: Reply with quote

freakkk wrote:
rogal wrote:
... and if I press a number, the coresponding word is inputted. I think it will make typing faster since you don't have to go back and forth to the arrow keys while typing.

rogal - That is a great idea! Result choices 1-9 could simply have # in front of them for easy selection. The only potential issue I can think of is how to handle if you are actually trying to enter a number. Imagine that one of your functions in your script contains a '2' & your actually trying to enter that number. How do you think ISense should handle it? Should it allow your '2' to pass through to your editor-- or should it instead send the second selection from your results?

Just curious on your thoughts... Wink


Thanks for your good words. I don't think that will be any issue, since I cannot come up with any word which has a number in beteen alphabet characters. Smile ISense only shows the selection window when you type some (usually 3) characters, so I don't think there should be any problem.

On the second thought, maybe when you do some coding you want to use number at the end of some variable names. But still it will be at the end of the word so there should be no problem.
Back to top
View user's profile Send private message
J_P
Guest





PostPosted: Thu May 29, 2008 5:05 pm    Post subject: doesn't compile ? Reply with quote

when I try to compile ISense.ahk for usage I get an error on line 2

#NoEnv

what should I do ????
Back to top
n-l-i-d
Guest





PostPosted: Thu May 29, 2008 5:32 pm    Post subject: Reply with quote

Get the latest version of AutoHotkey?
Back to top
Guest






PostPosted: Thu May 29, 2008 5:45 pm    Post subject: Reply with quote

n-l-i-d wrote:
Get the latest version of AutoHotkey?


thanks I updated my version.

I can run the script now.

I would like to use it with TextPad and applied "method2", but it doesn't allow me to do anything in the file.

I type 3 letters, hit ctrl-spacebar, it flickers and removes the three letter I just typed in.

any hints on what I'm doing wrong ?
Back to top
J_P
Guest





PostPosted: Thu May 29, 2008 7:50 pm    Post subject: extend Isense Reply with quote

I would like to have this work for other environments such as classic ASP.

I can create a new commands.txt file but how can I get Isense to point to the ASP.chm file ??
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3 ... 13, 14, 15, 16, 17, 18  Next
Page 14 of 18

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group