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 

[ARCHIVED THREAD] SciTE4AutoHotkey v2 Stable - Released.
Goto page Previous  1, 2, 3 ... 8, 9, 10, 11  Next
 
This topic is locked: you cannot edit posts or make replies.    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
CrazyCake
Guest





PostPosted: Mon Feb 15, 2010 5:20 pm    Post subject: Control 1 to 7 hotkeys being swallowed up by SciTe Reply with quote

Love the editor, but I'm having a problem.

I have another application that uses the shortcut Ctrl+7, but whenever SciTE is running, this shortcut fails to work. If I close SciTE, it works fine.

The problem seems to apply to Ctrl+1 through Ctrl+7.

It seems like SciTE is swallowing up those keys.

These keys seem to be bound to various tools in SciTE, but I can't find where to disable them. Not sure if that would fix my problem anyway.

The problem doesn't stop Autohotkey from receiving the shortcut, only other applications (or at least the one I'm using). For example, I have defined the following script:

Code:

$^7::
send ^7
msgbox test
return


The message box appears, but the send command still does not trigger the associated function in my app.
Back to top
stansult



Joined: 08 Aug 2009
Posts: 14

PostPosted: Fri Feb 19, 2010 8:54 pm    Post subject: thanks! Reply with quote

Guys, thank you very much for an awesome editor!
I use it a lot Smile

Btw, do you plan to add some features from Notepad++? I mean, many text-editor things are a bit more convenient there (for example, working with vertical selection blocks).
One more question - maybe i'm dumb, but i couldn't make SciTE4AutoHotkey v2 to remember my settings (e.g. uncheck Warp - it always checks it back)
Back to top
View user's profile Send private message
Guest






PostPosted: Sun Feb 21, 2010 3:34 am    Post subject: Re: Control 1 to 7 hotkeys being swallowed up by SciTe Reply with quote

CrazyCake wrote:
Love the editor, but I'm having a problem.

I have another application that uses the shortcut Ctrl+7, but whenever SciTE is running, this shortcut fails to work. If I close SciTE, it works fine.

The problem seems to apply to Ctrl+1 through Ctrl+7.

It seems like SciTE is swallowing up those keys.

These keys seem to be bound to various tools in SciTE, but I can't find where to disable them. Not sure if that would fix my problem anyway.

The problem doesn't stop Autohotkey from receiving the shortcut, only other applications (or at least the one I'm using). For example, I have defined the following script:

Code:

$^7::
send ^7
msgbox test
return


The message box appears, but the send command still does not trigger the associated function in my app.

control plus one of the following: 0,1,2,3,4,5,6,7,8,9
works fine for me....
Back to top
fincs



Joined: 05 May 2007
Posts: 1163
Location: Seville, Spain

PostPosted: Sun Feb 21, 2010 9:56 am    Post subject: Reply with quote

The Ctrl+NN issue has been fixed in the development build Smile

@stansult: SciTE uses configuration files (*.properties) instead of a GUI, so you have to edit the following line of AutoHotkey\SciTE\SciTEGlobal.properties:
Code:
# Wrapping of long lines
wrap=0
wrap.style=1
cache.layout=3
output.wrap=1
output.cache.layout=3
wrap.visual.flags=3
wrap.visual.flags.location=0
wrap.visual.startindent=4

_________________
fincs
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]
Back to top
View user's profile Send private message
Guest






PostPosted: Sun Feb 21, 2010 3:32 pm    Post subject: Disabling autocomplete in SciTE Reply with quote

Dear creator of SciTEA4AutoHotKey

Thank you for the program. However, I am having trouble configuring it. What most vexes me is my inability to disable the autocomplete. (I want to be able to type without a box constarly popping up!) Please advise. Thanks.

PS: This post should appear as written by user 'nj@uk'. But I can't get the board to work properly. .
Back to top
fincs



Joined: 05 May 2007
Posts: 1163
Location: Seville, Spain

PostPosted: Sun Feb 21, 2010 3:44 pm    Post subject: Reply with quote

You have to edit SciTE\ahk.properties in a similar fashion:
Code:
# Autocomplete and calltip settings
api.$(file.patterns.ahk)=
calltip.ahk1.word.characters=#$(chars.alpha)$(chars.numeric)$(chars.accented)$_@#
calltip.ahk1.ignorecase=1
calltip.ahk1.parameters.start= ,(
calltip.ahk1.parameters.end=)
calltip.ahk1.parameters.separator=,
autocomplete.ahk1.ignorecase=1
autocomplete.ahk1.start.characters=$(chars.alpha)$(chars.numeric)$(chars.accented)$_@#
word.characters.$(file.patterns.ahk)=$(chars.alpha)$(chars.numeric)$(chars.accented)$_@#

_________________
fincs
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]
Back to top
View user's profile Send private message
noise



Joined: 14 May 2009
Posts: 57
Location: UK

PostPosted: Sun Feb 21, 2010 4:23 pm    Post subject: Reply with quote

Hi.

Is there anyway to get SciTE4AutoHotkey to autocomplete with user created functions?

i.e. If I create a function Multiply(), have that appear in the autocomplete box that appears for normal ahk commands?
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Mon Feb 22, 2010 1:25 am    Post subject: Disabling autocomplete - thanks Reply with quote

Dear 'fincs'

That worked. Thank you. I would never have worked that out on my own.

Cheers

Nick
Back to top
Rad777



Joined: 05 Jul 2007
Posts: 65
Location: www.newfreethinker.com

