Search found 98 matches

by trust_me
02 Jan 2021, 08:12
Forum: Ask for Help (v1)
Topic: gdip related - how to "remove" the transparency region of an image ?
Replies: 2
Views: 290

Re: gdip related - how to "remove" the transparency region of an image ?

yes it was quite easy ( if you already use gdip .... ? ), you can take a look at the examples for gdip here (example 6 is close for what you want to do:

https://www.autohotkey.com/boards/viewtopic.php?t=6517

to get the bitmap from clipboard:
pBitmap :=Gdip_CreateBitmapFromClipboard()
by trust_me
13 Nov 2020, 04:56
Forum: Scripts and Functions (v1)
Topic: Google Autocorrect "Did you mean:"
Replies: 4
Views: 1275

Re: Google Autocorrect "Did you mean:"

Code: Select all

test.ahk (9) : ==> This line does not contain a recognized action.
     Specifically: g6
Some paste errors ?

Nice ,some interesting ideas :thumbup:

Thanks for sharing !
by trust_me
12 Nov 2020, 02:58
Forum: Scripts and Functions (v1)
Topic: [Function] Resize and Convert Images
Replies: 28
Views: 18004

Re: [Function] Resize and Convert Images

Using the same keys inside the code as the hotkey is tricky ...... This seems to work but using some workarounds is also making it unreliable ? ^Rbutton:: max_size:=200 Hotkey,^Rbutton ,off send {Rbutton down} CoordMode,mouse if !(pToken:=Gdip_Startup()) { msgbox, 48, gdiplus error!, Gdiplus failed ...
by trust_me
11 Nov 2020, 02:03
Forum: Scripts and Functions (v1)
Topic: [Function] Resize and Convert Images
Replies: 28
Views: 18004

Re: [Function] Resize and Convert Images

"Any chance you could figure out how to draw the lines with the command?"

Can you explain what you mean by this , i cannot figure it out :?:
by trust_me
10 Nov 2020, 12:37
Forum: Scripts and Functions (v1)
Topic: [Function] Resize and Convert Images
Replies: 28
Views: 18004

Re: [Function] Resize and Convert Images

Hi iilabs

Can you give some more info about the problem ? I do not see what you mean by canvas size .I tried it and the small image is not blurry but quite good.

Maybe the application your pasting it into is not rendering it quite well ?
by trust_me
10 Nov 2020, 09:47
Forum: Scripts and Functions (v1)
Topic: [Function] Resize and Convert Images
Replies: 28
Views: 18004

Re: [Function] Resize and Convert Images

max_size will set well .... max size , set to 200 in the code example : F3:: ;Hold F3 to make a selection, then release { CoordMode,mouse max_size:=200 MouseGetPos, x1, y1 SoundBeep, 1500, 20 KeyWait, %A_ThisHotkey% SoundBeep, 1000, 20 MouseGetPos, x2, y2 width := x2 - x1, height := y2 - y1 If (widt...
by trust_me
10 Sep 2020, 10:17
Forum: SciTE4AutoHotkey
Topic: scite4autohotkey color
Replies: 2
Views: 2990

Re: scite4autohotkey color

Thank you awel20 perfect solution :)
by trust_me
10 Sep 2020, 08:08
Forum: SciTE4AutoHotkey
Topic: scite4autohotkey color
Replies: 2
Views: 2990

scite4autohotkey color

I just tried out the scite editor , is there a way to remove the " active lign " highlight ? It is a pale yellow with standard installation .

Thanks in advance :)
by trust_me
06 Sep 2020, 03:09
Forum: Ask for Help (v1)
Topic: isense code
Replies: 5
Views: 385

Re: isense code

Thank you gregster , indeed this has the version number i had . I will check this again but i guess i have used a version that was modified by someone but it is so long ago i do not remember where i got it from. I tried several that are on the forum ( new ones ) but with PSpad the one i used several...
by trust_me
06 Sep 2020, 02:20
Forum: Ask for Help (v1)
Topic: isense code
Replies: 5
Views: 385

Re: isense code

Unfortunately it is a totally different version in use and look . If anyone has the original https://autohotkey.com/board/topic/11853-isense-154
by trust_me
06 Sep 2020, 00:48
Forum: Ask for Help (v1)
Topic: isense code
Replies: 5
Views: 385

Re: isense code

Thank you Smile_ , much appreciated :)
by trust_me
06 Sep 2020, 00:14
Forum: Ask for Help (v1)
Topic: isense code
Replies: 5
Views: 385

isense code

Does someone still has a copy of Isense https://autohotkey.com/board/topic/11853-isense-154
I searched in the old archives here on the forum but did not find it ( one archive gave a virus warning and did not open ....)

Thanks in advance :)
by trust_me
26 Aug 2020, 12:20
Forum: Ask for Help (v1)
Topic: Always On Bottom
Replies: 7
Views: 1265

