AutoHotkey Community

It is currently May 26th, 2012, 9:05 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 40 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: July 12th, 2008, 1:55 am 
Offline

Joined: July 12th, 2008, 1:47 am
Posts: 12
Location: Australia
I am a new member, and couldn't find any post on this topic yet.

A new version of Notepad++ (5.0) has just come out and the autocomplete file format has changed from api to xml. So I have just spent a "few" hours converting from AHK Autohotkey.api to AHK Autohotkey.xml and would like to upload the new xml file for others to use.

How can I upload this file please?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 12th, 2008, 2:53 am 
Offline
User avatar

Joined: October 7th, 2006, 8:45 am
Posts: 3328
Location: Simi Valley, CA
Sticky: AutoHotkey.net upload and share your scripts online for free

_________________
Ternary (a ? b : c) guide     TSV Table Manipulation Library
Post code inside [code][/code] tags!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 12th, 2008, 2:56 am 
I think you go to AutoHotkey.net, but I'm not sure.
Yay, another Notepad++ user. :D
I just got through editing an xml file for syntax highlighting (it would highlight key words, but not if they were followed immediately by a comma).


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 12th, 2008, 5:15 am 
Offline

Joined: March 19th, 2007, 12:43 am
Posts: 532
nice, please share.
Red Hat Dude, that's what made me stop using comas in functions :roll: , i hate that bug.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 12th, 2008, 5:30 am 
Offline

Joined: June 26th, 2006, 6:14 pm
Posts: 1379
Location: USA
thats what immediately turned me off to Notepad++....I use SciTE

_________________
Image
ʞɔпɟ əɥʇ ʇɐɥʍ


Report this post
Top
 Profile  
Reply with quote  
PostPosted: July 13th, 2008, 4:26 am 
Offline

Joined: July 12th, 2008, 1:47 am
Posts: 12
Location: Australia
Have just uploaded AHK Autohotkey.zip (8.58 kb - which contains AHK Autohotkey.xml) to directory ludamo on AutoHotkey.net. Thanks.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 13th, 2008, 4:43 am 
Offline

Joined: April 18th, 2008, 7:57 am
Posts: 1390
Location: The Interwebs
Would you mind posting a link to make it easier for everyone to get to it?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 13th, 2008, 6:01 am 
Offline

Joined: June 26th, 2008, 3:58 am
Posts: 56
Here: http://www.autohotkey.net/~ludamo/AHK%20Autohotkey.zip


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 13th, 2008, 8:38 am 
Offline

Joined: April 10th, 2008, 10:08 pm
Posts: 111
Sorry, I've been busy lately. :)

Here's the xml file (I copied a bunch of text, added commas to the ends of commands, and pasted it back in the original file -- it works fine for me).
http://www.autohotkey.net/~redhatboy/whtbguserDefineLangfile.zip
http://www.autohotkey.net/~redhatboy/whtbguserDefineLangfile.7z

And one for those who prefer black backgrounds:
http://www.autohotkey.net/~redhatboy/blkbguserDefineLangfile.zip
http://www.autohotkey.net/~redhatboy/blkbguserDefineLangfile.7z

I prefer a black background myself. BTW, if you want to edit the colors, all you gotta do is open the xml file with a text editor. The colors are in hex format, and can be found at the bottom of the file.

_________________
I slit the sheet, the sheet I slit,
and on the slitted sheet I sit. ;~}


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 17th, 2008, 6:48 pm 
Offline

Joined: May 22nd, 2008, 12:57 am
Posts: 120
Am I the only one who gets whacky colors with a line like...
Code:
msgbox % Hi ; this text and all text after the % will appear orange because it
is waiting for the matching "%"

msgbox Uh Oh`, this whole line will appear orange in the editor now


Anytime you have a line with an unmatched %, everything gets screwed up as its waiting for the "%'s" matching pair.

Its really annoying. This is a problem for me with the default autohotkey Notepad++ script, but I'd love to have it fixed. Notepad++ is pretty much unusable to me without a fix, and I'm clueless about building a language file that resets the colors back to normal on the next line.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 18th, 2008, 3:57 am 
Lol, I didn't even know that other editors didn't have that problem. I've tried other editors before, but I've only used Notepad++ and PSPad since I've found AutoHotkey. (And I didn't think too much of PSPad at the time.)

I have no idea how to fix it, but I've grown too attached to Notepad++ to switch editors. :D
Maybe if I have time I'll try to figure it out next weekend (my nieces and nephews visiting, plus my new job, pretty much eat up all my time...)

Code:
msgbox % Hi ; % Quick Fix :)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 18th, 2008, 6:30 am 
Offline

Joined: May 22nd, 2008, 12:57 am
Posts: 120
I use PSPad all the time and have been shopping around for something different with collapsable code, but all that orange is really annoying and a dealbreaker. Thanks for putting in the effort.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 18th, 2008, 8:01 am 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
quick fix, look up the line
Code:
<Keywords name="Delimiters">%00%00</Keywords>
and delete the %00%00 bit so you have an empty delimiters. It stops the highlighting of %A_index% as well but I don't mind...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 1st, 2008, 12:58 pm 
Offline

Joined: August 1st, 2008, 8:50 am
Posts: 19
Location: South Africa
Sorry guys Im gonna ask a real n00b question now: how do I update the file if I copy in the new XML file I see nothing different? am I missing something?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 1st, 2008, 2:39 pm 
Offline

Joined: March 27th, 2008, 2:14 pm
Posts: 700
i was having the same problem myself. i would try to change syntax highlighting, and nothing would happen. frustrating!!

the problem is most likely that for your user, you need to use the %AppData% dir, not the program directory itself. try:

%Root%\Documents and Settings\%UserName%\Application Data\Notepad++\

:D

_________________
Scripts - License


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 40 posts ]  Go to page 1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Klark92, Stigg and 17 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