topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday April 25, 2024, 5:47 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - publicdomain [ switch to compact view ]

Pages: prev1 ... 7 8 9 10 11 [12] 13 14 15 16 17 ... 30next
276
Surprise release! (Not even I knew it would be finished today :))

Code: Autohotkey [Select]
  1. ; INIalaContro.ahk
  2. ; Made for: Contro
  3. ; Thread: https://www.donationcoder.com/forum/index.php?topic=52258.0
  4. ;
  5. ; Author: publicdomainvic
  6. ; License: CC0 1.0 Universal - Public Domain Dedication
  7. ; Website: https://publicdomain.is
  8.  
  9. ; Get folder
  10. Folder := RegExReplace(Folder, "\\$")
  11.  
  12. ; Open Launcher.ini for write
  13. file := FileOpen(Folder . "\\Launcher.ini", "w `n")
  14.  
  15. ; Write header
  16. file.WriteLine("[General]")
  17. file.WriteLine("numRows=25")
  18. file.WriteLine("numCols=9")
  19. file.WriteLine("[Titles]")
  20.  
  21. ; Set paths array
  22. pathArray := Array()
  23.  
  24. ; Loop files and folders
  25. Loop, Files, %Folder%\*.*, FD
  26. {
  27.  
  28. ; Split the path
  29. SplitPath, A_LoopFileLongPath, OutFileName, OutDir, OutExtension, OutNameNoExt, OutDrive
  30.  
  31. ; Process lnk and url
  32.         {
  33.         Case "lnk":
  34.                 FileGetShortcut, %A_LoopFileLongPath%, OutTarget
  35.                 file.WriteLine("Title" . A_Index . "=" . OutNameNoExt)
  36.                 pathArray.Push(OutTarget)
  37.         Case "url":
  38.                 IniRead, ExtractedURL, %A_LoopFileLongPath%, InternetShortcut, URL
  39.                 file.WriteLine("Title" . A_Index . "=" . OutNameNoExt)
  40.                 pathArray.Push(ExtractedURL)
  41.         Default:
  42.                 file.WriteLine("Title" . A_Index . "=" . OutNameNoExt)
  43.                 pathArray.Push(A_LoopFileLongPath)
  44.         }
  45. }
  46.  
  47. ; Print paths
  48. file.WriteLine("[Paths]")
  49.  
  50. ; Loop paths array for write
  51. for index, element in pathArray
  52. {
  53.     file.WriteLine("Path" . index . "=" . element)
  54. }
  55.  
  56. ; Close the file
  57. file.Close()
  58.  
  59. ; Advise user
  60. MsgBox Launcher.ini created!

INIalaContro.ahk file attached.

277
Vic,
Thats great. I have been thinking about this.  I can share the thoughts in the thread as soon as I see it.  I am  assuming you want to create it.

Feel free to express at ease! Thread @ RandomFilesApp - Play random files from a folder at random times.

We have some code to reuse from the sounds app --and what we don't have we create  :)

278
Made for sphere.

Requirements coming from: Re: IDEA: play random wav from a folder at random times.

Further requirements being compiled here :Thmbsup:

279
Space reserved for RandomFilesApp v0.1.0 release.

280
Program GUI is done:

ScreenAction_GUI.png

Thinking about the use case of green & red light detection. May need to have an option to skip every other detection.

1. First (base) = green.
2. Second (change) = red. Triggers action.
3. Third. Base again = green.
4. Fourth  (change) = red. Triggers action.

Option can be called "Skip odds". This alpha is the next release :)

281
Hi! RandomFilesApp pledged @ https://github.com/p...ain/random-files-app

Stay tuned for first ALPHAS, on its own thread :up:

282
Don't worry.

Hello & thanks! I'm doing, which is a better option! :)

Here's the result of the new AHK wrapper program:

Direct download: INIalaContro_v0-2-0.zip

GitHub release: https://github.com/p.../releases/tag/v0.2.0



Instructions:

Download AutoHotkey from https://www.autohotkey.com/download/ (AutoHotkey_1.1.33.10.zip)

Unzip.

Save the AHK script as "lnk.ahk".

autohotkey-folder.png

Open the program, then click on Settings/Configure lnk parser.

INIalaContro_v0-2-0-settings.png

Configure executable and script:

