找到了,研究一下了#include <IE.au3>
#include <WindowsConstants.au3>
#include "Marquee.au3"
Global $i = 0
Global $Array[5] = ["white","green","blue","red","yellow"] ;字体颜色
$pos = WinGetPos("[class:Shell_TrayWnd]")
$Width = 695
$Height = 165
$Left = @DesktopWidth - 705
$Top = @DesktopHeight - 175 - $pos[3]
$Jpg = "http://www.autobatch.org/bbs/images/baishe_logo.jpg"
$oIE = _IECreateEmbedded()
;无边框,层叠窗口的属性
$gui = GUICreate("缘鸟脚本",$Width,$Height,$Left,$Top,$WS_POPUP, $WS_EX_LAYERED)
GUISetBkColor(0xABCDEF) ;设置背景透明,层叠窗口才有效
GUICtrlCreateGroup ("", 1, 1, 680,150)
$obj = GUICtrlCreateObj($oIE,10, 15, 660, 90)
_IENavigate($oIE,$Jpg)
$oIE.document.body.scroll="no"
_GUICtrlMarquee_SetScroll(Default,Default, Default, 2) ;2是滚动的速度
_GUICtrlMarquee_SetDisplay(1,$Array[$i],0xABCDEF)
$Marquee = _GUICtrlMarquee_Create("欢迎访问缘鸟脚本社区 释放你的双手,让一切自动化!", 10, 120, 660, 20)
_WinAPI_SetLayeredWindowAttributes($gui, 0xABCDEF)
;~ AdlibRegister ("SetFontColor",1000)
GUISetState()
Do
Until GUIGetMsg()=-3
;~ Func SetFontColor()
;~ $i += 1
;~ If $i > 4 Then $i = 0
;~ $Marquee.document.body.style.color = $Array[$i]
;~ EndFunc
|