Search found 59 matches

by Spark
18 Apr 2019, 11:36
Forum: Ask For Help
Topic: SQLite Multiple Blob Topic is solved
Replies: 7
Views: 341

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...
by Spark
17 Apr 2019, 08:37
Forum: Ask For Help
Topic: SQLite Multiple Blob Topic is solved
Replies: 7
Views: 341

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...
by Spark
16 Apr 2019, 10:06
Forum: Ask For Help
Topic: SQLite Multiple Blob Topic is solved
Replies: 7
Views: 341

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 ...
by Spark
16 Apr 2019, 00:02
Forum: Ask For Help
Topic: SQLite Multiple Blob Topic is solved
Replies: 7
Views: 341

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...
by Spark
24 Sep 2018, 23:27
Forum: Ask For Help
Topic: Macro to make a key do a specific action on 1 window breaks holding that key for others
Replies: 2
Views: 232

Re: Macro to make a key do a specific action on 1 window breaks holding that key for others

Hello,
try :

Code: Select all

#IfWinActive, ahk_exe Discord.exe
$XButton1::
Send {Click}
Sleep, 75
Send ^v
return
#IfWinActive
HTH
by Spark
24 Sep 2018, 02:21
Forum: Ask For Help
Topic: Progress bar help Topic is solved
Replies: 5
Views: 349

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...
by Spark
24 Sep 2018, 01:32
Forum: Ask For Help
Topic: Progress bar help Topic is solved
Replies: 5
Views: 349

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...
by Spark
24 Sep 2018, 00:48
Forum: Ask For Help
Topic: Progress bar help Topic is solved
Replies: 5
Views: 349

Re: Progress bar help Topic is solved

@wolf_II
your code works perfectly, thanks :bravo:
another question (if you don't mind)
what if the function name is different?
for example :

Code: Select all

alpha()
beta()
charlie()
delta()
how to make it work ?

thanks
by Spark
23 Sep 2018, 22:25
Forum: Ask For Help
Topic: Progress bar help Topic is solved
Replies: 5
Views: 349

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...
by Spark
21 Sep 2018, 23:13
Forum: Ask For Help
Topic: Send a combination at a specified time every day
Replies: 1
Views: 178

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) {...
by Spark
02 Aug 2018, 22:30
Forum: Ask For Help
Topic: WMP COM Help Topic is solved
Replies: 2
Views: 344

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 ...
by Spark
01 Aug 2018, 21:09
Forum: Ask For Help
Topic: WMP COM Help Topic is solved
Replies: 2
Views: 344

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...
by Spark
16 Jul 2018, 00:40
Forum: Ask For Help
Topic: AHK Write Memory (Pointer)
Replies: 7
Views: 622

Re: AHK Write Memory (Pointer)

hello,
try delete "%"

Code: Select all

EOClient1.WriteString(0x006DD100, EO1_ClientIP, "UTF-8", 0x0C, 0x300, 0x0C, 0x1C, 0x0)
by Spark
15 Jul 2018, 22:16
Forum: Ask For Help
Topic: AHK Write Memory (Pointer)
Replies: 7
Views: 622

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...
by Spark
15 Jul 2018, 21:57
Forum: Ask For Help
Topic: 自定icon問題
Replies: 6
Views: 642

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...
by Spark
12 Jul 2018, 01:57
Forum: Ask For Help
Topic: StrSplit() from right? Topic is solved
Replies: 9
Views: 769

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...
by Spark
12 Jul 2018, 00:04
Forum: Ask For Help
Topic: 自定icon問題
Replies: 6
Views: 642

Re: 自定icon問題

Sorry, i use google translate to understand your question..

how about this..
put your AHK shortcut (*.INK File) into startup folder
by Spark
11 Jul 2018, 23:47
Forum: Ask For Help
Topic: StrSplit() from right? Topic is solved
Replies: 9
Views: 769

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 :=...
by Spark
11 Jul 2018, 21:15
Forum: Ask For Help
Topic: StrSplit() from right? Topic is solved
Replies: 9
Views: 769

StrSplit() from right? Topic is solved

hello all,
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
thanks in advance
by Spark
02 Jul 2018, 21:38
Forum: Ask For Help
Topic: Help with script
Replies: 4
Views: 364

Re: Help with script

how about this

Code: Select all

CoordMode, Pixel, Screen
delay := 500

^j::
ClickF(1115,264)
Send, Y
ClickF(694,321)
ClickF(470,841)
return


ClickF(x,y){
	global
MouseMove, %x%, %y%
Send, {LButton Down}
Sleep, 75
Send, {LButton Up}
Sleep, %delay%
}


Go to advanced search