try
https://www.autohotkey.com/boards/viewtopic.php?t=45307
Search found 80 matches
- 22 Sep 2019, 22:30
- Forum: Ask for Help (v1)
- Topic: Can Windows or the active program tell the difference between AHK and real keypresses?
- Replies: 4
- Views: 1928
- 18 Apr 2019, 11:36
- Forum: Ask for Help (v1)
- Topic: SQLite Multiple Blob Topic is solved
- Replies: 7
- Views: 1590
Re: SQLite Multiple Blob Topic is solved
Hello Spark, our code looks ok, just some remarks: Loop, % objRecordSet.ColumnCount { strReport1 := objRow[1] ; RowID strReport2 := objRow[2] ;Title Size := objRow[3].Size ; Blob Size Addr := objRow[3].GetAddress("Blob") } repeats the same actions on the same 3 columns ColumnCount times. You can sa...
- 17 Apr 2019, 08:37
- Forum: Ask for Help (v1)
- Topic: SQLite Multiple Blob Topic is solved
- Replies: 7
- Views: 1590
Re: SQLite Multiple Blob Topic is solved
Dear Just Me, Hi, you only provided some code trying to read BLOBs, but no information about the structure of your database sorry about that, I'm not good at explaining Title I think it's a text field containing the (file) name of the picture. Picture I think that's the BLOB field containing the raw...
- 16 Apr 2019, 10:06
- Forum: Ask for Help (v1)
- Topic: SQLite Multiple Blob Topic is solved
- Replies: 7
- Views: 1590
Re: SQLite Multiple Blob Topic is solved
Dear Just me, thanks for your reply, I usually use "ini file" to save the image path and then call it with "iniread", but when I have many paths to load, it becomes very slow to load, so I want to try using SQLite as my database, I can read and write data on the SQLite base from your example, but I ...
- 16 Apr 2019, 00:02
- Forum: Ask for Help (v1)
- Topic: SQLite Multiple Blob Topic is solved
- Replies: 7
- Views: 1590
SQLite Multiple Blob Topic is solved
recently I learned about SQLite using the JustMe Class and read tutorial from Joe Glines , it's better than using "IniFile", slow but surel I can write and read in the database, but I am stuck with "blob" type, can anyone help me give an example to write (input) and read (view display) multiple "blo...
- 24 Sep 2018, 23:27
- Forum: Ask for Help (v1)
- Topic: Macro to make a key do a specific action on 1 window breaks holding that key for others
- Replies: 2
- Views: 744
Re: Macro to make a key do a specific action on 1 window breaks holding that key for others
Hello,
try :
HTH
try :
Code: Select all
#IfWinActive, ahk_exe Discord.exe
$XButton1::
Send {Click}
Sleep, 75
Send ^v
return
#IfWinActive
- 24 Sep 2018, 02:21
- Forum: Ask for Help (v1)
- Topic: Progress bar help Topic is solved
- Replies: 5
- Views: 1309
Re: Progress bar help Topic is solved
Try this also: `:: Progress, b2 w200,,, for each, fn in ["alpha", "beta", "charlie", "delta", "jack"] { Progress, % (A_Index - 1) * 20 %fn%() } Progress, 100 Progress, Off return alpha(){ ToolTip, one, 5, 5, 2 Sleep, 1000 ToolTip, two, 5, 5, 2 Sleep, 1000 } beta(){ ToolTip, three, 5, 5, 2 Sleep, 10...
- 24 Sep 2018, 01:32
- Forum: Ask for Help (v1)
- Topic: Progress bar help Topic is solved
- Replies: 5
- Views: 1309
Re: Progress bar help Topic is solved
problem solved arr := {1:"alpha", 2:"beta", 3:"charlie", 4:"delta", 5:"echo"} `:: Progress, b2 w200,,, Loop, 5 { Progress, % (A_Index - 1) * 20 arr[A_Index]() } Progress, 100 Progress, Off return alpha(){ ToolTip, one, 5, 5, 2 Sleep, 1000 ToolTip, two, 5, 5, 2 Sleep, 1000 } beta(){ ToolTip, three, 5...
- 24 Sep 2018, 00:48
- Forum: Ask for Help (v1)
- Topic: Progress bar help Topic is solved
- Replies: 5
- Views: 1309
Re: Progress bar help Topic is solved
@wolf_II
your code works perfectly, thanks
another question (if you don't mind)
what if the function name is different?
for example :
how to make it work ?
thanks
your code works perfectly, thanks
![Bravo! :bravo:](./images/smilies/bravo.gif)
another question (if you don't mind)
what if the function name is different?
for example :
Code: Select all
alpha()
beta()
charlie()
delta()
thanks
- 23 Sep 2018, 22:25
- Forum: Ask for Help (v1)
- Topic: Progress bar help Topic is solved
- Replies: 5
- Views: 1309
Progress bar help Topic is solved
is there a better way to make progress bar in my case? `:: Progress, b2 w200,,, Progress, 0 func1() Progress, 20 func2() Progress, 40 func3() Progress, 60 func4() Progress, 80 func5() Progress, 100 Progress, Off return func1(){ ToolTip, one, 5, 5, 2 Sleep, 1000 ToolTip, two, 5, 5, 2 Sleep, 1000 } fu...
- 21 Sep 2018, 23:13
- Forum: Ask for Help (v1)
- Topic: Send a combination at a specified time every day
- Replies: 1
- Views: 531
Re: Send a combination at a specified time every day
Hello, Try target_time = 0945 ; 09:45 am ; Get target time in a format we can: ; - compare (with "<"), and ; - use to calculate "time delta" (with EnvSub.) target = %A_YYYY%%A_MM%%A_DD%%target_time%00 ; < comparison should be safe as long as both are in the *exact* same format. if (target < A_Now) {...
- 02 Aug 2018, 22:30
- Forum: Ask for Help (v1)
- Topic: WMP COM Help Topic is solved
- Replies: 2
- Views: 901
Re: WMP COM Help Topic is solved
You have to point to the correct object. Change this Mbut1: wmp := ComObjCreate("WMPlayer.OCX") FileSelectFile, file, 2,, Select WMP Compatable File: wmp.url := file ; points to the OCX object wmp return to this Mbut1: FileSelectFile, file, 2,, Select WMP Compatable File: WMP1.url := file ; points ...
- 01 Aug 2018, 21:09
- Forum: Ask for Help (v1)
- Topic: WMP COM Help Topic is solved
- Replies: 2
- Views: 901
WMP COM Help Topic is solved
hello all, i hope i can explain better, but i have problem with english how to embed specific song in specific WMP? and how to set a certain volume in a particular WMP? i try to read this but still not enough here's my code so far : Gui, 1:Add, Button, x100 y1 w80 h40 gVolBut1Up vMusic1Up, BG Vol Up...
- 16 Jul 2018, 00:40
- Forum: Ask for Help (v1)
- Topic: AHK Write Memory (Pointer)
- Replies: 7
- Views: 3561
Re: AHK Write Memory (Pointer)
hello,
try delete "%"
try delete "%"
Code: Select all
EOClient1.WriteString(0x006DD100, EO1_ClientIP, "UTF-8", 0x0C, 0x300, 0x0C, 0x1C, 0x0)
- 15 Jul 2018, 22:16
- Forum: Ask for Help (v1)
- Topic: AHK Write Memory (Pointer)
- Replies: 7
- Views: 3561
Re: AHK Write Memory (Pointer)
have you tried "address value" with readstring()? is your "address value" correct? BaseAddr := 0x006DD100 offsets := [0x0C, 0x300, 0x0C, 0x1C, 0x0] ReadEOClient1:= EOClient1.readString(BaseAddr, 0, utf-8, offsets*) msgbox, % ReadEOClient1 if your value correct, try with simple thing BaseAddr := 0x00...
- 15 Jul 2018, 21:57
- Forum: Ask for Help (v1)
- Topic: 自定icon問題
- Replies: 6
- Views: 2631
Re: 自定icon問題
Sorry, i use google translate to understand your question.. how about this.. put your AHK shortcut (*.INK File) into startup folder I haven't touch ink file, what is it and how can I change ico file into ink file Right click your Project.ahk file and Choose "Create shortcut" (you can rename it) cop...
- 12 Jul 2018, 01:57
- Forum: Ask for Help (v1)
- Topic: StrSplit() from right? Topic is solved
- Replies: 9
- Views: 2194
Re: StrSplit() from right? Topic is solved
@Xtra whoaa ... thanks for making it perfect A simpler version, StrSplitRight(string, delim, count){ return substr(string, instr(string, "\",, -1, count) + 1) } Cheers. I have a little question about your simpler version, what is this "delim" for? if i change it to be StrSplitRight(string, count){ r...
- 12 Jul 2018, 00:04
- Forum: Ask for Help (v1)
- Topic: 自定icon問題
- Replies: 6
- Views: 2631
Re: 自定icon問題
Sorry, i use google translate to understand your question..
how about this..
put your AHK shortcut (*.INK File) into startup folder
how about this..
put your AHK shortcut (*.INK File) into startup folder
- 11 Jul 2018, 23:47
- Forum: Ask for Help (v1)
- Topic: StrSplit() from right? Topic is solved
- Replies: 9
- Views: 2194
Re: StrSplit() from right? Topic is solved
It can be done with regex but it is generally slower for simple string manipulation. Example function: input := "E:\Folder 1\Sub Folder 2\Sub Folder 3\Sub Folder 4\picture.png" MsgBox % StrSplitRight(input,"\",2) StrSplitRight(string,delim,count) { for i in Arr := StrSplit(string,delim) { output :=...
- 11 Jul 2018, 21:15
- Forum: Ask for Help (v1)
- Topic: StrSplit() from right? Topic is solved
- Replies: 9
- Views: 2194
StrSplit() from right? Topic is solved
hello all,
is there any function for StrSplit() from right?
something like this
thanks in advance
is there any function for StrSplit() from right?
something like this
Code: Select all
input = E:\Folder 1\Sub Folder 2\Sub Folder 3\Sub Folder 4\picture.png
output := StrSplitRight(input ,\)
msgbox, % output[2] ; result : Sub Folder4\picture.png