ghost911 Posted April 18 Author Posted April 18 Yes, the code isn't finished yet. Thank you for the constructive feedback. I'll eventually work on reducing the size of the executable. Besides, I'll explore UPX as another solution to shrink its size. I'll update the code soon. thank you @AZJIO don't forget that I'm just an amateur coder argumentum 1
argumentum Posted April 18 Posted April 18 1 hour ago, ghost911 said: Besides, I'll explore UPX as another solution to shrink its size. In the days of floppy disks the size of the file was important but nowadays ( 2024 ) is not. Is better to skip compressing an exe unless for a corruption code feature. My 2 cents. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
AZJIO Posted April 21 Posted April 21 _TempFile -> TmpFile FileCreateShortcut -> CreateLink Trong 1 My other projects or all
ghost911 Posted June 17 Author Posted June 17 (edited) @argumentum in a sense you are right but I think that you have to have a broader vision a smaller code is also more readable is easier to maintain I realize over time it is quickly anarchy not to mention that optimizing it also makes it more efficient @AZJIO Thank you for your help to advance the project I add functions and more I want to create a git and add you to push code 😀 Edited June 17 by ghost911
AZJIO Posted September 5 Posted September 5 imitation GUICtrlSetResizing() Trong 1 My other projects or all
ghost911 Posted September 6 Author Posted September 6 (edited) @AZJIO Thanks for the function and small precision for the size of the executable since they change the compiler on purebasic the size of executables has greatly increase this is not my fault PureBasic has lost its charm; before, we had small-sized executables small update bug fix Edited September 6 by ghost911
AZJIO Posted September 7 Posted September 7 @ghost911 Use version 6.0.4, this is the latest version that creates a compact executable file and is supported on WindowsXP. Version 6.11 the minimum size of the compiled executable file starts at 250 kb. ghost911 1 My other projects or all
ghost911 Posted September 9 Author Posted September 9 apparently in the latest versions they reduced the size of the executable however I haven't tried this beta yet
Trong Posted October 31 Posted October 31 (edited) On 3/7/2019 at 1:33 AM, ghost911 said: PureBasic Code : ..................... IncludeFile "AutoitCoding.PB" Edited October 31 by Trong EULA Regards,
winkot Posted November 18 Posted November 18 There is no need to put AutoItX3_x64.dll in the compiled file?
ghost911 Posted December 4 Author Posted December 4 (edited) @winkot Hello no there is no need you have an example file in the archive update available with bug fix and nice little feature addition code update 05/12/2024 Edited December 5 by ghost911
AZJIO Posted December 5 Posted December 5 (edited) WinGetClassList expandcollapse popupEnableExplicit Structure winparam hwnd.i title.s text.s result.s EndStructure Procedure EnumWinProc(hwnd.l, *ptr.winparam) Protected title${256} ; буфер GetWindowText_(hwnd, @title$, 256) If Asc(title$) And title$ = *ptr\title PokeL(@*ptr\hwnd, hwnd) ProcedureReturn 0 EndIf ProcedureReturn 1 EndProcedure Procedure EnumChildProc(hwnd.l, *ptr.winparam) Protected class${256}, text${256} GetClassName_(hwnd, @class$, 256) If Asc(class$) If Asc(*ptr\text) GetWindowText_(hwnd, @text$, 256) If text$ = *ptr\text *ptr\result + class$ + #LF$ EndIf Else *ptr\result + class$ + #LF$ EndIf EndIf ProcedureReturn 1 EndProcedure Procedure.s WinGetClassList(title$, text$ = "") Protected ptr.winparam ptr\title = title$ ptr\text = text$ EnumWindows_(@EnumWinProc(), @ptr) If ptr\hwnd EnumChildWindows_(ptr\hwnd, @EnumChildProc(), @ptr) ptr\result = RTrim(ptr\result, #LF$) ProcedureReturn ptr\result EndIf EndProcedure Debug WinGetClassList("Untitled — Notepad") Edited December 5 by AZJIO ghost911 and argumentum 1 1 My other projects or all
ghost911 Posted December 10 Author Posted December 10 @AZJIO thank you for your help it's always nice to have support Update 10/12/2024 the code by adding new features with the addition of window imitation with api experimental code purebasic already has window management it's just for fun
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now