Search found 205 matches

by inseption86
23 Apr 2024, 08:37
Forum: Ask for Help (v1)
Topic: AHK_ImageListID Topic is solved
Replies: 4
Views: 254

Re: AHK_ImageListID Topic is solved

How to add an icon only to a specific row? Gui, Add, ListView, r20 w700 gLV vLV, Name|Size (KB) ImageListID := IL_Create(1) IL_Add(ImageListID, "shell32.dll", 147) Loop, %A_MyDocuments%\*.* LV_Add("", A_LoopFileName, A_LoopFileSizeKB) LV_ModifyCol() LV_ModifyCol(2, "Integer") Gui, Show return LV: if...
by inseption86
16 Apr 2024, 11:03
Forum: Ask for Help (v1)
Topic: convert Windows-1251 Topic is solved
Replies: 1
Views: 74

Re: convert Windows-1251 Topic is solved

URIEncode(str, encoding := "CP1251") { PrevFormat := A_FormatInteger SetFormat, IntegerFast, H ; кодируем стоку в указанную кодировку с помощью StrPut() VarSetCapacity(var, StrPut(str, encoding)) StrPut(str, &var, encoding) ; последовательно перебирая символы, кодируем их в URL-формат While code :=...
by inseption86
16 Apr 2024, 10:35
Forum: Ask for Help (v1)
Topic: convert Windows-1251 Topic is solved
Replies: 1
Views: 74

convert Windows-1251 Topic is solved

Good afternoon The result of the function is "%D0%A1%D0%BC%D0%B8%D1%80%D0%BD%D0%BE%D0%B2", but I need "%D1%EC%E8%F0%ED%EE%E2". How to convert Windows-1251? string := "Смирнов" MsgBox, % EncodeDecodeURI(string) ExitApp EncodeDecodeURI(str, encode := true, component := true) { static Doc, JS if !Doc {...
by inseption86
12 Apr 2024, 00:32
Forum: Ask for Help (v1)
Topic: Get color in a file
Replies: 0
Views: 50

Get color in a file

Good afternoon Tell me, are there examples of scripts or libraries. I need to check the presence of a seal and signature in documents.
I'm using OCR to find text, is there a script that will look for color in a file? (in hidden mode)
by inseption86
11 Apr 2024, 04:07
Forum: Ask for Help (v1)
Topic: screenshot of a webpage
Replies: 3
Views: 117

Re: screenshot of a webpage

I have a link, after which I will re-visit it, perhaps I will use Chrome.ahk and then I need a screenshot of the page. Or is it possible to download html and somehow convert the page to pdf?
by inseption86
11 Apr 2024, 01:17
Forum: Ask for Help (v1)
Topic: screenshot of a webpage
Replies: 3
Views: 117

screenshot of a webpage

Good afternoon Is it possible to take a screenshot of a webpage in stealth mode?
by inseption86
19 Mar 2024, 01:53
Forum: Ask for Help (v1)
Topic: AHK_ImageListID Topic is solved
Replies: 4
Views: 254

AHK_ImageListID Topic is solved

Good afternoon How to set icons according to conditions, in the current code they are set to all lines Gui,Screen_form: Color, black Gui,Screen_form: Add, ListView, vLV gLv , One|Two|Three Gui,Screen_form: Show,, visitor ImageListID := IL_Create(1) IL_Add(ImageListID, "shell32.dll", 147) LV_SetImage...
by inseption86
05 Mar 2024, 10:13
Forum: Ask for Help (v1)
Topic: disable the context menu in Editbox Topic is solved
Replies: 1
Views: 79

disable the context menu in Editbox Topic is solved

Good afternoon How to disable the context menu in Editbox? Disabling the right button is excluded since it is used to call up the menu

Video_2024-03-05_180942.gif
Video_2024-03-05_180942.gif (479.79 KiB) Viewed 79 times
by inseption86
28 Feb 2024, 06:16
Forum: Ask for Help (v1)
Topic: Sort Array Topic is solved
Replies: 2
Views: 158

Sort Array Topic is solved

Good afternoon Tell me how to sort array2 according to array1? #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #SingleInstance force ; игнор уже запущенного скрипта, переоткрытие Setbatchlines -1 list = ( 21864483 21864495 21962071 21974825 22049592 22041919 2...
by inseption86
24 Feb 2024, 10:47
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 459715

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!

Good afternoon I have several active windows users who have chrome running in developer mode. But I receive a link not from my active chrome, but from another user's active chrome. Is it possible to fix this somehow? if (Chromes := Chrome.FindInstances()) { ChromeInst := {"base": Chrome, "DebugPort"...
by inseption86
23 Jul 2023, 05:19
Forum: Scripts and Functions (v1)
Topic: [Class] SQLiteDB - Update on 2022-10-04
Replies: 303
Views: 206958

Re: [Class] SQLiteDB - Update on 2022-10-04

Good afternoon Is it possible to get information on each request? DB := new SQLiteDB If !DB.OpenDB(DBFileName, "R", 0) { MsgBox, 16, SQLite Error, % "Msg:`t" . DB.ErrorMsg . "`nCode:`t" . DB.ErrorCode ExitApp } SQL := "Select ProfileID from clients WHERE TestingData= '" TimeString_day_sql "';" SQL ....
by inseption86
03 Jul 2023, 03:43
Forum: Ask for Help (v1)
Topic: AHK_timer
Replies: 1
Views: 181

AHK_timer

Good afternoon How to ignore the time if the timer was disabled? For t12 to pause at the moment f5 was pressed, and then continue from that moment duration := "2400" t10 += % duration/60, minutes SetTimer, Progress, 500 return Progress: t11 := t10 t11 -= A_Now, seconds t12 := 20100101000000 t12 += t...
by inseption86
29 Jun 2023, 09:10
Forum: Ask for Help (v1)
Topic: AHK_menu
Replies: 1
Views: 176

AHK_menu

Good afternoon How to pass menu condition? Menu, Submenu1, Add, Item1, MenuHandler Menu, Submenu1, Add, Item2, MenuHandler Menu, MyMenu, Add, % (qq = "1" ? "My Submenu1" : "My Submenu") , :Submenu1 return MenuHandler: MsgBox You selected %A_ThisMenuItem% from the menu %A_ThisMenu%. return qq := "1" ...
by inseption86
05 Jun 2023, 03:35
Forum: Scripts and Functions (v1)
Topic: [Class] SQLiteDB - Update on 2022-10-04
Replies: 303
Views: 206958

Re: [Class] SQLiteDB - Update on 2022-10-04

While !DB.Exec(Arg) { If Instr(DB.ErrorMsg, "database is locked") { ToolTip, % DB.ErrorMsg ".....One moment!!" Sleep 1000 Continue } MsgBox, 16, SQLite Error, % "Msg:`t" . DB.ErrorMsg . "`nCode:`t" . DB.ErrorCode Break } ? thanks
by inseption86
05 Jun 2023, 02:42
Forum: Scripts and Functions (v1)
Topic: [Class] SQLiteDB - Update on 2022-10-04
Replies: 303
Views: 206958

Re: [Class] SQLiteDB - Update on 2022-10-04

Hi, AHK v1 and also v2 are single-threaded. this code - normal variant? check_mydata: If !DB.Exec(Arg) { if Instr(DB.ErrorMsg, "database is locked") { ToolTip, % DB.ErrorMsg ".....One moment!!" sleep 1000 goto check_mydata } else MsgBox, 16, SQLite Error, % "Msg:`t" . DB.ErrorMsg . "`nCode:`t" . DB...
by inseption86
04 Jun 2023, 16:51
Forum: Scripts and Functions (v1)
Topic: [Class] SQLiteDB - Update on 2022-10-04
Replies: 303
Views: 206958

Re: [Class] SQLiteDB - Update on 2022-10-04

Good afternoon I use this tool to read and write from different devices, how can I do multithreading? OpenDB(DBFileName_range, Access := "R" , "Select certif from range_certificate ORDER BY certif DESC LIMIT 1", get_rows) OpenDB(DBPath, Access, Arg, ByRef get_rows) { DB := new SQLiteDB DB.OpenDB(DBP...
by inseption86
01 Jun 2023, 02:48
Forum: Ask for Help (v1)
Topic: Excel_sort_color
Replies: 0
Views: 373

Excel_sort_color

hello, how is it possible to sort by cell color? book_otchet.workSheets(1).Range("A" id.row ":F" end).Sort(book_otchet.workSheets(1).Columns(component.column),2) - is work, by value book_otchet.workSheets(1).Range("A" id.row ":F" end).Sort(book_otchet.workSheets(1).Columns(numbs.column),2).SortOnVal...
by inseption86
30 May 2023, 09:12
Forum: Ask for Help (v1)
Topic: AHK_automatic transition_GUI Topic is solved
Replies: 1
Views: 233

AHK_automatic transition_GUI Topic is solved

is it possible to make automatic transition between date month and year in GUI?
by inseption86
29 May 2023, 06:05
Forum: Ask for Help (v1)
Topic: network folder
Replies: 5
Views: 352

Re: network folder

boiler wrote:
29 May 2023, 06:03
I don’t know the answer, but just wanted to clarify that and point out that if it’s possible, then the user of the script would have full access to the drive if they know a little AHK.
I think the user is unlikely to dig into the '.exe'

Go to advanced search