PostPosted: Mon Mar 08, 2010 4:15 pm    Post subject: Lua & AHK Reply with quote

Lua & AHK

Anyone know how to get this working? Step by Step?

I went to the properites, added what I thought I needed and no go.

Is there a doc out there? Ty
Back to top
View user's profile Send private message
fincs



Joined: 05 May 2007
Posts: 1163
Location: Seville, Spain

PostPosted: Tue Mar 09, 2010 2:33 pm    Post subject: Reply with quote

Well, if you already have a working copy of AutoHotkey, why do you need Lua?
Maybe you are referring to the bundled AutoHotkey SciTE Lua script. If so, what exactly is your problem?
_________________
fincs
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]
Back to top
View user's profile Send private message
aobrien



Joined: 14 Feb 2008
Posts: 70
Location: Santa Clara, CA

PostPosted: Mon Mar 22, 2010 4:29 pm    Post subject: Reply with quote

fincs,

You are probably getting tired of hearing how awesome of an editor this is... but here it is again... this editor is awesome. BEST ONE I HAVE EVER USED!!!

Couple of questions:

1)Do you have some other documentation besides what is provided in SciTE.chm? It would be really nice not to have to read through 9 forum pages to see if my question has already been posted. It would also prevent you from having to answer the same questions multiple times.

2)Notepad++ has a couple of features that I would love in SciTEAutoHotkey:
a)In Notepad++, when you double click on a word it highlights all of the same words in the entire file (they call it Smart Highlighting). Can SciTEAutoHotkey do this?
b)In Notepad++, they have a way of specifying a custom fold parameter. Can SciTEAutoHotkey do this?

3)I read through all 9 pages and I didn't see if it was possible to add syntax for other languages.

4)Sometimes I want to be able to look at 2 different scripts side-by-side. Is this possible? If not, then, is it possible to make a second installation of SciTEAHK and have both run simultaneously (so that I can put them side-by-side)?

Thanks again!
aobrien
Back to top
View user's profile Send private message
XYZ



Joined: 20 Mar 2010
Posts: 224

PostPosted: Mon Mar 29, 2010 10:56 am    Post subject: Reply with quote

nice `n neat

just wanted to say this:
in the save as dialog for a new script, plz add "AutoHotKey Script (*.ahk)"

because each time i save a script i get the extension wrong and the syntax is not highlighted because of the wrong filetype

Laughing anyway, its a great contribution to AUTOHOTKEY Laughing
Back to top
View user's profile Send private message
fincs



Joined: 05 May 2007
Posts: 1163
Location: Seville, Spain

PostPosted: Mon Mar 29, 2010 3:50 pm    Post subject: Reply with quote

aobrien wrote:
1)Do you have some other documentation besides what is provided in SciTE.chm? It would be really nice not to have to read through 9 forum pages to see if my question has already been posted. It would also prevent you from having to answer the same questions multiple times.

Yes, there is: http://www.scintilla.org/SciTEDoc.html

aobrien wrote:
2)Notepad++ has a couple of features that I would love in SciTEAutoHotkey:
a)In Notepad++, when you double click on a word it highlights all of the same words in the entire file (they call it Smart Highlighting). Can SciTEAutoHotkey do this?

I think SciTE doesn't have that feature.

aobrien wrote:
b)In Notepad++, they have a way of specifying a custom fold parameter. Can SciTEAutoHotkey do this?

You mean the folding symbols at the left? Sure, just edit this portion of the SciTEGlobal.properties:
Code:
# Folding
# enable folding, and show lines below when collapsed.
fold=1
fold.compact=0
fold.flags=16
fold.symbols=put a number here, refer to the docs above
fold.on.open=0
fold.comment=1


aobrien wrote:
3)I read through all 9 pages and I didn't see if it was possible to add syntax for other languages.

The custom SciLexer.dll only has the AutoHotkey lexer. Due to the demand, SciTE4AHK v2.1 will readd the missing lexers.

aobrien wrote:
4)Sometimes I want to be able to look at 2 different scripts side-by-side. Is this possible? If not, then, is it possible to make a second installation of SciTEAHK and have both run simultaneously (so that I can put them side-by-side)?

This is not what you might have asked, but you can open both scripts and use the tabs at the top.

aobrien wrote:
Thanks again!
aobrien

No, thanks to you Smile

UMAR wrote:
in the save as dialog for a new script, plz add "AutoHotKey Script (*.ahk)"

SciTE doesn't seem to allow this. Anyway I'll add another hack to SciTE because this seems like a sensible feature.
_________________
fincs
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]
Back to top
View user's profile Send private message
Guest






PostPosted: Sun Apr 04, 2010 6:01 pm    Post subject: Installer sets wrong path for compile_ahk Reply with quote

The installer sets the path to %ahkInstallationDirectory%\compiler
But compile_ahk is installed to the root of the ahk installation directory this causes the compile button in scite and the compile with compile_ahk II context menu item to fail.
Back to top
fincs



Joined: 05 May 2007
Posts: 1163
Location: Seville, Spain

PostPosted: Sun Apr 04, 2010 7:35 pm    Post subject: Re: Installer sets wrong path for compile_ahk Reply with quote

Anonymous wrote:
The installer sets the path to %ahkInstallationDirectory%\compiler
But compile_ahk is installed to the root of the ahk installation directory this causes the compile button in scite and the compile with compile_ahk II context menu item to fail.


Whoops, thanks for reporting the bug.
_________________
fincs
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3 ... 8, 9, 10, 11  Next
Page 9 of 11

 
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