i can live with other lack of support because its opensource and ppl can look to edit / improve on thier own.
it is a common SHADY practice of ILL REPUTE.!
Moderator: Pulover
it is a common SHADY practice of ILL REPUTE.!
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
; Set the path where you want the screenshots to be saved.
DownloadPath := "C:\Users\%A_UserName%\Downloads"
; Initialize a counter to keep track of the number of screenshots taken.
ScreenshotCounter := 0
; Define a hotkey to take the screenshot and save it as a JPG file with a sequential number.
PrintScreen::
; Increment the counter and create a filename based on the sequential number.
ScreenshotCounter++
FileName := DownloadPath "\Screenshot_" ScreenshotCounter ".jpg"
; Capture the screenshot and save it to the clipboard.
Send, {PrintScreen}
ClipWait, 1
; Save the screenshot as a JPG file in the Downloads folder.
If (ErrorLevel) {
MsgBox, Failed to save the screenshot.`nError: %ErrorLevel%
} Else {
FileAppend, %Clipboard%, %FileName%
MsgBox, The screenshot has been saved as:`n%FileName%
}
return
Code: Select all
'Variables
Dim sequenceNumber, fileName, DownloadPath
sequenceNumber = 1 'Start sequence number at 1
DownloadPath = "C:\Users\YourUserName\Downloads\" 'Change to desired download folder path
'Capture screenshot and save to clipboard
CaptureScreen()
'Generate unique filename based on sequence number
Do While True
fileName = DownloadPath & "screenshot_" & sequenceNumber & ".jpg"
If FileExists(fileName) Then
sequenceNumber = sequenceNumber + 1
Else
Exit Do
End If
Loop
i really need to edit this old macro created last yearswiking76 wrote: ↑04 Oct 2023, 06:01Hi.. i can't edit anymore this coordinate, why? They seems blocked
https://ibb.co/9qhYPvp
[Mod edit: Removed img tags from link. They work with a URL to the image itself, not a web page that has an image on it.]
What I replied to someone else applies to your situation (and other users who are stuck using PMC as well):
boiler wrote: ↑01 Apr 2023, 10:24PMC doesn’t appear to have a big helper community, probably because those who are savvy enough to offer help instead of ask for it would just be using AHK directly. It also doesn’t appear that the PMC developer is offering support to this thread recently. AHK experts will not be offering help because they are not PMC users.
...I also would suggest that if you want help from an active community, consider using native AHK and post regarding help for it as needed. There is plenty of support for learning AHK in the documentation, on this forum, youtube videos, books, etc.
ok, thanksboiler wrote: ↑16 Oct 2023, 11:07What I replied to someone else applies to your situation (and other users who are stuck using PMC as well):boiler wrote: ↑01 Apr 2023, 10:24PMC doesn’t appear to have a big helper community, probably because those who are savvy enough to offer help instead of ask for it would just be using AHK directly. It also doesn’t appear that the PMC developer is offering support to this thread recently. AHK experts will not be offering help because they are not PMC users.
...I also would suggest that if you want help from an active community, consider using native AHK and post regarding help for it as needed. There is plenty of support for learning AHK in the documentation, on this forum, youtube videos, books, etc.
Found it and apparently it's easier than I thought! compare variablesIHAT wrote: ↑19 Mar 2024, 02:59I’m using PMC since long and doing great with it.
Lately I came to a challenge that I can’t solve.
I need to do a pixel search for 2 items after I need to compare the Y axis values + or - based on that a mouse action to trigger, I mean if the item1 is higher in the Y axis value compared to item 2 the mouse action to trigger and vice versa
If usually we have 4 values (x1, y1, x2, y2) coordinates I want to compare y1 value of both pixels only
Simply the math will be: if (item1 Y1 - item2 Y1= + result) then mouse click if negative mouse click in a different position
Hope someone to give me a hint on how to approach that using Pullover’s not the AHK
Code: Select all
Loop,
{
CoordMode, Pixel, Window
PixelSearch, FoundX1, FoundY1, 815, 325, 904, 341, 0xECD5D8, 0, Fast RGB
If ErrorLevel = 0
{
CoordMode, Pixel, Window
PixelSearch, FoundX2, FoundY2, 808, 245, 930, 270, 0xCADCEB, 0, Fast RGB
If ErrorLevel = 0
{
If FoundY1 < FoundY2
{
MsgBox, 0, , mouse click
}
Else
{
}
}
Else
{
}
}
Return to “Pulovers Macro Creator”
Users browsing this forum: No registered users and 9 guests