AutoHotkey Community

It is currently May 26th, 2012, 11:24 am

All times are UTC [ DST ]




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 73 posts ]  Go to page Previous  1, 2, 3, 4, 5

Do you use SciTE4AutoHotkey?
Yes, it's great! 70%  70%  [ 49 ]
I'm currently using a better editor (please describe the features) 11%  11%  [ 8 ]
It needs more features 11%  11%  [ 8 ]
No, I don't need/want 7%  7%  [ 5 ]
Total votes : 70
Author Message
 Post subject:
PostPosted: October 19th, 2008, 9:32 am 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
nonov wrote:
anyone know how can i fix the ahk.lua for calltips?
i uses space after every commas then the calltip dissapears Sad
it's very annoying to me, how can i prevent this?
i want to fix calltip behavior not to dissapear until the linebreak
help!!!


Another way to keep the ToolTip is to write "Loop , Parse" or "Loop Parse"

btw wrote:
there is an error in ahk.api.
Only Loop, [Count] is shown, but when you add a Space after each Loop in .\api\ahk.api, it will display a ToolTip for all Loops.

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 2nd, 2008, 10:48 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
I have played around with CallTips in SciTe and found a way to get them to work in right way.
I have changed ahk.api and ahk.properties and also added NumPut/NumGet/RegisterCallback to ahk.keywords.properties.

- It keeps showing CallTip even if you press Space.
- It will also mark current parameter in CallTip.
- I have also added description to each command and function that will be shown on second line in CallTip.

However there are 2 disadvantages:
1. Calltip will only work if you press {Tab} after your command or {(} after a function.
- This looks to be the only way to get CallTip to work correct.
- AutoHotkey accepts {,} + {Space} + {Tab} as first separator so using {Tab} will work as well.

2. CallTip is not shown automatically, not sure why.
- To show CallTip you need to press CTRL & SHIFT & SPACE.
- Use this code as workaround.
Code:
SetTitleMatchMode   RegEx
#IfWinActive   i)ahk\s.\sscite
~Tab::
   Sleep   100
   Send   ^+{Space}
Return


You need to replace following files:
.\SciTe\ahk.properties
.\SciTe\ahk.keywords.properties
.\SciTe\api\ahk.api

Additionally you have to enable Tabulators, press CTRL + SHIFT + I in SciTE.

Tell me what you think. :wink:


Last edited by HotKeyIt on November 18th, 2008, 6:20 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 8th, 2008, 4:51 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
Did anyone have a try?

Please give me some feedback. Thank you.

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 9th, 2008, 2:16 am 
Offline

Joined: May 3rd, 2007, 5:59 am
Posts: 24
In the default installation, the call tips function works oddly - at least for my coding style, and obviously for others in this thread also.

If comma placement is not exactly where it expects, the call tip disappears even while a syntactically correct line is still being coded.

One example...

Code:
Loop, 2

...loses the call tip as soon as the comma is typed.

Code:
Loop , 2

...is okay, but I don't like spaces before the comma.

A few other situations are also a bit flaky.

Leaving everything alone except for the following two modifications makes it perfect - at least for my coding style. Comma location is then not critical.

In file ahk.properties, make two mods...

1.

Change...
Code:
calltip.ahk1.parameters.start= ( ,

...to...
Code:
calltip.ahk1.parameters.start= ,(


2.
Change...
Code:
calltip.ahk1.parameters.end= )

...to...
Code:
calltip.ahk1.parameters.end=)


Best Regards,

LBJ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 9th, 2008, 2:40 am 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
LBJ wrote:
Leaving everything alone except for the following two modifications makes it perfect - at least for my coding style. Comma location is then not critical.
Works for me as well, but it does still not mark current parameter blue, or does it do for you?
Also the second line information and additional CallTips for commands like Loop, Gui, Menu... are very nice to have, at least it helps me a lot.

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Scite text color
PostPosted: November 19th, 2008, 1:39 pm 
Offline

Joined: August 27th, 2004, 2:57 pm
Posts: 36
Location: Montreal
Hi
I've tried Scite and like it a lot.
However, I would like to change the command parameters color which is really a very pale grey not very kind to my poor eyesight

e.g. #singleInstance force

The word force is very pale

I would like to have it a darker shade of grey maybe. You change what and where? In the SciteGlobal.properties maybe?

Any help would be appreciated.

TIA
Serge

_________________
When all you have is a hammer, everything starts to look like a nail !!!


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Scite text color
PostPosted: November 19th, 2008, 2:08 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
jondolar wrote:
Hi
I've tried Scite and like it a lot.
However, I would like to change the command parameters color which is really a very pale grey not very kind to my poor eyesight

e.g. #singleInstance force

The word force is very pale

I would like to have it a darker shade of grey maybe. You change what and where? In the SciteGlobal.properties maybe?

Any help would be appreciated.

TIA
Serge

You can change it in ahk.properties.

Code:
# Keyword - Directives
style.ahk1.14=fore:#008000,bold

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 19th, 2008, 2:44 pm 
Offline

Joined: August 27th, 2004, 2:57 pm
Posts: 36
Location: Montreal
Thank you for pointing me in the right direction.
I found that I have to change...
Code:
# Default (everything not below: spaces, untyped parameters)
style.ahk1.0=fore:#C0C0C0,bold

to do what I want

Would you know by any chance where I could find color codes besides the 16 basic colours in the AutoHotkey Help?

TIA

Serge

_________________
When all you have is a hammer, everything starts to look like a nail !!!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 19th, 2008, 3:25 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
jondolar wrote:
Would you know by any chance where I could find color codes besides the 16 basic colours in the AutoHotkey Help?

Search on google.

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 19th, 2008, 3:31 pm 
Offline

Joined: August 27th, 2004, 2:57 pm
Posts: 36
Location: Montreal
Yes, I already did and found all kind of ressources.
I'm sorry for my stupid question.

Reagards

Serge

_________________
When all you have is a hammer, everything starts to look like a nail !!!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 2nd, 2009, 1:25 pm 
Offline

Joined: October 15th, 2008, 5:29 pm
Posts: 42
So far i LOVE your work here, but i think that you should take a look at this post.

http://www.autohotkey.com/forum/topic9656.html

It could fir your work very well ^^

_________________
Mr. HappyDude


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 15th, 2009, 3:22 pm 
Offline

Joined: February 7th, 2009, 11:28 pm
Posts: 384
I love this editor, but 2 minor changes I'd like to make:

1. Get it to recognize the syntax for new line, `n, carriage return, `r, and so forth, so that the list box of commands wouldn't appear when I type them.

2. The toolbar sometimes gets in the way and blocks the code. I'd like to make it semi-transparent, and I'd like to be able to hide it or close it.

Any ideas how to do those?

_________________
Hardware: 1.8 GHz laptop with 4 GB ram, Windows XP/SP3
Software: Prevx, Privatefirewall, KeyScrambler.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 15th, 2009, 8:23 pm 
Online
User avatar

Joined: May 5th, 2007, 7:24 pm
Posts: 1240
Location: Seville, Spain
Hello, why are you posting in the old v1 thread? :P
Please post in this thread for the v2 version, SciTE4AutoHotkey v1 is no longer maintained.

Ah, and about the toolbar, I plan on making a *real* toolbar, but I have some serious problems with Windows 9x/ME compatibility :)

_________________
fincs
Highly recommended: AutoHotkey_L (see why) (all my code snippets require it)
Formal request to polyethene - I support the unity of the AutoHotkey community
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 73 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 10 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