Search found 17 matches

by aldrinjohnom
04 Aug 2018, 20:16
Forum: Ask For Help
Topic: FileSelectFile still not support multiple Filter at dialog's "files of type" drop-down list Topic is solved
Replies: 9
Views: 692

Re: FileSelectFile still not support multiple Filter at dialog's "files of type" drop-down list Topic is solved

How can I Return the selected filter of the gui on this code? You can use the GetFileTypeIndex method of the IFileDialog interface. Put this code inside the if block of IModalWindow::Show method . For the ChooseFile and ChooseFolder functions you must replace IFileSaveDialog with IFileOpenDialog . ...
by aldrinjohnom
04 Aug 2018, 03:34
Forum: Ask For Help
Topic: FileSelectFile still not support multiple Filter at dialog's "files of type" drop-down list Topic is solved
Replies: 9
Views: 692

Re: FileSelectFile still not support multiple Filter at dialog's "files of type" drop-down list Topic is solved

WOW! That is One way to go! this function creates the gui I wanted to generate. Now just one problem: How can I Return the selected filter of the gui on this code? R := SaveFile( [0, "save the file with your chosen extension"] ; [owner, title/prompt] , "" ; RootDir\Filename , {Text: "*.txt", Decumen...
by aldrinjohnom
01 Aug 2018, 07:54
Forum: Ask For Help
Topic: FileSelectFile still not support multiple Filter at dialog's "files of type" drop-down list Topic is solved
Replies: 9
Views: 692

Re: FileSelectFile still not support multiple Filter at dialog's "files of type" drop-down list Topic is solved

I'm not at home so I can not right now. My function does not have the same parameters order as FileSelectFile does. It also has two parameters that FileSelectFile does not have. In the description of each function there is a clear example of use. If you use v1, maybe someone else can rewrite it. If...
by aldrinjohnom
01 Aug 2018, 07:40
Forum: Ask For Help
Topic: FileSelectFile still not support multiple Filter at dialog's "files of type" drop-down list Topic is solved
Replies: 9
Views: 692

Re: FileSelectFile still not support multiple Filter at dialog's "files of type" drop-down list Topic is solved

Those functions are old and deprecated by Microsoft. I recommend using the IFileOpenDialog interface. Related: https://autohotkey.com/boards/viewtopic.php?f=5&t=23886&p=231331 . Can you translate this code into the function you are talking about: FileSelectFile,invfile,S24,,save the file with your ...
by aldrinjohnom
01 Aug 2018, 06:17
Forum: Ask For Help
Topic: FileSelectFile still not support multiple Filter at dialog's "files of type" drop-down list Topic is solved
Replies: 9
Views: 692

FileSelectFile still not support multiple Filter at dialog's "files of type" drop-down list Topic is solved

Hello to you all, I have researched all around the autohotkey forum about workaround on "FileSelectFile" to support this type of cases: at dialog's "files of type" drop-down list, there will be multiple filters like this : text(*.txt)|Document(*.doc)|Music(*.mp3)|Video(*.mp4) So at the FileSelectFil...
by aldrinjohnom
01 Aug 2018, 05:56
Forum: Ask For Help
Topic: FileSelectFile filter Topic is solved
Replies: 12
Views: 1532

Re: FileSelectFile filter Topic is solved

Thank you for the link. I will take a close look when I have the time. FYI: I use this (comdlg32.dll) successfully with AHK Ansi / AHK Unicode and AHK 64bit. ; tests Select_Font(0, Style, Name, Color) MsgBox, %Style%`n%Name%`n%Color% Select_Color(0, Color) MsgBox, %Color% ;-------------------------...
by aldrinjohnom
24 Jul 2018, 21:13
Forum: Ask For Help
Topic: Condition that a "WORD" is inside a Matched "algorithm" on RegExMatch Operation Topic is solved
Replies: 11
Views: 590

Re: Condition that a "WORD" is inside a Matched "algorithm" on RegExMatch Operation Topic is solved

Haystack := Clipboard ; use clipboard data for testing RegExMatch(Haystack, "`am)^\t{2}""5656""\R\t{2}\{\R" . "(?(DEFINE)(?'lines'\t{3}.*$\R))" . "((?P>lines)*" . "(\t{3}""used_by_heroes"".*$\R)" . "(?P>lines)*" . "(\t{3}""prefab"".*$\R)" . "(?P>lines)*|" . "(?P>lines)*" . "(\t{3}""prefab"".*$\R)" ...
by aldrinjohnom
24 Jul 2018, 02:11
Forum: Ask For Help
Topic: Condition that a "WORD" is inside a Matched "algorithm" on RegExMatch Operation Topic is solved
Replies: 11
Views: 590

Re: Condition that a "WORD" is inside a Matched "algorithm" on RegExMatch Operation Topic is solved

Thank you very much Datapoint for a very clear explanation, That was amazing. Those methods are overwhelming. But I am going to stick on 1st option you showed because loops makes slower results If it only loops 1 or 2 times it might not be so bad. I currently plan this regex to be inside a parsing ...
by aldrinjohnom
23 Jul 2018, 23:26
Forum: Ask For Help
Topic: Condition that a "WORD" is inside a Matched "algorithm" on RegExMatch Operation Topic is solved
Replies: 11
Views: 590

Re: Condition that a "WORD" is inside a Matched "algorithm" on RegExMatch Operation Topic is solved

; Note the first "5656" block does not contain "prefab" but the second one does. Haystack = (Join`r`n } "5654" { "name" "Belt of the Gleaming Seal" "prefab" "wearable" "creation_date" "2013-11-06" "image_inventory" "econ/items/phantom_assassin/lodas_pa_set__belt/lodas_pa_set__belt" "item_descriptio...
by aldrinjohnom
23 Jul 2018, 21:36
Forum: Ask For Help
Topic: Condition that a "WORD" is inside a Matched "algorithm" on RegExMatch Operation Topic is solved
Replies: 11
Views: 590

Re: Condition that a "WORD" is inside a Matched "algorithm" on RegExMatch Operation Topic is solved

Ok, so I currently am making a progress right now. I can now extract the contents of my desired section with "prefab": Haystack2= ( "5654" { "name" "Belt of the Gleaming Seal" "prefab" "wearable" "creation_date" "2013-11-06" "image_inventory" "econ/items/phantom_assassin/lodas_pa_set__belt/lodas_pa_...
by aldrinjohnom
23 Jul 2018, 17:19
Forum: Ask For Help
Topic: Condition that a "WORD" is inside a Matched "algorithm" on RegExMatch Operation Topic is solved
Replies: 11
Views: 590

Re: Condition that a "WORD" is inside a Matched "algorithm" on RegExMatch Operation Topic is solved

Haystack = (Join`r`n "5654" { "name" "NaN" "outline" "frost" {....sometext} } "5655" { "prefab" "destroyer" "summon" "analyzer" {....sometext} } "5656" { "name" "foul" "dream" "BSECE" {....sometext} } "5657" { "name" "solar" "function" "fire" {....sometext} } "5656" { "name" "sean" "prefab" "emeral...
by aldrinjohnom
23 Jul 2018, 11:09
Forum: Ask For Help
Topic: Condition that a "WORD" is inside a Matched "algorithm" on RegExMatch Operation Topic is solved
Replies: 11
Views: 590

Condition that a "WORD" is inside a Matched "algorithm" on RegExMatch Operation Topic is solved

Hello, I just started studying about Regular Expressions 3 days ago. This Regular Expression can give a very big help when searching strings with specific boundaries,ect. I am trying to Find a thing I called "Section" on a text file that I called "Database": This is the Database: "5654" { "name" "Na...
by aldrinjohnom
25 Apr 2018, 00:07
Forum: SciTE4AutoHotkey
Topic: SciTE4Autohotkey Autosave .ahk.bak or .session everytime I typed a letter
Replies: 0
Views: 693

SciTE4Autohotkey Autosave .ahk.bak or .session everytime I typed a letter

SciTE4Autohotkey has a great advantage on almost anything since its the most successful(not yet for me :mrgreen: ) Editor for autohotkey scripts. There is ONE feature I want to know if it exist on this application, the "autosave function of a backup file or a session" I have used Notepad++ for 2 yea...
by aldrinjohnom
24 Apr 2018, 23:41
Forum: Scripts and Functions
Topic: [Function] Add Tooltip/Tool tip (s) to any GUI control
Replies: 3
Views: 1477

Re: [Function] Add Tooltip/Tool tip (s) to any GUI control

Download Version: 1.0 With this function you can add (and modify/remove added) tool tips to any AHK GUI control. The function uses the Windows method of setting a control's tool tip so there's no message monitoring or extra labels required to add tool tips. Features: Add tool tips to any GUI contro...
by aldrinjohnom
24 Apr 2018, 23:33
Forum: Scripts and Functions
Topic: SciTE4AutoHotkey extension - Count occurrences of word
Replies: 48
Views: 8276

Re: SciTE4AutoHotkey extension - Count occurrences of word

Since "Count Occurence" is still not integrated to SciTE4Autohotkey. For those people who are still digging on the outcome of this post, haichen's download does not work anymore but instead I assembled all of their codes right away. Credits: haichen empardopo boiler download link: Count Occurence(ex...
by aldrinjohnom
24 Apr 2018, 23:29
Forum: Scripts and Functions
Topic: SciTE4AutoHotkey extension - Count occurrences of word
Replies: 48
Views: 8276

Re: SciTE4AutoHotkey extension - Count occurrences of word

cool! Where do you get a count number? I did exactly this and the count number does not show up on the status bar. As the Process Haichen said,you need to add this following code to you SciteUser.properties found at your %A_Documents%\Autohotkey\Scite\ folder. Dont forget the statusbar code in Scit...

Go to advanced search