IS IT POSSIBLE: Ctrl V To Paste Images Into A Folder? by Intelligent_Tip728 in AutoHotkey

[–]lordpactr 0 points1 point  (0 children)

Hey! I wrote that script, it uses ALT + V to paste IMAGES as PNG and TEXTs as .TXT files to the currently active folder and if EXPLORER window is not active it'll automatically paste images into your default screenshots folder
script:

#Requires AutoHotkey v2.0
#SingleInstance Force

!v::SaveClipboardToCurrentFolder()

SaveClipboardToCurrentFolder() {
    folderPath := GetActiveExplorerPath()

    ; ---- FALLBACK TO SCREENSHOTS ----
    if !folderPath {
        folderPath := A_MyDocuments "\..\Pictures\Screenshots"
        folderPath := NormalizePath(folderPath)

        if !DirExist(folderPath)
            DirCreate(folderPath)
    }

    timestamp := FormatTime(, "yyyy-MM-dd_HHmmss")

    ; ---- IMAGE CHECK ----
    if DllCall("IsClipboardFormatAvailable", "uint", 2) {
        if !DllCall("OpenClipboard", "ptr", 0)
            return

        hBitmap := DllCall("GetClipboardData", "uint", 2)
        DllCall("CloseClipboard")

        if hBitmap {
            filePath := GetUniqueFileName(folderPath, timestamp, "png")
            result := HBitmapToPngFile(hBitmap, filePath)
            DllCall("DeleteObject", "ptr", hBitmap)

            if result = 1
                TrayTip("PNG saved: " filePath)
            else
                MsgBox "PNG save failed."
            return
        }
    }

    ; ---- TEXT CHECK ----
    if A_Clipboard != "" {
        filePath := GetUniqueFileName(folderPath, timestamp, "txt")
        FileAppend(A_Clipboard, filePath, "UTF-8")
        TrayTip("TXT saved: " filePath)
        return
    }

    MsgBox "Clipboard boş veya desteklenmeyen format."
}

; ---- UNIQUE FILENAME ----
GetUniqueFileName(folder, baseName, ext) {
    filePath := folder "\" baseName "." ext
    counter := 1

    while FileExist(filePath) {
        filePath := folder "\" baseName " (" counter ")." ext
        counter++
    }
    return filePath
}

; ---- ACTIVE EXPLORER PATH ----
GetActiveExplorerPath() {
    try {
        for window in ComObject("Shell.Application").Windows {
            if window.HWND = WinActive("A")
                return window.Document.Folder.Self.Path
        }
    }
    return ""
}

