 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
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 11:23 pm Post subject: |
|
|
| Alt-E brings up the edit menu. Or am I supposed to do that from outside my code/text editor? Is there a hotkey for bringing up the settings? I guess I could go there and change the hotkey to shut it off. |
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
Posted: Sat Apr 04, 2009 8:24 am Post subject: |
|
|
I don't know, maybe you could try the obivious solution and rightclick on the systray icon for setup, on/off etc. Nah, that is probably too easy, never mind, better edit the INI file manually, much easier  _________________ AHK Wiki FAQ
TF : Text files & strings lib, TF Forum |
|
| 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: Sat Apr 04, 2009 5:12 pm Post subject: |
|
|
| HugoV wrote: | | I don't know, maybe you could try the obivious solution and rightclick on the systray icon for setup, on/off etc. | There IS NO systray icon. If you look at the code, you can see that it's configured not to show one. | Quote: | Nah, that is probably too easy, never mind, better edit the INI file manually, much easier  | Editing the INI(tialization) file won't help. I'd have to stop and restart in order for those changes to take effect. And since I have no idea out how to stop iSense (see post title) maybe now you can see my quandary. |
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
Posted: Sat Apr 04, 2009 5:37 pm Post subject: |
|
|
I just downloaded it, clean "install" so to speak and there IS A systray icon, sorry if you don't see it but it IS there. The first time you run it (or delete the current ini) it will pop up the config screen as shown on the first page of this thread. Are you sure you are talking about Isense and not any of the other intellisence scripts. As you can see in the screenshot on page 1, alt-e is the default hotkey to start/stop.
Edit: the icon is not de default green/white H but a black "arrow" with the letters IS, if you turn it OFF it displays an X in the icon. _________________ AHK Wiki FAQ
TF : Text files & strings lib, TF Forum |
|
| 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: Sat Apr 04, 2009 6:43 pm Post subject: |
|
|
| The icon definitely was /not/ there. I redownloaded/reinstalled, /THEN/ the icon was there. I shut it off, but I'm still getting popups in my editor. Must be the Intellisense I installed before discovering ISense. OOPS! Thanks for helping me figure out where to look. Now if I can just figure out how to turn THAT off... |
|
| Back to top |
|
 |
arrrghhh
Joined: 10 Apr 2009 Posts: 26
|
Posted: Mon Apr 13, 2009 9:29 pm Post subject: |
|
|
| I feel silly even asking this, but I love how this script functions... would it be possible to integrate a piece of it into my own? I have listboxes that you can obviously start typing in and it will do its best to go to the right entry - but something like this would be fantastic, user starts typing in the listbox and a dialog pops up with their options being narrowed with every keystroke - would this be possible? Again, this is a very elegant script that looks like it could have extremely far-reaching potential! |
|
| Back to top |
|
 |
