Очистка буфера после закрытия файрфокса

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Очистка буфера после закрытия файрфокса

Re: Очистка буфера после закрытия файрфокса

Post by Georgy88 » 22 Nov 2017, 12:30

Use spy C:\Program Files\AutoHotkey\AU3_Spy.exe to read info from window
Take value from that and see what happens
IfWinActive ahk_class %mozilla value which responds reliably%
{
traytip,, mozzy is open
}
else
{
traytip,,
Msgbox, it closed
}

Or you can do something along those lines and parse the result

WinGet,WinList,List,,,Program Manager
loop,%WinList%
{
Current:=WinList%A_Index%
WinGetTitle,WinTitle,ahk_id %Current%
If WinTitle = Start
none =
else If WinTitle =__MAIN__
none =
else If WinTitle
{
data.= WinTitle "`n"
}
}

Очистка буфера после закрытия файрфокса

Post by user11 » 21 Nov 2017, 08:50

Здравствуйте, подскажите можно ли написать скрипт, который бы определял когда закрывается firefox и очищал буфер?

Top