Search found 105 matches
- 21 Feb 2021, 11:56
- Forum: SciTE4AutoHotkey
- Topic: Scite4AutoHotkey missing some toolbar buttons
- Replies: 5
- Views: 177
Re: Scite4AutoHotkey missing some toolbar buttons
A few weeks ago, I have made a small workaround to avoid it (just a change of one line, iirc), since then it didn't happen to me anymre - I am now on the wrong computer (I haven't added it here yet), but I can post it tomorrow. gregster Could you take a look at what you did? This thing is happening...
- 20 Feb 2021, 06:44
- Forum: Ask For Help
- Topic: Loading image with transparency Topic is solved
- Replies: 8
- Views: 199
Loading image with transparency Topic is solved
AutoHotkey_2021-02-20_08-37-10.png How the images were load: First: file = %A_ScriptDir%\test1.png f := Gdip_CreateBitmapFromFile(file) f := Gdip_CreateHBITMAPFromBitmap(f) Gui,2:Add,Picture, x0 y63 +BackgroundTrans,HBITMAP:* %f% Second: Gui, 3: +E0x80000 +LastFound +OwnDialogs +Owner +hwndhwnd +al...
- 19 Feb 2021, 10:17
- Forum: Ask For Help
- Topic: Read resource from file Topic is solved
- Replies: 12
- Views: 454
Re: Read resource from file Topic is solved
-Edit-
Thank you teadrinker, got it
Thank you teadrinker, got it

