Search found 65 matches

by aldrinjohnom
22 Oct 2020, 02:54
Forum: Ask For Help
Topic: DLLCall ; Function Extends something Help
Replies: 1
Views: 115

DLLCall ; Function Extends something Help

Hello Community, I have been working with dllcalls recently and I was able to use any microsoft api with dllcalls. So I decided to try it on a dll of a game called DOTA 2. According to dota 2 creator Valve and this source: https://developer.valvesoftware.com/wiki/Dota_2_Workshop_Tools/Scripting/API#...
by aldrinjohnom
16 Oct 2020, 07:23
Forum: Ask For Help
Topic: FileSelectFile still not support multiple Filter at dialog's "files of type" drop-down list Topic is solved
Replies: 17
Views: 2972

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

@aldrinjohnom Updated. You are an AHK god, thank you very much! Problem about SaveFile() and ChooseFile() are fixed. Now there is one issue regarding ChooseFolder(): image.png image.png When I select a "short" folder(mostly found at the left side of the "explorer") the function fails to get the dir...
by aldrinjohnom
16 Oct 2020, 06:56
Forum: Ask For Help
Topic: FileSelectFile still not support multiple Filter at dialog's "files of type" drop-down list Topic is solved
Replies: 17
Views: 2972

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

Hello @aldrinjohnom, Try again: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=53136&p=231879#p231879 . :wave: Thank you for responding to my request,This are the result: image.png image.png image.png Only one problem remains identical to all of them, the title shows weird looking character...
by aldrinjohnom
16 Oct 2020, 05:33
Forum: Ask For Help
Topic: FileSelectFile still not support multiple Filter at dialog's "files of type" drop-down list Topic is solved
Replies: 17
Views: 2972

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

