Search found 509 matches

by noname
15 Dec 2017, 08:25
Forum: Scripts and Functions
Topic: fun monitor bitcoin gain
Replies: 4
Views: 1038

fun monitor bitcoin gain

https://i.imgur.com/GLFljF3.png fun monitor bitcoin gain ( or loss :cry: ) following from post : https://autohotkey.com/boards/viewtopic.php?f=5&t=41414 https://i.imgur.com/AtZEuKO.png update 16-12-2017 : There was as an embarrassing mistake it gave a "gain" as "loss" and "loss" as "gain" :o Bitcoi...
by noname
15 Dec 2017, 06:41
Forum: Ask For Help
Topic: message when: print job is send to a printer
Replies: 7
Views: 826

Re: message when: print job is send to a printer

Creating a notification event when a printjob is send : example: #Persistent winmgmts := ComObjGet("winmgmts:") ComObjConnect(createSink := ComObjCreate("WbemScripting.SWbemSink"), "PrintProcessCreate_") interval := 10 winmgmts.ExecNotificationQueryAsync(createSink , "Select * from __InstanceCreatio...
by noname
15 Dec 2017, 05:33
Forum: Ask For Help
Topic: Monitor Bitcoin Price
Replies: 8
Views: 1484

Re: Monitor Bitcoin Price

Interesting to have a real graphic update onscreen , i have no clue how it varies in a day but i will check it out today :) example gives the response and extract the value: url=https://api.coindesk.com/v1/bpi/currentprice/USD.json UrlDownloadToVar(URL, response) RegExMatch( response,"U)float.*(\d+....
by noname
14 Dec 2017, 04:56
Forum: Ask For Help
Topic: Blinking image
Replies: 7
Views: 721

Re: Blinking image

You could try the code given in the helpfile as demo for loadpicture , i would use gdip to display changing images but it has a learning curve ..... https://autohotkey.com/docs/commands/LoadPicture.htm for a gdip example see BlackHolyMan 's code : https://autohotkey.com/board/topic/90188-gui-picture...
by noname
12 Dec 2017, 03:56
Forum: Ask For Help
Topic: Is it possible to communicate between 2 pcs via AHK?
Replies: 4
Views: 806

Re: Is it possible to communicate between 2 pcs via AHK?

If the text is small you can use a "mailslot" :
https://autohotkey.com/board/topic/5547 ... mailslots/

There is a wrapper made by coco on the forum with links to microsoft documentation.
by noname
11 Dec 2017, 09:07
Forum: Ask For Help
Topic: Gdip_ImageSearch, i am unable to find all instances Topic is solved
Replies: 8
Views: 991

Re: Gdip_ImageSearch, i am unable to find all instances Topic is solved

Image

The needle image is not the same as the composite , if you crop the border, it will find it even with the simple standard ahk imagesearch without having to use variation.
by noname
11 Dec 2017, 07:15
Forum: Ask For Help
Topic: I need help! I need a script for ListaFirme & SnagIt recursively accessed
Replies: 8
Views: 804

Re: I need help! I need a script for ListaFirme & SnagIt recursively accessed

I would go for the imagesearch + click way , there has been some interesting code recently by vamzicool : https://autohotkey.com/boards/viewtopic.php?t=39212 You only need a reliable unique image of the button you want to click. imageClick(imagePath,offsetX=10,offsetY=10) { Sleep, 100 ImageSearch, F...
by noname
11 Dec 2017, 06:35
Forum: Ask For Help
Topic: Best way for client-server interaction
Replies: 6
Views: 810

Re: Best way for client-server interaction

Thanks Jhuy Tang for the clarification .If it is text data there is another way short off the traditional route Masonjar13 posted .

https://autohotkey.com/board/topic/5547 ... mailslots/

I used it on winXp but never tried on win10 or win8.
by noname
11 Dec 2017, 05:19
Forum: Ask For Help
Topic: Best way for client-server interaction
Replies: 6
Views: 810

Re: Best way for client-server interaction

I do not understand transferring files between two scripts but if you mean "data" you can use the client/server example from the helpfile: ; Example: Send a string of any length from one script to another. This is a working example. ; To use it, save and run both of the following scripts then press ...
by noname
06 Dec 2017, 08:37
Forum: Ask For Help
Topic: Gdip_ImageSearch, i am unable to find all instances Topic is solved
Replies: 8
Views: 991

Re: Gdip_ImageSearch, i am unable to find all instances Topic is solved

