AutoHotkey Community

It is currently May 26th, 2012, 7:21 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 323 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17 ... 22  Next
Author Message
 Post subject:
PostPosted: April 27th, 2008, 8:04 pm 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 28th, 2008, 4:26 am 
Offline

Joined: March 27th, 2008, 2:14 pm
Posts: 700
Thanks for the reference. :) 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. :D

_________________
Scripts - License


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 4th, 2008, 6:33 am 
Offline

Joined: December 23rd, 2007, 7:47 pm
Posts: 62
Location: Austin
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 :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 4th, 2008, 10:31 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Heh, sounds like very intereseting proposition. If ISense gets updates, this will be among them.

Thx.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 4th, 2008, 5:54 pm 
Offline

Joined: December 23rd, 2007, 7:47 pm
Posts: 62
Location: Austin
majkinetor wrote:
Heh, sounds like very intereseting proposition. If ISense gets updates, this will be among them.

Thx.


I cannot wait! :) Besides ISense, I'm using Dock and FavMenu daily and they are awesome. Thank you.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 19th, 2008, 3:57 am 
Offline

Joined: December 23rd, 2007, 7:47 pm
Posts: 62
Location: Austin
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 May 20th, 2008, 5:53 am, edited 3 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 19th, 2008, 12:01 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Thx for your input rogal.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 21st, 2008, 9:06 pm 
Offline

Joined: July 29th, 2005, 5:32 pm
Posts: 179
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: some questions!
PostPosted: May 22nd, 2008, 4:05 pm 
Offline

Joined: September 15th, 2006, 10:25 am
Posts: 567
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!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 22nd, 2008, 5:02 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 26th, 2008, 7:23 am 
Offline

Joined: December 23rd, 2007, 7:47 pm
Posts: 62
Location: Austin
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. :) 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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: doesn't compile ?
PostPosted: May 29th, 2008, 5:05 pm 
when I try to compile ISense.ahk for usage I get an error on line 2

#NoEnv

what should I do ????


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 29th, 2008, 5:32 pm 
Get the latest version of AutoHotkey?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 29th, 2008, 5:45 pm 
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 ?


Report this post
Top
  
Reply with quote  
 Post subject: extend Isense
PostPosted: May 29th, 2008, 7:50 pm 
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 ??


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 323 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17 ... 22  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Exabot [Bot], Stigg and 16 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