Minimum requirements: AutoHotkey 1.1.29.01, Windows Vista. Required functions: DirExist(DirName) { loop Files, % DirName, D return A_LoopFileAttrib } ChooseFolder /* Displays a standard dialog that allows the user to select folder(s). Parameters: Owner / Title: The identifier of the window that own...
by aldrinjohnom
29 Nov 2019, 04:40
Forum: Ask For Help
Topic: static_cast<char> command for autohotkey
Replies: 3
Views: 480

Re: static_cast<char> command for autohotkey

;before: a += static_cast<unsigned int>(name ) << 24 ;after (to unsigned 32-bit integer): a += (name & 0xffffffff) << 24 ;for reference (to signed 32-bit integer): a += (name << 32 >> 32) << 24 maybe name[i] is equivalent to asc(substr(name,i-1,1)) ;============================== ;before: name += s...
by aldrinjohnom
28 Nov 2019, 16:47
Forum: Ask For Help
Topic: static_cast<char> command for autohotkey
Replies: 3
Views: 480

static_cast<char> command for autohotkey

Hello, I am trying to convert a C++ Script into Autohotkey script, But I do not know what is the autohotkey translation of static_cast<char>. Does anyone know what is the counterpart of this command on autohotkey? This is the code I am trying to convert from C++ to autohotkey: int get_id(string game...
by aldrinjohnom
23 Nov 2019, 04:53
Forum: Ask For Help
Topic: Number Sorting - Improper Array Sort Topic is solved
Replies: 8
Views: 1728

Re: Number Sorting - Improper Array Sort Topic is solved

"PROPER" way of sorting is best than doing an "IMPROPER" way. If you are having issues on some delimiters like space,tab,commas,etc. Use the "sort" function with "smart delimiter detection": array:=[1,2,4,23,42,5,-128,52,52,0,5,2,3,7,4] message= for index,value in array message.=value " " msgbox %me...
by aldrinjohnom
22 Nov 2019, 18:45
Forum: Ask For Help
Topic: Convert this C++ script to Autohotkey Script
Replies: 0
Views: 387

Convert this C++ script to Autohotkey Script

Hello, I am having trouble migrating this C++ script into autohotkey script: class Ccrc { public: void do_block(const void* data, int size); void init() { m_crc = 0; } int get_crc() const { return m_crc; } private: unsigned int m_crc; }; int crc_table[256] = { 0x00000000, 0x77073096, 0xee0e612c, 0x9...
by aldrinjohnom
22 Nov 2019, 18:29
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 820
Views: 494743

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

@aldrinjohnom save.on.timer=1 ...works well! Hi @rediffusion it's been a while, does that feature periodically: - save the Main Script File or - save a backup of the main file or - save the current text contents of the opened script session I read about save.on.timer and it says it saves the script...
by aldrinjohnom
17 Nov 2019, 01:37
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 820
Views: 494743

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

rediffusion wrote:
17 Nov 2019, 01:07
@aldrinjohnom

0Key maybe you can ask your question here?
I am not a member of that group. Maybe you can replace my side by requesting a "Periodic AutoSave Backup and AutoSave Session".
by aldrinjohnom
16 Nov 2019, 19:35
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 820
Views: 494743

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

:?: Is it possible to write a script in "AutoHotkey" because it can interact with any windows!? To send to the "Task Manager" and automatically complete the task ... That's unnecesary if we can create a SciTE built lua script(extensions) to do this. It's just... I code very bad when it comes to lua...
by aldrinjohnom
16 Nov 2019, 10:58
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 820
Views: 494743

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Save Session when closing the app You mean this: #~ If you set save.session, the list of currently opened buffers will be saved on exit in a session file. #~ When you start SciTE next time (without specifying a file name on the command line) the last session will be restored automatically. save.ses...
by aldrinjohnom
16 Nov 2019, 10:49
Forum: Gaming
Topic: Supposedly simple script only works half way.
Replies: 5
Views: 1501

Re: Supposedly simple script only works half way.

Sorry for the inconvinience, but english is not my first language so i might have phrased that wrong, ill try again. Since my first attempt was indeed to locate every single item(image) in the inventory with ImageSearch i soon stumbled upon the fact, and the old forum posts, that a simple ImageSear...
by aldrinjohnom
16 Nov 2019, 01:43
Forum: SciTE4AutoHotkey
Topic: AutoSave Session and Retrieve Session Extension
Replies: 0
Views: 3686

AutoSave Session and Retrieve Session Extension

OK, so I started this topic because I have seen a very interesting features of Notepad++ , sublime text , and cuda-text editor . They can retrieve the previous session of the script even if it was not saved. Example, When I am editing a text and it suddenly crashes or I closed it without saving it, ...
by aldrinjohnom
16 Nov 2019, 01:27
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 820
Views: 494743

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

OK, so when will the "Auto-Save, Auto-Backup, Save Session when closing the app" features will be added?

If it will not be added, are there any extensions like this already made?
by aldrinjohnom
16 Nov 2019, 00:57
Forum: Gaming
Topic: Supposedly simple script only works half way.
Replies: 5
Views: 1501

Re: Supposedly simple script only works half way.

It does indeed detect the correct image, tho by experienting with your nice piece for variation and false detection testing i stumbled across the fact that the way i implemented ImageSearch into my script it sometimes moves the mouse to a previous occupied item slot which had the right item and thu...
by aldrinjohnom
15 Nov 2019, 10:36
Forum: Gaming
Topic: Supposedly simple script only works half way.
Replies: 5
Views: 1501

Re: Supposedly simple script only works half way.

Hello fellow AutoHotkey-Community, ive just recently started looking into scripting/automation, so please go easy on me. I've wanted to write a simple script to automate some crafting process in Minecraft but it only works half way through. I'll try my best explaining what i expect from my script t...
by aldrinjohnom
15 Nov 2019, 10:07
Forum: Ask For Help
Topic: 2 scripts in 1 help
Replies: 5
Views: 514

Re: 2 scripts in 1 help

Hi i am new hotkey user and after i did a search and read i manage to make 2 identical scripts with different coordinates and pixelgetcolor. They run fine if i run them separate at the same time. i just need someone to guide me to the merge of these 2 scripts #SingleInstance, Force CoordMode, Mouse...
by aldrinjohnom
12 Nov 2019, 19:53
Forum: Ask For Help
Topic: FileSelectFile(Save) on Read-Only Files Topic is solved
Replies: 24
Views: 2996

Re: FileSelectFile(Save) on Read-Only Files Topic is solved

- However, the *Open* dialog does allow you to choose a read-only file, and doesn't show a warning. - So, perhaps the best approach is to use an Open dialog, and tweak the window title/Open button to say 'Save As' and 'Save'. I have never thought about that, What a clever Workaround! - The old-styl...
by aldrinjohnom
10 Nov 2019, 03:50
Forum: Other Utilities & Resources
Topic: Cudatext - editor
Replies: 4
Views: 3004

Re: Cudatext - editor

By default: If you have unsaved files and close the program it will ask you to a) save files, b) don't save but keep in session (so next time you open cudatext it will open those unsaved files again) or c) don't save. There are many plugins to extend the editor, it appears there is one for Auto Sav...

Go to advanced search