Re: Always On Bottom

https://www.autohotkey.com/docs/commands/WinSet.htm

I would use a " SetTimer " and WinSet , Bottom . I use PotPlayer to have a video as wallpaper a value of 3000 ms keeps it happily down .
by trust_me
22 Jul 2020, 06:30
Forum: Ask for Help (v1)
Topic: selecting right click submenu in potplayer?
Replies: 4
Views: 2160

Re: selecting right click submenu in potplayer?

Sorry , my mistake . I cannot find that menu item in my potplayer and i presumed it was the highlighted item in your first image . Do you have to enable an option to get that menu item or are you using an older version of potplayer ? Maybe you can find the list in the ini file and clear it there ? (...
by trust_me
22 Jul 2020, 02:43
Forum: Ask for Help (v1)
Topic: selecting right click submenu in potplayer?
Replies: 4
Views: 2160

Re: selecting right click submenu in potplayer?

It will be easier if you create a hotkey for it and use ahk to send it .
potpl.png
hotkey
potpl.png (24.78 KiB) Viewed 1656 times
by trust_me
23 Jun 2020, 06:33
Forum: Scripts and Functions (v1)
Topic: a preview gui for the 'Imagemagick' command-line-tools
Replies: 3
Views: 3326

Re: a preview gui for the 'Imagemagick' command-line-tools

Thanks , it was confusing because the version for download here on the forum does not create a default [ImageMagickMain] key , unfortunately the image i want to test for different blur options is to big . The preview fills much of the screen setting the buttons offscreen . The code on the github cre...
by trust_me
23 Jun 2020, 03:44
Forum: Scripts and Functions (v1)
Topic: a preview gui for the 'Imagemagick' command-line-tools
Replies: 3
Views: 3326

Re: a preview gui for the 'Imagemagick' command-line-tools

Thanks for sharing it , but i cannot get it to work ! Do i have to create a key in the inifile for the dir of the magick files ?
The ini parser function is to complicated to see how the key should be named ......
by trust_me
18 Nov 2019, 03:53
Forum: Ask for Help (v1)
Topic: Simple hotkey not working when went to Win10, but only for Chrome??
Replies: 5
Views: 960

Re: Simple hotkey not working when went to Win10, but only for Chrome??

Your code works for me (win10 ahk 32)

You could try winclose instead:

Code: Select all

NumpadIns::
Sleep, 250
winclose , A
return
Numpad0::
Sleep, 250
winclose , A
return
by trust_me
08 Nov 2019, 06:08
Forum: Ask for Help (v1)
Topic: binary data from clipbooard
Replies: 2
Views: 875

Re: binary data from clipbooard

Works perfect ! Thank you very much, tmplinshi :D
Did not think it would involve so much coding :shock:
by trust_me
07 Nov 2019, 03:47
Forum: Ask for Help (v1)
Topic: binary data from clipbooard
Replies: 2
Views: 875

binary data from clipbooard

Part of the code to upload to imgur gets its image data from a file , is there a way to get it directly for an image that is in the clipboard ? http:=ComObjCreate("WinHttp.WinHttpRequest.5.1") img:=ComObjCreate("WIA.ImageFile"),img.LoadFile(image_file) data:=img.filedata.binarydata http.Open("POST",...

Go to advanced search