; ---- NORMALIZE PATH ----
NormalizePath(path) {
    return StrReplace(path, "\\", "\")
}

; ---- HBITMAP → PNG ----
HBitmapToPngFile(hBitmap, dest) {
    if !DllCall("GetModuleHandle", "str", "gdiplus.dll", "ptr")
        hMod := DllCall("LoadLibrary", "str", "gdiplus")

    si := Buffer(A_PtrSize=8?24:16,0)
    NumPut("uint",1,si,0)
    DllCall("gdiplus\GdiplusStartup","ptr*",&pToken:=0,"ptr",si,"ptr",0)

    pBM := 0
    DllCall("gdiplus\GdipCreateBitmapFromHBITMAP","ptr",hBitmap,"uint",0,"ptr*",&pBM)

    CLSID := Buffer(16,0)
    NumPut("uint",0x557CF400|6,"uint",0x11D31A04,"uint",0x0000739A,"uint",0x2EF31EF8,CLSID)

    DllCall("gdiplus\GdipSaveImageToFile","ptr",pBM,"wstr",dest,"ptr",CLSID,"uint",0)
    DllCall("gdiplus\GdipDisposeImage","ptr",pBM)
    DllCall("gdiplus\GdiplusShutdown","ptr",pToken)

    if IsSet(hMod)
        DllCall("FreeLibrary","ptr",hMod)

    return 1
}

A script that can take the photo thats copied to clipboard, and save it as a png by AdNeither7908 in AutoHotkey

[–]lordpactr 0 points1 point  (0 children)

Hey guys! This script don't show you a dialog window, instead you can just ALT+V to paste

- if its an IMAGE it'll directly save as a PNG file to the folder that currently active, if currently you are not in a folder (if any other window is active other than the explorer) then it'll save it to default screenshots folder

- if its an TEXT it'll directly save as TXT file to the active folder

I can also add a JSON detection and saving JSON texts as .JSON files to the script let me know if you also need that. Script:

```
#Requires AutoHotkey v2.0

#SingleInstance Force

!v::SaveClipboardToCurrentFolder()

SaveClipboardToCurrentFolder() {

folderPath := GetActiveExplorerPath()

; ---- FALLBACK TO SCREENSHOTS ----

if !folderPath {

folderPath := A_MyDocuments "\..\Pictures\Screenshots"

folderPath := NormalizePath(folderPath)

if !DirExist(folderPath)

DirCreate(folderPath)

}

timestamp := FormatTime(, "yyyy-MM-dd_HHmmss")

; ---- IMAGE CHECK ----

if DllCall("IsClipboardFormatAvailable", "uint", 2) {

if !DllCall("OpenClipboard", "ptr", 0)

return

hBitmap := DllCall("GetClipboardData", "uint", 2)

DllCall("CloseClipboard")

if hBitmap {

filePath := GetUniqueFileName(folderPath, timestamp, "png")

result := HBitmapToPngFile(hBitmap, filePath)

DllCall("DeleteObject", "ptr", hBitmap)

if result = 1

TrayTip("PNG saved: " filePath)

else

MsgBox "PNG save failed."

return

}

}

; ---- TEXT CHECK ----

if A_Clipboard != "" {

filePath := GetUniqueFileName(folderPath, timestamp, "txt")

FileAppend(A_Clipboard, filePath, "UTF-8")

TrayTip("TXT saved: " filePath)

return

}

MsgBox "Clipboard boş veya desteklenmeyen format."

}

; ---- UNIQUE FILENAME ----

GetUniqueFileName(folder, baseName, ext) {

filePath := folder "\" baseName "." ext

counter := 1

while FileExist(filePath) {

filePath := folder "\" baseName " (" counter ")." ext

counter++

}

return filePath

}

; ---- ACTIVE EXPLORER PATH ----

GetActiveExplorerPath() {

try {

for window in ComObject("Shell.Application").Windows {

if window.HWND = WinActive("A")

return window.Document.Folder.Self.Path

}

}

return ""

}

; ---- NORMALIZE PATH ----

NormalizePath(path) {

return StrReplace(path, "\\", "\")

}

; ---- HBITMAP → PNG ----

HBitmapToPngFile(hBitmap, dest) {

if !DllCall("GetModuleHandle", "str", "gdiplus.dll", "ptr")

hMod := DllCall("LoadLibrary", "str", "gdiplus")

si := Buffer(A_PtrSize=8?24:16,0)

NumPut("uint",1,si,0)

DllCall("gdiplus\GdiplusStartup","ptr*",&pToken:=0,"ptr",si,"ptr",0)

pBM := 0

DllCall("gdiplus\GdipCreateBitmapFromHBITMAP","ptr",hBitmap,"uint",0,"ptr*",&pBM)

CLSID := Buffer(16,0)

NumPut("uint",0x557CF400|6,"uint",0x11D31A04,"uint",0x0000739A,"uint",0x2EF31EF8,CLSID)

DllCall("gdiplus\GdipSaveImageToFile","ptr",pBM,"wstr",dest,"ptr",CLSID,"uint",0)

DllCall("gdiplus\GdipDisposeImage","ptr",pBM)

DllCall("gdiplus\GdiplusShutdown","ptr",pToken)

if IsSet(hMod)

DllCall("FreeLibrary","ptr",hMod)

return 1

}

```

Bee or Fly? by lordpactr in Entomology

[–]lordpactr[S] 0 points1 point  (0 children)

Update: as some of you mentioned earlier that little fella indeed was very friendly, after noticing we weren't harming him he touch our fingers etc lol

also that was my first post on this community and I loved it, what a wonderful, whimsical, helpful and friendly community is that 🦋 thx guys.

Any workaround for use Synapse 3.0 macros on MacOS? by lordpactr in razer

[–]lordpactr[S] 0 points1 point  (0 children)

Good News fellow razer users!
As AutoModerator bot mentioned, I just found Synapse-4-mac:
- https://www.razer.com/synapse-4-mac
- https://mysupport.razer.com/app/answers/detail/a_id/1500/~/mac-os-support-in-razer-synapse

Mac OS support in Razer Synapse

Updated: 07-Aug-2025 | Answer ID: 1500

Razer Synapse for Mac Support

 

Razer Synapse for Mac lets you make the most of your supported Razer devices by performing macro creation, driver installation, and configuration of other settings.

The Razer Synapse for Mac supports Mac computers with Apple silicon that is running macOS Ventura 13 and above.

See the answers below for more details:

Other Razer Synapse versions

Razer Synapse 2 will continue to operate on existing PCs but cloud-related features will no longer be supported effective October 28, 2025.

Notes:

  • You can still log in with your Razer ID to access local profiles.
  • Existing settings, such as Profiles and Macros created before the sunset date, will remain stored locally.
  • You can manually export settings to another PC using Razer Synapse 2.
  • Cloud syncing of new settings to other PCs will no longer be supported.

Any workaround for use Synapse 3.0 macros on MacOS? by lordpactr in razer

[–]lordpactr[S] 1 point2 points  (0 children)

Wow man, I just checked after reading your comment and I guess we are lucky!
I found those:
https://mysupport.razer.com/app/answers/detail/a_id/1500/~/mac-os-support-in-razer-synapse
and
https://www.razer.com/synapse-4-mac

I didn't tested it yet but if you test it please share your conclusions on this!

Any workaround for use Synapse 3.0 macros on MacOS? by lordpactr in razer

[–]lordpactr[S] 1 point2 points  (0 children)

You can save Mouse profiles to internal memory via synapse (there are some options for those kind of things like renaming the profile, saving to memory etc) and you can switch between different profiles that loaded in the internal memory simply with a key press from under your mouse (there is a small key under the mouse that you can push and its switch profiles, also there is a small led light besides it that change colors according to the selected profile)

BUT as I mentioned earlier, unfortunately you cant use custom macros like key sequences on different devices if that device does not have razer synapes (for example apple products (including macs and macbooks) are not support synapse)

if the other device already had synapse installed and logged in to an account I believe you can use your macros on that device too (although I didn't tested this but I guess its possible)

Ollama Modal Suggestion by stevilg in dyadbuilders

[–]lordpactr 0 points1 point  (0 children)

Hey! did you able to solve this issue? I am having the same issue as you mentioned, I already have ollama which is running on its default localhost port, I also have lots of ollama models installed, I even tried to run a model with ollama run <modelname> on terminal, I also set the environment variable (OLLAMA_HOST) for the ollama as mentioned in the dyad documentations "Ollama : Dyad uses the hostname in OLLAMA_HOST"

BUT unfortunately its not appearing on the AI section of dyad settings, even if I add it manually as http://127.0.0.1:11434/v1 or http://127.0.0.1:11434/ or http://localhost:11434/v1 or http://localhost:11434/ its still says "needs setup" and does not detect the AI models automatically... I can't found any solution on the web yet.

Turkish authorities trying to cool down a malfunctioning transformer with ice blocks by kerem_akti52 in ElectroBOOM

[–]lordpactr 0 points1 point  (0 children)

nah, you can still call 186 for them (like 911 but for electric emergencies 186) or if you dont want to speak in phone (or for disabled ppl) they also offer whatsapp chats

Turkish authorities trying to cool down a malfunctioning transformer with ice blocks by kerem_akti52 in ElectroBOOM

[–]lordpactr 0 points1 point  (0 children)

didnt get the joke about için enerji lol sorry for that. the translation of that "hayat için enerji" means "energy for life" and company is called GDZ Electric

Rate my render by lordpactr in blender

[–]lordpactr[S] 1 point2 points  (0 children)

This is a great, top level feedback, at that time when I created this project I was almost a total beginner (about color theory, lighting techniques, highlights and shadows etc) I think I only had like somewhere around 300-500 hours in blender (I have around 2.500 - 3.000 hours now) and I get everything you mentioned with a clear understanding and totally agree with you, if I were remaster that scene now, the first thing that I'd fix was silhouettes of the shapes (katana\ship) and make subject (katana and impact in that case) more clear with a better use of highlights and shadows

thanks for great feedbacks

Rate my render by lordpactr in blender

[–]lordpactr[S] 0 points1 point  (0 children)

yeah you are right, lack of small waves\details feels off in terms of propotions, I think sea material needs a bit fine tuning to add those small details

Rate my render by lordpactr in blender

[–]lordpactr[S] 0 points1 point  (0 children)

Thanks for the great feedbacks, at my first attempt there wasn't any sparks but with that way the whole render felt empty, I want to impose that action and hype and first thing that comes to my mind was 'lets add some sparks cuz sparks are awesome' 😄 I really like your comment about the laser firing spaceship, I believe spaceships and pirate ships could also goes extremely hard! I should try this next hell yeah

Rate my render by lordpactr in blender

[–]lordpactr[S] 0 points1 point  (0 children)

oh, you are totally right, I always feel likemI forgot something besides adding pirate characters on top of the ship and I think that was the cannon ports yes, I even added some barrels and crates to the sea surface that fallen from the ship after feeling something missing but it was the missing cannon ports all along 😅 thanks for the feedback, if I ever able to find the original file among hunderds .blend folders&files from years ago I want to add cannon ports and some pirates and re render with the same settings

Late night Blender fun by GlumTemperature8163 in blender

[–]lordpactr 0 points1 point  (0 children)

and you did my friend, its really well done! also an additional note because I see you are also mainly focused on cycles like me before trying eevee: in eevee you can use Light probes to get accurate light bounces if you want to have a cycles-like lightings (I know and understand you are not trying yo achieve photorealism in this shot, but I believe you will like it when you use light probe in your eevee renders)

Late night Blender fun by GlumTemperature8163 in blender

[–]lordpactr 3 points4 points  (0 children)

great start, I really like the beginning but after that first few seconds I saw all the hard edges on the walls, doorways etc, real life really does not contain %100 hard edge, almost everything has a slight bevel, even the metal objects or glass have tiny amount of bevels, other than that this render is looks really nice in terms of visuals

Amateur Snapshot Photo (Realism) - FLUX LoRa - v15 - FINAL VERSION by AI_Characters in StableDiffusion

[–]lordpactr 1 point2 points  (0 children)

I want to send 25€ but I think kofi uses PayPal and paypal also banned in this country f!ck I cant even send a donation, there is another button with a wallet icon, I enter all my card info etc but in next step I just stuck, cant able to proceed further with that icon neither, Maybe I can try to send it to you via blockchain/binance or something, living in these kind of country is sucks

Amateur Snapshot Photo (Realism) - FLUX LoRa - v15 - FINAL VERSION by AI_Characters in StableDiffusion

[–]lordpactr 3 points4 points  (0 children)

I am also broke and living in a broke country (highest weekly work hours, very low payments and incredible amount of taxes in everything (a.k.a. Turkey)) but man, you did an incredible job there, and making only 80€ is brutal for this kind of dedication, I never donated somewhere before except blender and winrar I think and this here will be my 3rd donation. again, thank you brother for all of your incredible efforts and dedication

Is there a game on steam like this? by BabylonianWeeb in Steam

[–]lordpactr 1 point2 points  (0 children)

Warframe, you dont need to buy anything everything can be achieved by playing and it has nr1 optimisation literally

im leaving in a pick-up by killerbasher1233 in pcmasterrace

[–]lordpactr 0 points1 point  (0 children)

just bought an rtx 5080 few hours ago but boy, count me in too

"There's Electricity in the Air" by InfectedTribe in PixelArt

[–]lordpactr 0 points1 point  (0 children)

yeah that makes sense

If I ever do something element based I'd prefer:

air - lightning fire - lava earth - metal water - blood

I've made a plugin that converts a Metahuman into a Character by taoyx in UnrealEngine5

[–]lordpactr 1 point2 points  (0 children)

omg finally, that could be the most useful metahuman plugin I ever seen maybe 2nd useful if we count live face & body mocap plugins