Search found 289 matches

by JnLlnd
21 Jul 2017, 07:56
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 3006

Re: SciTE4ahk custom intellisense generator follow-up

@XeroByte: If you offer to debug using my script, here is the source file: https://raw.githubusercontent.com/JnLln ... sPopup.ahk
by JnLlnd
20 Jul 2017, 21:32
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 3006

Re: SciTE4ahk custom intellisense generator follow-up

I can't think why you're having this issue. Could you please try run the function on a .ahk file that only has a few test functions and see if it can index them? It works now with the following simple file including both labels and functions. Not sure what I was doing wrong before. But it still fai...
by JnLlnd
20 Jul 2017, 15:07
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 3006

Re: SciTE4ahk custom intellisense generator follow-up

Thanks. I tried with both formats (your is 1 and mine is 2) and only labels get indexed in user.ahk.api, no function.

; comments on 1
Test1Function() {
}

Test2Function()
; comments on 2
{
}
by JnLlnd
20 Jul 2017, 13:29
Forum: Scripts and Functions
Topic: [Lib] ObjCSV Library - Load/save CSV files to Objects and LV
Replies: 5
Views: 2817

Re: [Lib] ObjCSV Library - Load/save CSV files to Objects and LV

Hi! Another update for this reference page about ObjCSV. The library has been updated two times since my last post here: 0.5.9 2017-07-20 In ObjCSV_CSV2Collection, reverse change in v0.4.1 to import non-standard CSV files created by XL causing issue (stripping "=") in encapsulated fields with contai...
by JnLlnd
20 Jul 2017, 12:57
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 3006

Re: SciTE4ahk custom intellisense generator follow-up

@tank: How do you write your functions? My format is:

FunctionName()
; comment
{
}
by JnLlnd
20 Jul 2017, 10:50
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 3006

Re: SciTE4ahk custom intellisense generator follow-up

Now that I can run it, I found that it indexes the labels well. Unfortunately, no function was indexed. Anybody has the same issue?
by JnLlnd
20 Jul 2017, 10:28
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 3006

Re: SciTE4ahk custom intellisense generator follow-up

OK... I'm re-discovering my own SciTE setup! I'm running SciTE under the Program Files protected folder. And my user folder is located under my Documents folder: C:\Users\Jean\Documents\AutoHotkey\SciTE I succeeded by setting the default path in function BuildUserAhkApi as: BuildUserAhkApi(AhkScript...
by JnLlnd
20 Jul 2017, 09:49
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 3006

Re: SciTE4ahk custom intellisense generator follow-up

I have the same issue. The script cannot write the file user.ahk.api because it is located under the protected C:\Program Files\ folder (C:\Program Files\AutoHotkey\SciTE\user\user.ahk.api) Should SciTE be running in a not protexted folder (as the under "Documents")? And thank you XeroByte for your ...
by JnLlnd
18 Jul 2017, 10:54
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 3006

Re: SciTE4ahk custom intellisense generator follow-up

Hi, Now I just need to insert the RegEx, review the rest of the function and test. Any update on this? No pressure :-) I was just reminded to follow on this with you because of a webinar that Joe is giving this afternoon about SciTE and AHK. For those interested, you can register (free) here: https:...
by JnLlnd
13 Jul 2017, 07:02
Forum: Ask For Help
Topic: Receive .lnk file from Explorer Context menu
Replies: 3
Views: 481

Re: Receive .lnk file from Explorer Context menu

A follow-up to close this thread. I implemented this new context menu. ;-------------------------------------- ; ADD SHORTCUT ;-------------------------------------- [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\lnkfile\shell\Import Windows shortcut to Quick Access Popup menu] @="%lContextAddShortcut%" "Icon...
by JnLlnd
11 Jul 2017, 10:50
Forum: Ask For Help
Topic: Receive .lnk file from Explorer Context menu
Replies: 3
Views: 481

Re: Receive .lnk file from Explorer Context menu

Create another registry association for LNK files. Right-clicking a shortcut file will show the item above for the link itself as well as "Add File to Quick Access Popup Menu" for the target file. But having those two items in the menu may confuse the user. Thank you. This is an interesting approac...
by JnLlnd
10 Jul 2017, 17:52
Forum: Ask For Help
Topic: Receive .lnk file from Explorer Context menu
Replies: 3
Views: 481

Receive .lnk file from Explorer Context menu

Hi, The FileSelectFile has an option to retrieve the shortcut .lnk file itself instead of the target of the shortcut: 32 [v1.0.43.09+]: Shortcuts (.lnk files) are selected as-is rather than being resolved to their targets. This option also prevents navigation into a folder via a folder shortcut. htt...
by JnLlnd
04 Jul 2017, 10:42
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 3006

Re: SciTE4ahk custom intellisense generator follow-up

Thanks for the follow-up XeroByte :-) Can't wait to fill SciTE with all my functions defs !
by JnLlnd
27 Jun 2017, 09:16
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 3006

Re: SciTE4ahk custom intellisense generator follow-up

@Bobo: When posting this yesterday, I did not remember this "OTB" style had a name. Doing further research, I found my style is named Allman and is inherited from my Pascal coding early days :-)
by JnLlnd
26 Jun 2017, 22:47
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 3006

Re: SciTE4ahk custom intellisense generator follow-up

Thanks XeroByte. Glad to see you taking a look at it. And to see that PM works on this forum :-)

Jean
by JnLlnd
26 Jun 2017, 22:17
Forum: Ask For Help
Topic: SciTE4ahk custom intellisense generator follow-up
Replies: 32
Views: 3006

SciTE4ahk custom intellisense generator follow-up

This is a follow-up on this thread on the old (closed) forum: https://autohotkey.com/board/topic/111229-scite4ahk-custom-intellisense-generator/. I hope the OP XeroByte can see it here. @XeroByte: Joe Glines recently posted a video tutorial about your script (http://the-automator.com/personalizing-s...
by JnLlnd
24 Jun 2017, 13:36
Forum: Scripts and Functions
Topic: [Lib] ObjCSV Library - Load/save CSV files to Objects and LV
Replies: 5
Views: 2817

Re: [Lib] ObjCSV Library - Load/save CSV files to Objects and LV

Hi! Just an update for this page about ObjCSV. The library has been updated a few times since my last post here: 0.5.7 2016-12-20 In ObjCSV_CSV2Collection, if blnHeader is false (0) and strFieldNames is empty, strFieldNames returns the "C" field names created by the function. 0.5.6 2016-10-20 Stop t...
by JnLlnd
14 Jun 2017, 08:05
Forum: Ask For Help
Topic: Functions in an if statement with AND
Replies: 4
Views: 380

Re: Functions in an if statement with AND

Thanks for the reference to this very well done explanation. I should have search more.

BTW, this whole page worth read or re-read...
by JnLlnd
13 Jun 2017, 23:03
Forum: Ask For Help
Topic: Functions in an if statement with AND
Replies: 4
Views: 380

Re: Functions in an if statement with AND

Of course. Thanks for confirming.

Jean
by JnLlnd
13 Jun 2017, 22:01
Forum: Ask For Help
Topic: Functions in an if statement with AND
Replies: 4
Views: 380

Functions in an if statement with AND

Hi,

I'm pretty sure but I would like to confirm that, in the following example, FB will never ever get executed if FA returns false?

Code: Select all

if FA(1) and FB(2)
	MsgBox, true
return

FA(x)
{
	MsgBox, %x%
	return false
}

FB(x)
{
	MsgBox, %x%
	return true
}
Thanks.

Go to advanced search