Morpheus
Joined: 31 Jul 2008 Posts: 277
|
Posted: Thu Sep 03, 2009 10:29 am Post subject: |
|
|
majkinetor,
Thanks for a wonderful script.
I added some code to allow for support for the 5 different loop commands.
In ISense.ahk, I added:
| Code: | ; *********** Morpheus Added this code ***********
ThisWord := selection
StringLeft, TempVar, ThisWord, 4
If TempVar = Loop
ThisWord = Loop
selection := ThisWord
; *************************************************
;type the desired word (dynamic call)
ISense_SendSelectionMethod%ISense_CurrentSendLineMethod%( selection, cmndType ) |
And this:
| Code: |
ISense_CreateSyntaxArray( InCMDs ) ;*** MOD
{
local fullCmnd, cmnd, c, lastDict, params
; *********** Morpheus Added this code ***********
LoopCount = 0
I_LoopCmd1 := "Loop"
I_LoopCmd2 := "Loop_FilePattern"
I_LoopCmd3 := "Loop_Parse"
I_LoopCmd4 := "Loop_Read"
I_LoopCmd5 := "Loop_registry"
I_LoopParam1 := "[, Count]`n{`n ID := A_Index`n If var%A_Index% =`n break`n}"
I_LoopParam2 := "FilePattern [, IncludeFolders?, Recurse?]`n{`n FileName := A_LoopFileName`n FileFullPath := A_LoopFileLongPath`n FileRelativeDir := A_LoopFileDir`n command2`n}"
I_LoopParam3 := "Parse, InputVar [, Delimiters|CSV, OmitChars]`n{`n Line := A_LoopField`n command2`n}"
I_LoopParam4 := "Read, InputFile [, OutputFile]`n{`n Line := A_LoopReadLine`n command2`n}"
I_LoopParam5 := "HKLM|HKU|HKCU|HKCR|HKCC [, Key, IncludeSubkeys?, Recurse?]`n{`n RegName := A_LoopRegName`n RegType := A_LoopRegType`n command2`n}"
Sort, InCMDs
Loop, Parse, InCMDs, `n, `r
{
fullCmnd := A_LoopField
StringLeft, TempVar, fullCmnd, 4
If TempVar <> Loop
{ ; Directives have a first space instead of a first comma. Use whichever comes first.
c := ISense_GetNextDelimiter( fullCmnd, ",,," . A_Space )
if c > 0
{
StringMid cmnd, fullCmnd, 1, c-1
StringMid params, fullCmnd, c+1, 256
}
else {
cmnd := fullCmnd
params := " no parameters "
}
}
Else
{
LoopCount++
cmnd := I_LoopCmd%LoopCount%
params := I_LoopParam%LoopCount%
}
; ************************************************
|
And in IE.ahk, I added:
| Code: | if !initialised
{
ISense_m_SendMessage = commands/PostMessage
ISense_m_IfWinNotActive = commands/IfWinActive
ISense_m_IfWinNotExist = commands/IfWinExist
ISense_m_StringTrimRight = commands/StringTrimLeft
ISense_m_StringUpper = commands/StringLower
ISense_m__IfWinExist = commands/
; *********** Morpheus Added this code ***********
ISense_m_Loop = commands/Loop.htm
ISense_m_Loop_FilePattern = commands/LoopFile.htm
ISense_m_Loop_Parse = commands/LoopParse.htm
ISense_m_Loop_Read = commands/LoopReadFile.htm
ISense_m_Loop_registry = commands/LoopReg.htm
; ************************************************
|
I hope you find this useful, and that I didn't break anything!  |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Thu Sep 03, 2009 11:17 am Post subject: |
|
|
Thanks. _________________
 |
|
| Back to top |
|
 |
Yook
Joined: 20 Nov 2008 Posts: 70 Location: Thionville, France
|
Posted: Sun Nov 08, 2009 9:40 am Post subject: |
|
|
Hello!
This seems to be an interesting functionality, thank you for that.
However, I downloaded it and read some pages of this topic (not all but who would read 20 pages?) to try and find out why I didn't have any editors or methods listed in the setup panel (both Editor and Method boxes greyed out). I tried to add some methods listed in the early pages of the topic, but no luck.
Is it possible to put the methods by default in the release archives?
Thanks! |
|
| Back to top |
|
 |
hatchetman82
Joined: 10 Mar 2009 Posts: 26
|
Posted: Sun Nov 08, 2009 11:48 am Post subject: |
|
|
is camel-case auto completion on the todo list anywhere ?
when i say camel-case auto-completion i mean that when auto-completing a word things like MsB will auto-complete to MsgBox (any capital letter is considered the start of a "word" and can have any number of lower-case letter before it and it would still match).
my java IDE has that feature and it saves a lot of typing (you dont need to type a sizable prefix to get a small auto-complete list, you can type a few capital letters and things like "IWA" will complete to "IfWinActive") |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Mon Nov 09, 2009 9:05 am Post subject: |
|
|
| Yook wrote: | | However, I downloaded it and read some pages of this topic (not all but who would read 20 pages?) to try and find out why I didn't have any editors or methods listed in the setup panel (both Editor and Method boxes greyed out). |
They are now applied automatically after editor is detected (hence the grayed methods). You should still implement your method if it doesn't exist.
| Quote: | | camel-case auto-completion |
Thanks for giving me a keyword, I didn't know its called that way. No, its not on the to do list. Nothing is on to do list at the moment. However, script is rly greatly organised and implementing that yourself should be rly few hours task at most.
If/When some of us (freakkk or me) get back to this script we will add it. I am totally into "camel-case auto-completition"  _________________
 |
|
| Back to top |
|
 |
Montu
Joined: 11 Feb 2009 Posts: 142 Location: India
|
Posted: Thu Dec 10, 2009 4:52 pm Post subject: |
|
|
Hello majkinetor sir,
please make this script so that it can be used for normal typing as well.
like I save an ini file with all the regularly typed sentences, when when your script is running .. and when I type anywhere - then it gives me suggestion and autocomplition -just like those AHK command completion.
i tried my (n0ob) hand to modify your script to make it work but i can't figure a dime what to do.
so please please please kindly make a script for normal office work typing! |
|
| Back to top |
|
 |
Codo Guest
|
Posted: Sat Jan 02, 2010 1:12 am Post subject: Thanks |
|
|
This is a realy helpfull script..
Thanks a lot for the great works. |
|
| Back to top |
|
 |
awannaknow
Joined: 14 Jun 2009 Posts: 324
|
Posted: Sat Jan 23, 2010 11:20 am Post subject: |
|
|
When I launch it an error message says :
#Include file "includes\Setup_GUI.ahk" cannot be opened.
Just to see, I then launched Setup_GUI.ahk and had this error message :
Error: Call to nonexistent function.
Specifically: ISense_SetHotkies("off")
Line#
267: Hotkey,%ISense_Hotkey%,ISense_HotkeyHandlerDispatch,On UseErrorLevel
268: Hotkey,%ISense_onOffKey%,ISense_OnOffKeyHandler,On UseErrorLevel
270: IniWrite,%ISSetup_titleWord%,Config.ini,ISense,TitleWord
271: IniWrite,%ISSetup_minLen%,Config.ini,ISense,MinLen
273: IniWrite,%ISSetup_width%,Config.ini,Help,width
274: IniWrite,%ISSetup_height%,Config.ini,Help,height
275: IniWrite,%ISSetup_fontSize%,Config.ini,Help,fontSize
---> 307: ISense_SetHotkies("off")
308: ISense_GetConfig()
309: ISense_SetHotkies("on")
311: Gui,%ISHelp_Gui%:Show,x-10000 y-10000 NoActivate
312: ISHelp_SetFontSize( ISHelp_fontSize )
313: ISHELP_SetWindow( true )
314: ISHelp_Hide()
316: Gosub,ISSetup_Close
The program will exit.
What have I done wrong ??? |
|
| 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
|