AutoHotkey Community

It is currently May 26th, 2012, 6:06 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: January 23rd, 2009, 2:46 am 
Offline

Joined: October 26th, 2008, 12:12 pm
Posts: 6
Hi, I've worked with both autoit v3 and autohotkey and I think autohotkey has something better. However, one thing I like in autoit v3 is the program( autoit) classify the scripts into text, function, variable by marking them different colors while the autohotkey scripts have no differences. If autohotkey can include this function, I think I will be much better. Thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 23rd, 2009, 3:42 am 
Online

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
what are you talking about? im lost.
syntax highlighting?
if so, search the forum for notepad++, notepad2, or many other notepad alternative with syntax highlighting.
a list of all supported notepad alternatives is located in: --install dir--\AutoHotkey\Extras\Editors

if this isnt what you mean, sorry :)

_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 25th, 2009, 4:34 pm 
Offline
User avatar

Joined: November 2nd, 2008, 4:23 pm
Posts: 2906
Location: 127.0.0.1
http://www.autohotkey.com/forum/viewtop ... ht=notepad
Like that?

Theres also a notepad++ custom build that I can't find but I use it for anything I do in AHK.

_________________
aboutscriptappsscripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 27th, 2009, 4:28 am 
Offline

Joined: October 26th, 2008, 12:12 pm
Posts: 6
Frankie wrote:
http://www.autohotkey.com/forum/viewtopic.php?t=37652&highlight=notepad
Like that?

Theres also a notepad++ custom build that I can't find but I use it for anything I do in AHK.

yeah, that right ^^, I want autohotkey is not just like a simple text editor. I should have a built-in dictionary. When we type, there will be some suggestions and as the example above, different scripts should be marked in different colors. If you have worked with autoit v3, you'll understand what i mean easily. Thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 27th, 2009, 6:08 am 
Offline

Joined: August 2nd, 2008, 12:31 am
Posts: 101
That's an IDE (Integrated Development Enviroment), and i'm sure we all want one. But there are a few, some are AHK driven, others are plugins for things like Notepad++.

_________________
Woot.

Please read forum etiquette


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 27th, 2009, 9:32 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7502
Location: Australia
Actually, the "dictionary" feature dungxvn describes is known as IntelliSense, Code Insight or simply Auto-Complete. There are at least two existing scripts that work with numerous editors:
Auto-complete and possibly parameter tooltips can be configured for Notepad++, but since I'm not a Notepad++ user you'll need to search the forums. Notepad++ also has a DBGp plugin, and therefore can be used to debug scripts running on AutoHotkey_L (my custom build of AutoHotkey).

I use SciTE, which has decent auto-complete, but it seems impossible to get parameter info to work for both commands and functions.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 27th, 2009, 10:55 am 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
Lexikos wrote:
I use SciTE, which has decent auto-complete, but it seems impossible to get parameter info to work for both commands and functions.


Image
Image
Image

Is this what you mean?
Try my modified files, the only disadvantage you need to use {Tab} instead of , download them here.
This is what I use to show CallTips by pressing {TAB}
Code:
#NoTrayIcon
#NoEnv

SetTitleMatchMode   RegEx


#IfWinActive   i)\sscite
~Tab::
   Send, ^+{Space}
Return
#IfWinActive

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 27th, 2009, 11:53 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7502
Location: Australia
HotKeyIt wrote:
the only disadvantage you need to use {Tab} instead of ,
I prefer not to use tab characters at all, let alone after every command. I'd sooner jump to the help file index via hotkey.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 6th, 2009, 3:07 pm 
Offline

Joined: October 16th, 2008, 7:08 pm
Posts: 6
You may want to look at the Lexer that AutoIt uses in SciTE to see how to make it work for AHK. What you are asking for is quite possible.

_________________
Stop asking for fish.

Ask to learn how to fish instead. You will never go hungry again...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 8th, 2009, 11:23 pm 
Offline
User avatar

Joined: May 5th, 2007, 7:24 pm
Posts: 1240
Location: Seville, Spain
A new version of SciTE4AutoHotkey dubbed "v2" that fixes the calltip problem and adds some new features is in the making. Check it out.

_________________
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 Reply to topic  [ 10 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: G. Sperotto and 4 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