Recent

Author Topic: Laz applications with sources  (Read 11181 times)

flamer0n

  • Guest
Laz applications with sources
« on: October 02, 2013, 09:39:35 am »
 Here are some Lazarus made applications (with sourcecodes) I want to share with those who want to learn Lazarus and FPC and/or use these apps if you find them useful :)

Hide My File - Utility for hiding/unhiding files in picture files
LazWinServiceMgr - WinUtility for managing windows services
Mp3FileRenamer - Utility for renaming Mp3 Files from ID3 Tag and vice versa
WinShaver - Windows Cleanup Utility
WordReplaceLZ - Utility that batch replaces words in text files
FPC Cross Compiler Maker - Dev Utility for Lazarus Developers for crosscompiler generation
LazProcessKiller - Utility for windows for killing win processes at given interval
LazFileTextSearch - Utility for full text search on plaintext,doc,pdf (doc&pdf use comobj) for Windows
LazWatchDog - Windows Utility that acts as a watchdog for processes and starts them if not running

« Last Edit: September 09, 2014, 11:50:16 am by flamer0n »

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Laz applications with sources
« Reply #1 on: October 02, 2013, 10:08:28 am »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Laz applications with sources
« Reply #2 on: October 02, 2013, 10:21:28 am »
FPC Cross Compiler Maker - Dev Utility for Lazarus Developers for crosscompiler generation
Do you have any suggestions/patches for the cross compilers in fpcup [1] by any chance :)

[1]
https://bitbucket.org/reiniero/fpcup
specifically
https://bitbucket.org/reiniero/fpcup/src
files like
m_win32_to_linuxarm.pas
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

flamer0n

  • Guest
Re: Laz applications with sources
« Reply #3 on: October 02, 2013, 10:33:54 am »
Quote
Do you have any suggestions/patches for the cross compilers in fpcup [1] by any chance :)

Oh I never knew this great tool existed, otherwise I wouldn't bother to publish this tiny helper for crossompiling I made for myself :) . I'll take a look into fpcup.

Thank you!

flamer0n

  • Guest
Re: Laz applications with sources
« Reply #4 on: October 04, 2013, 10:42:01 am »
added more to the list :), with sources of course...

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Laz applications with sources
« Reply #5 on: October 04, 2013, 12:08:22 pm »
@ flameron
Congratulations for this suite of utilities. And thanks for making them available to everyone. I'm glad to see the LazWinServiceMgr & LazProcessKiller. Most programmers often believe that such system utilities are best written in C/C++. I hope the WinShaver will evolve into something really useful on a par with say TuneUp Utilities, Glary Utilities or IOBit Advanced SystemCare which were all written in Delphi/C++ Builder.

Thanks again,

JD
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

flamer0n

  • Guest
Re: Laz applications with sources
« Reply #6 on: October 04, 2013, 12:46:55 pm »
 Nah, it's nothing special, I don't even remember why I started coding them :) , you can see the sources, they are all simple, but I thank Lazarus Team for making Lazarus available for everyone, because some programmers in some countries just can't handle high Delphi prices, which stops them to express what they got to 'say' with coding.

thank you

flamer0n

  • Guest
Re: Laz applications with sources
« Reply #7 on: October 14, 2013, 09:55:58 am »
O I forgot to let you know that custom paths for cleaning can be added to WinShaver like:

create a file (WinShaver.ini)

add sections as you wish, just let Ident be "Path" and value anything you want

example:

[WinTemp]
Path=C:\Windows\Temp

[FireFoxTemp]
Path=C:\Users\fshkodra.KS\AppData\Local\Mozilla\Firefox\Profiles

[ChromeTemp]
Path=C:\Users\fshkodra.KS\AppData\Local\Google\Chrome\User Data\Default
« Last Edit: October 14, 2013, 10:48:32 am by flamer0n »

BenJones

  • Full Member
  • ***
  • Posts: 121
Re: Laz applications with sources
« Reply #8 on: October 17, 2013, 01:20:22 am »
Hay Thanks for sharing your codes, they will indeed be us full to learn from.
I like Winshaver :)
When Your Dreams Come True.

flamer0n

  • Guest
Re: Laz applications with sources
« Reply #9 on: July 18, 2014, 09:37:33 am »
Just added another tool for full text search (with sources)

LazFileTextSearch for searching files based on their content. See the initial post.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Laz applications with sources
« Reply #10 on: July 18, 2014, 09:57:04 am »
Mostly Windows, eh? :'(

flamer0n

  • Guest
Re: Laz applications with sources
« Reply #11 on: July 18, 2014, 10:20:46 am »
yeah, mostly, sorry. I just made this tool yesterday because I needed a quick solution for something I was working on, and I work mainly on windows. This was the best I could come up with, and I didn't do much research to see if there are any available components for fpc/lazarus that can read office docs and pdf files :(

flamer0n

  • Guest
Re: Laz applications with sources
« Reply #12 on: July 18, 2014, 10:22:52 am »
Could it be possible to read text from PDF files using fpvectorial?

http://wiki.lazarus.freepascal.org/fpvectorial

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Laz applications with sources
« Reply #13 on: July 18, 2014, 11:13:54 am »
The wiki page says
 Read support for PDF files, supports compression, only reads the first page
but perhaps that's outdated?
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

flamer0n

  • Guest
Re: Laz applications with sources
« Reply #14 on: July 18, 2014, 12:33:59 pm »
I got it from SVN and tried the code in the wiki

Code: [Select]
    Vec.ReadFromFile(FileNameEdit1.Text, vfPDF);
    Vec.WriteToStrings(Memo1.Lines, vfGCodeAvisoCNCPrototipoV5);

It fails opening any pdf file I got here, it raises exception "Unsupported vector graphics format" , so it probably doesn't fully support PDF.


 

TinyPortal © 2005-2018