AutoHotkey Community

It is currently May 26th, 2012, 4:51 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 323 posts ]  Go to page Previous  1 ... 17, 18, 19, 20, 21, 22  Next
Author Message
 Post subject:
PostPosted: April 4th, 2009, 12:23 am 
Offline

Joined: December 30th, 2006, 4:13 pm
Posts: 132
Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 4th, 2009, 9:24 am 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
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 :wink:

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 4th, 2009, 6:12 pm 
Offline

Joined: December 30th, 2006, 4:13 pm
Posts: 132
Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
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 :wink:
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 4th, 2009, 6:37 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
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 FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 4th, 2009, 7:43 pm 
Offline

Joined: December 30th, 2006, 4:13 pm
Posts: 132
Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
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...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 13th, 2009, 10:29 pm 
Offline

Joined: April 10th, 2009, 4:14 pm
Posts: 26
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!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 3rd, 2009, 11:29 am 
Offline

Joined: July 31st, 2008, 10:27 pm
Posts: 336
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! :lol:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 3rd, 2009, 12:17 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Thanks.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 8th, 2009, 10:40 am 
Offline

Joined: November 20th, 2008, 6:00 pm
Posts: 72
Location: Thionville, France
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!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 8th, 2009, 12:48 pm 
Offline

Joined: March 10th, 2009, 10:13 am
Posts: 27
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")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 9th, 2009, 10:05 am 
Offline

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

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 10th, 2009, 5:52 pm 
Offline

Joined: February 11th, 2009, 2:23 pm
Posts: 142
Location: India
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!


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Thanks
PostPosted: January 2nd, 2010, 2:12 am 
This is a realy helpfull script..

Thanks a lot for the great works.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 23rd, 2010, 12:20 pm 
Offline

Joined: June 14th, 2009, 7:48 pm
Posts: 331
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 ???


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 23rd, 2010, 12:54 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
@awannaknow brillig had the exact same problem he solved it see his post here http://www.autohotkey.com/forum/post-323194.html#323194

_________________
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 ... 17, 18, 19, 20, 21, 22  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Rajat and 8 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