It is quite tricky to choose the needle ,if you transcolor on the haystack png you can see they are all different: screenshot : https://i.imgur.com/cPiFCxl.png phaystack:=Gdip_CreateBitmapFromFile("haystack.png") msgbox % Gdip_SetBitmapTransColor(phaystack,0xfd7e00) Gdip_SaveBitmapToFile(phaystack, ...
by noname
06 Dec 2017, 03:38
Forum: Ask For Help
Topic: Google Translate code slow and erroneous
Replies: 19
Views: 3201

Re: Google Translate code slow and erroneous

Thanks teadrinker for posting , impressive it will take a while unraveling this code :shock:
by noname
05 Dec 2017, 07:48
Forum: Ask For Help
Topic: Compare dates
Replies: 6
Views: 875

Re: Compare dates

Convert to unix and compare. now:=Date2unix("5.12.2017") t1:=Date2unix( "2.12.2017") - now t2:=Date2unix( "6.12.2017") - now ;msgbox % Date2unix("5.12.2017") " " Date2unix( "2.12.2016") " " Date2unix( "1.12.2017") if ((t1-t2)>0) msgbox t1 is later else msgbox t2 is later date2unix(date){ m:=strsplit...
by noname
04 Dec 2017, 02:41
Forum: Ask For Help
Topic: Gdip_ImageSearch, i am unable to find all instances Topic is solved
Replies: 8
Views: 991

Re: Gdip_ImageSearch, i am unable to find all instances Topic is solved

Image

If text is not included in needle it seems to find all five images .
by noname
03 Dec 2017, 03:12
Forum: Ask For Help
Topic: Does something like this exist, would be helpful, a preview tool Topic is solved
Replies: 3
Views: 592

Re: Does something like this exist, would be helpful, a preview tool Topic is solved

https://i.imgur.com/cme2ZQU.png Ahhh ...! The Constantine tool!! Never heard of that :lolno: I guess it was published on the only day you did not come to the forum BoBo ..... :idea: @Georgie Munteer yes it would be interesting to have a preview ( unfortunately i do not know an existing script that ...
by noname
02 Dec 2017, 04:29
Forum: Offtopic
Topic: Anime
Replies: 48
Views: 18970

Re: Anime

Image

Wallpaper for Akira fans :
https://www.deviantart.com/art/Akira-374453667


btw anyone found a good anime for the fall 2017 season? I am only following "Just Because" for the moment.
by noname
01 Dec 2017, 05:37
Forum: Ask For Help
Topic: send a command to function to execute it
Replies: 5
Views: 696

Re: send a command to function to execute it

A command cannot be run straight from text stored into a variable. coco posted a solution some time ago, i tried it on win10 pro ahk 32bit and it still works. ; https://autohotkey.com/boards/viewtopic.php?t=5090 string_to_run:="run, notepad.exe" ExecScript(string_to_run) ExecScript(script, args:=""...
by noname
30 Nov 2017, 11:36
Forum: Ask For Help
Topic: What's wrong here? Topic is solved
Replies: 2
Views: 303

Re: What's wrong here? Topic is solved

Are you ok with using 1 month = 30 days and 6 months = 180 days ? If you use multiline hotstring definition you need as last line "return" before the next hotstring code. example: :*:-m:: m := A_Now m += -30, days FormatTime, m, %m%, >yyyy-MM-dd SendInput %m% return I cannot see how you configured t...
by noname
23 Nov 2017, 09:31
Forum: Scripts and Functions
Topic: Convert A_TickCount
Replies: 24
Views: 4011

Re: Convert A_TickCount

Code: Select all

;StrFromTimeInterval function  https://msdn.microsoft.com/en-us/library/windows/desktop/bb759980(v=vs.85).aspx

VarSetCapacity(uptime,256,0)
DllCall("Shlwapi.dll\StrFromTimeInterval",str,uptime, UInt,256, UInt,A_TickCount , Int,5)

Msgbox % uptime
by noname
21 Nov 2017, 11:05
Forum: Ask For Help
Topic: object removeAt Topic is solved
Replies: 4
Views: 590

Re: object removeAt Topic is solved

Thanks :)
by noname
21 Nov 2017, 10:40
Forum: Ask For Help
Topic: object removeAt Topic is solved
Replies: 4
Views: 590

Re: object removeAt Topic is solved

Thank you ,Capn Odin ,i would never have thought about that! Can you take a look at this solution , using m to store the result is this allowed or could it produce side effects? m:=exist_mp3(m) exist_mp3(z){ x:={} loop, % z.length() if FileExist(z[A_Index]) x.push(z[A_Index]) return x } Thanks in ad...

Go to advanced search