- 18 Feb 2021, 18:11
- Forum: Ask For Help
- Topic: Read resource from file Topic is solved
- Replies: 12
- Views: 454
Re: Read resource from file Topic is solved
Up, does someone else ever tried to load a font file from a resource?
- 08 Feb 2021, 20:20
- Forum: SciTE4AutoHotkey
- Topic: Scite4AutoHotkey missing some toolbar buttons
- Replies: 5
- Views: 177
Re: Scite4AutoHotkey missing some toolbar buttons
Reload toolbar? Is it an option? i can't find it. Yours sounds like it might happen while Scite4AHK is already running for some time? Yes, it happens after I have scite open for some time but I dont know if this happens after running something, stoping, etc and it did not show or prompt any kind of ...
- 08 Feb 2021, 18:19
- Forum: SciTE4AutoHotkey
- Topic: Scite4AutoHotkey missing some toolbar buttons
- Replies: 5
- Views: 177
Scite4AutoHotkey missing some toolbar buttons
Usually the editor looks like: image.png But I idk how sometimes they simple disappear: image.png Am I pressing any kind of shortcuts or what's happening? :think: Does someone has seen this before? When I close the scite and open again they back to the normal, but it sucks as I lost all my undo cache.
- 27 Jan 2021, 15:11
- Forum: Ask For Help
- Topic: Problem adding icons to listview Topic is solved
- Replies: 3
- Views: 87
Problem adding icons to listview Topic is solved
gui,add,edit,w400 h20 vsearch gui,add,checkbox, x+20 yp+1 vsearch_inside ,%A_Space%search inside files gui, add, ListView, x10 yp+24 r20 w800 HwndHLV1 vMyListView, Name|Path|DateTime gui,show ImageListID := IL_Create() LV_SetImageList(ImageListID) LV_ModifyCol(1, 300) LV_ModifyCol(2, 350) LV_Modify...
- 25 Jan 2021, 23:57
- Forum: Tutorials
- Topic: Zugriff auf mit 'FileInstall' eingebundene Skriptressourcen
- Replies: 25
- Views: 21683
Re: Zugriff auf mit 'FileInstall' eingebundene Skriptressourcen
tada := FI_GetResource("sound.wav") PlaySoundResource(tada) msgbox, hello return PlaySoundResource(SndRes) Return DllCall( "winmm.dll\PlaySound" ( A_IsUnicode ? "W" : "A" ), UInt,( A_IsCompiled ? SndRes.ptr : &SndRes ), UInt,0 , UInt, 0x6 ) ; SND_MEMORY := 0x4 | SND_NODEFAULT := 0x2 FI_GetResource(...
- 21 Jan 2021, 01:08
- Forum: Ask For Help
- Topic: Read the framecount of a gif Topic is solved
- Replies: 1
- Views: 70
Read the framecount of a gif Topic is solved
Path = %A_ScriptDir%\foo.gif oImg := ComObjCreate("WIA.ImageFile"), ComObjError(False) oImg.LoadFile(Path) vFrameCount := "" vFrameCount := oImg.FrameCount oImg := "", ComObjError(True) MsgBox, %vFrameCount% I'm using this function above from jeeswg, to read how many frames a gif has. I would like ...
- 26 Dec 2020, 11:34
- Forum: Ask For Help
- Topic: Read resource from file Topic is solved
- Replies: 12
- Views: 454
- 20 Dec 2020, 16:12
- Forum: Ask For Help
- Topic: Read resource from file Topic is solved
- Replies: 12
- Views: 454
Re: Read resource from file Topic is solved
Does someone else know how to load a font from a resource file?
- 06 Dec 2020, 04:57
- Forum: Ask For Help
- Topic: Chrome automation
- Replies: 0
- Views: 275
Chrome automation
GeekDude I have seem in your examples of chrome.ahk lib that IsObject(page) check if the page exists, how i could avoid a script failing if a control doesn't exist anymore? For example: If im reading a control of a page like this input box: image.png And for any reason after some time this input bo...
- 28 Nov 2020, 09:55
- Forum: Ask For Help
- Topic: Read resource from file Topic is solved
- Replies: 12
- Views: 454
Re: Read resource from file Topic is solved
I still not sure in how to call it, I also tried to follow this example Skan post:
https://autohotkey.com/board/topic/57631-crazy-scripting-resource-only-dll-for-dummies-36l-v07/page-4
https://autohotkey.com/board/topic/57631-crazy-scripting-resource-only-dll-for-dummies-36l-v07/page-4
- 27 Nov 2020, 18:25
- Forum: Ask For Help
- Topic: Read resource from file Topic is solved
- Replies: 12
- Views: 454
Re: Read resource from file Topic is solved
@just me i got image,text,audio working but not font.
Tried:
Do you know how to read and load a font file?
Tried:
Code: Select all
Font := FI_GetResource("whitrabt.ttf")
DllCall( "AddFontResource", Str,Font)
SendMessage, 0x1D,,,, ahk_id 0xFFFF
- 27 Nov 2020, 15:46
- Forum: Ask For Help
- Topic: Measure process CPU usage Topic is solved
- Replies: 3
- Views: 105
Re: Measure process CPU usage Topic is solved
Thank you Mikeyww! I modified it a bit :thumbup: SetTimer,ProcessCPU,50 Return ProcessCPU: cpu := getProcessTimes("brave.exe") FileAppend, cpu: %cpu% `n, * Return getProcessTimes(Process) { ; RHCP https://autohotkey.com/board/topic/113942-solved-get-cpu-usage-in/ ; Return values ; -1 on first run ; ...
- 27 Nov 2020, 14:34
- Forum: Ask For Help
- Topic: Measure process CPU usage Topic is solved
- Replies: 3
- Views: 105
Measure process CPU usage Topic is solved
I was searching on the forum for a script to measure the cpu usage of a process, I have found this one: #Persistent CoordMode, ToolTip, Screen Process, Exist, Waveosaur.1.0.0.7000.exe PID := errorLevel IfEqual, PID, 0, ExitApp SetTimer, ShowToolTip Return ShowToolTip: PrLoad := Round( GetProcessTime...
- 26 Nov 2020, 21:10
- Forum: Ask For Help
- Topic: Read resource from file Topic is solved
- Replies: 12
- Views: 454
Re: Read resource from file Topic is solved
@teadrinker thank you it will help, but your script limits the load of resources just of images.
From what I read ResRead also could load audio / font files.
From what I read ResRead also could load audio / font files.
- 25 Nov 2020, 18:33
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 643
- Views: 239663
Re: FindText - Capture screen image into text and then find it Topic is solved
feiyue Is possible to FindText work on windows that are currently transparent? Example: WinSet,Transparent,0,Firefox WinGet,ID,ID,Firefox FindText_BindWindow(ID) When the window is transparent FindText did not work. I did a test trying to capture a image of a transparent window like: #include gdip....
- 24 Nov 2020, 11:49
- Forum: Ask For Help
- Topic: Reading time with very big strings Topic is solved
- Replies: 18
- Views: 472
Re: Reading time with very big strings Topic is solved
swagfag I don't think the high mem usage is from the GDI calls. I edited the script to help debug: https://drive.google.com/file/d/1k8HZKFD3KZyPa2t1RJpWYOr3Esj_bgnP/view?usp=sharing Whats inside the GIF_.ahk is the same gif but encoded as base64. Just comment 1 line and the code will change from lo...
- 23 Nov 2020, 22:51
- Forum: Ask For Help
- Topic: Read resource from file Topic is solved
- Replies: 12
- Views: 454
Read resource from file Topic is solved
I have compiled a testing exe with: FileInstall,android.png,"" image.png Now I'm trying to read/load this png into a GUI using this code made by Skan, that load a resource from RCDATA inside an executable: https://autohotkey.com/board/topic/57631-crazy-scripting-resource-only-dll-for-dummies-36l-v07...