INIalaContro_v0-2-0-configure.png

Executable: AutoHotkeyU32.exe / AutoHotkeyU64.exe

Script file: lnk.ahk

Hit OK

Now use the main program window to browse to the directory where you want to generate the Launcher.ini file.

That's it. Enjoy!

283
Post New Requests Here / Re: BETTER Spotify Playlist Editor
« on: April 13, 2022, 10:54 PM »
The app is shaping & registered @ Spotify developer:
-publicdomain (April 08, 2022, 11:51 PM)

Hello! It's asking me for your Spotify account email to add you as one of the 25 users for development mode.

SpotEDIT_Add-new-user_Screenshot from 2022-04-13 23-48-34.png

Feel free to send it by PM or via publicdomainvicgmail.com

Thanks!

284
PublicDomainVic / Re: pdGet downloader
« on: April 13, 2022, 10:39 PM »
Thanks to user smaragdus for bringing this release back to the spotlight :Thmbsup:

User requirements are spread across several threads (to be consolidated here). First version pledged with youtube-dl support :)

285
PublicDomainVic / pdGet downloader
« on: April 13, 2022, 10:29 PM »
Space reserved for pdGet v0.1.0 release.

286
Now coding the AHK script ...
-publicdomain (April 13, 2022, 04:57 PM)

Done!

Code: Autohotkey [Select]
  1. FileGetShortcut, %1%, OutTarget
  2. stdout := FileOpen("*", "w")
  3. stdout.Write(OutTarget)

Release + easy-to-follow instructions next :)

287
... to use Autohotkey as the .lnk library while avoiding GPL issues.
-publicdomain (April 11, 2022, 04:32 PM)

Done! Now coding the AHK script to translate using FileGetShortcut & release :up:

288
N.A.N.Y. 2022 / Re: N.A.N.Y. 2022 pledge: pdGet downloader v1.0
« on: April 13, 2022, 04:53 PM »
It is April now and there are still no news about the release of pdGet.

Hi! Thanks for the "ping" :) There's only an incomplete ALPHA on my computer working as a GUI for youtube-dl.

Right now the PD project is a side project. I'm pledging a first release with only youtube-dl support to get things running (it has support for plenty of sites in the library).

Once we "fix" the funding part, I'm willing to devote full-time work hours to helping the fellows with my skills :Thmbsup:

We're getting there thanks to each new Patron coming on board! ...Our PD project for the win! :Thmbsup:

289
I really like this application.  Very cool!

I am curious how difficult it would be to make this so that it could open other types of files (video, audio, documents) or even from a list of links. I am using this as a reminder to stretch and exercise during the day.  The sound triggers me to refer to a list of stretches/exercises I have as various different files on my PC.   It would be nice for the file to be pulled up from a list of different exercises or stretches I have videos, jpegs of the exercises/stretches I am suppose to do.

Even better if I could track which stretches I have done in a spreadsheet, though that seems like a different program all together.  This is a great help, just wondering how easy it would be to tweak to my use case.     

Glad you're liking it!  :)

How about creating that new app to fit your brainstormed requirements?

Most importantly: would you like a specific app for exercises or a generic "run random files" program (with spreadsheet reporting). I'm fine with any one you choose since it's basically the same app :up:



P.S: This Random Sounds app does have an update due albeit not related to expanding it to other file types. i can reasonably code some more apps before next newsletter from our PD project.

290
P.S. I'm aware of AHK's FileGetShortcut.
-publicdomain (April 11, 2022, 04:01 PM)

Okay! I'm currently modifying the program to use Autohotkey as the .lnk library while avoiding GPL issues.

Let's try again to get this from 99% to 100% to finish the job & call it a completed release :Thmbsup:

291
P.S. I'm aware of AHK's FileGetShortcut.

It is possible to use AHK as a link library of sorts yet due to licensing issues I usually avoid the GPL license covering AHK. I prefer MIT or other more-permissive license, given I release code with CC0 Universal myself...

In all honesty, a traditional AHK script serves Contro better in terms of simplicity :)

292
Hello! Just wanted to mention the reason this is unsolved is simple: I don't have Visual Studio on my Linux development computer. This is one of the edge cases where no library did the job.

Sorry to Contro (We tried to make things work using VS on his Machine via PM). The program is 99%, only need a developer to follow the instructions on:

https://stackoverflo...t-of-shortcut-folder

Sincere apologies! I don't know when I am going to have a Windows 10 development computer again... for the time being, I am doing as much as I can to be helpful to the DC community with my Linux / Windows 7 setup.

Thanks!

293
PublicDomainVic / Re: [DEV] IMDBfetch => OMDbFetch
« on: April 10, 2022, 06:59 PM »
BTW, "OMDb fetch" is a possibility with 1000 daily uses.
-publicdomain (April 09, 2022, 12:39 AM)

Pledged @ https://github.com/p...blicdomain/omdbfetch :Thmbsup:

IMDBfetch actually has a good async "skeleton"/foundation to be back-ported to BGGfetch and now OMDbFetch  :)

295
Given the nature of the app & requirements, we'll tackle three modes on the program:

* Whole desktop coordinates.
* Single-window coordinates.
* Webcam feed capture.

First ALPHA version comes with whole desktop processing :)

296
PublicDomainVic / Re: [💻] IMDBfetch - Alphas, Testing & Reports
« on: April 09, 2022, 12:39 AM »
Awaiting confirmation from Jesse/Mouser to move this from ALPHA to v0.1 branch dedosarriba.png

BTW, "OMDb fetch" is a possibility with 1000 daily uses.

Screenshot from 2022-04-09 01-34-39.png

(...no idea about actual users' usage for our PD releases though silbar.gif)

297
Post New Requests Here / Re: BETTER Spotify Playlist Editor
« on: April 08, 2022, 11:51 PM »
Holy crap. seriously!

Indeed. The app is shaping & registered @ Spotify developer:

SpotEDIT - Screenshot from 2022-04-09 00-13-42.png

Found a promising API endpoint for liked songs: /v1/me/tracks

Now I must add your Spotify account manually. While it's on development mode, addition is reversed. i.e. instead of the user adding the app, the developer adds the users.

API examples are mostly Node-based (javascript), so perhaps this ends-up being a web app for you to host. The following days are key to determine things out. Best thing: your requirement is doable and it's being done :)

298
Post New Requests Here / Re: BETTER Spotify Playlist Editor
« on: April 08, 2022, 11:11 AM »
Hi there! Trying to get you first alpha in the next following days :Thmbsup:

I'm doing things "by the book" first (Spotify developer account, traditional web API library).

Update(s) to follow :)

299
GingerTG ALPHA 2022-04-06 is here:

▶ Direct download: GingerTG_v0-1-ALPHA20220406-0.zip

🏷 GitHub tag: https://github.com/p...v0.1-ALPHA20220406.0

I was just thinking plain text.

Great! Text is simply wrapped in a "p" element.



Do notice this is aiming to be a Telegra.ph API client + account manager.

If you just want an API client, we can keep it lean (i.e. no Database, just plain ol' manual argument passing).



Some examples.

Create account:

GingerTG.exe -a createAccount -s "GingerTG short name"

Create page:

GingerTG.exe -a createPage -k b968da509bb76866c35425099bc0989a5ec3b32997d55286c657e6994bbb -t "Page by GingerTG" -n "GingerTG.exe" -c "This is some sample content." -r true

Edit page:

GingerTG.exe -a editPage -k b968da509bb76866c35425099bc0989a5ec3b32997d55286c657e6994bbb -p Page-by-GingerTG-04-07 -t "Edited title" -n "New Ginger" -c "NEW & improved content here." -r true



It returns info on success:

Screenshot from 2022-04-06 23-42-18.png

This is the first ALPHA hence it's in a very malleable stage.

Please inform on what's your goal with the program; we can surely get you there! :Thmbsup:

300
PublicDomainVic / Re: SpotEDIT - Custom Spotify playlist editor
« on: April 05, 2022, 07:19 PM »
SpotEDIT - Custom Spotify playlist editor

Code repository: https://github.com/publicdomain/spotedit

Original thread: BETTER Spotify Playlist Editor.



Requirements:

I'm looking for an editor that can:
Edit the "Liked Songs" playlist
Sort by Genre
Allows multiple select to move a lot of songs at once to a new playlist



First version pledged for this month (April).

Pages: prev1 ... 7 8 9 10 11 [12] 13 14 15 16 17 ... 30next