Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/14/2012 in all areas

  1. Hi, I present you the Rainwave Player v1.2 (my first application - yay!) Rainwave is an interactive radio website that allows users to request, rate, and vote for songs in real time. The site hosts five separate radio streams and focuses completely on video game music. (wikipedia) I designed it to look exactly like the Rainwave bar: Features: * You can switch between all 5 stations * It's displaying currently playing track's Title and Album! (updating every 10 sec) * To switch, you can click station name or use a self-customizable hotkeys (default F1 to F5) * Application can be assigned: TopMost or not - toggle by hotkey (default F6) * You can drag it around and place it in any place you like (it's snapping to edges and other windows) (to drag, just hold the 'rainwave' logo picture) It has own player, so you don't need any other (like winamp or vlc) to listen the music. To customize the hotkeys, open "keys.ini" with a notepad and edit the {F1} etc. here's the key list: http://pastebin.com/raw.php?i=k3WDKyw6 Please share your thoughts Source: Download link (32 and 64 bit) with source: http://www.mediafire.com/?qsg11n4ho3i74ay Known problems: Few people have problems with 64-bit version, but for other 64-bit users it's working perfectly (strange). More info: Rainwave is seriously great website, with cool music Best wishes, VixinG
    1 point
  2. You could make it so when the window in question is clicked on (given focus) the window's focus is taken away and MS Windows' desktop is given focus instead. That way you can see the window but can't interact with it.
    1 point
  3. _GUICtrlTreeView_SetChildren($hTreeView, $hItem, False)
    1 point
  4. Well I have Explained in Brief What You Wanted To do Herez The Code #cs Well You Can Add THe Gui and Rest Of The Stuff I guess................... Herez A Simple Code to Get a Random Line From a File And Show it in a Msgbox/Splash........ #ce Global $sFile_Name='C:UsersabhishekDesktopPresentationAbhishekSCriptsPhoenix XL.txt' Global $sFile_Handle=FileOpen($sFile_Name) Global $sLine_Count=1 #cs The Following Loop is For Getting the Number of Lines Present in the File............ Note That @error is set to -1 when end of file is reached........ #ce While 1 $sRead=FileReadLine($sFile_Handle,$sLine_Count) ;ConsoleWrite('Read:'&$sRead&@TAB&'LineCount:'&$sLine_Count&@CRLF) Switch @error Case -1 ;ConsoleWrite('Encountered Error:'&@error&@TAB&'LineCount:'&$sLine_Count&@CRLF) $sLine_Count-=1 ExitLoop Case 0 ;ConsoleWrite('Encountered Error:'&@error&@TAB&'LineCount:'&$sLine_Count&@CRLF) Sleep(10) Case Else ;ConsoleWrite('Encountered Error:'&@error&@TAB&'LineCount:'&$sLine_Count&@CRLF) MsgBox(16,'Error','A Error Ocurred'&@CRLF&'Sorry For The Inconveniance') EndSwitch $sLine_Count+=1 WEnd #cs MsgBox Part ............. Will Show a Random Text......... #ce ConsoleWrite(_ShowRandomText($sFile_Handle,$sLine_Count)&@CRLF) Func _ShowRandomText($sHandle,$sLine_Number) Local $sRead=FileReadLine($sFile_Handle,Random(1,$sLine_Count,1)) If $sRead='' Then Return _ShowRandomText($sHandle,$sLine_Number) Return MsgBox(64,'Random Text',$sRead) EndFunc #cs Debugging Lines Have Been Commented Out Using a Semi-Colon Remove The Semi-Colon to get to know Whats Happening...... :) #ce ;ConsoleWrite($sLine_Count&@CRLF) ;ConsoleWrite($sFile_Handle&@CRLF) ;ConsoleWrite($sFile_Name&@CRLF)
    1 point
  5. JobEst

    LoginBkgSet UDF

    Hello, Guys. This UDF can change your background of login screen for Win7 freely, which can take effect immediately after this function has been performed successfully If you want to view the result, please press Win + L key combination ~ I just learn AU3 for a short time and not good at it ,so please let me know if you have some suggestion about this UDF Best Regards, JobEst #include-once ; #Function# ============================================================= ; name...........: _LoginBkgSet ; description ...: change the background of login screen for Win 7 freely ; syntax.........: _LoginBkgSet($sImgPath, $iButtonFront = 0, $iOverWrite = 1) ; parameters ....: $sImgPath - The source path of the Img file to change. (usually picture format is .Jpg format) ; $iButtonFront - this parameter determines which style of Button and front will be used ; |0 - gray opaque button , no shadow front (default) ; |1 – gray subtransparent button , shadow front ; |2 – color opaque button , no shadow front ; $iOverWrite - this parameter determines whether to overwrite Img file if they already exist. ; |0 - do not overwrite existing Img file ; |1 –overwrite existing Img file (default) ; Return Value ......: success – Return a 1 ; failure - Return a 0 and set @error as follows: ; @error - 1 = this function is not suitable for this system. ; 2 = Img file (path) is not exsiting ; 3 = Picture format is not .Jpg format ; 4 = size for Img file exceed 255 kilobyte ; 5 =$iButttonSet or $iOverWrite parameter is invalid ; 6 = unable to write requested value ; 7 =unable to copy requested Img file ; Author ........: lujd0429 <www.autoitx.com> ; Remarks .......: The background of login screen changed for Win 7 will take effect immediately after this function has been performed successfully If you want to view the result, please press Win + L key combination ~ ; ======================================================================= Func _LoginBkgSet($sImgPath, $iButtonFront = 0, $iOverWrite = 1) If Not @OSVersion == "Win_7" Then Return SetError(1,0,0) Else ; check if Img file(path) is exsiting If FileExists($sImgPath) = 0 Then Return SetError(2,0,0) ; check if the extension of Img file is .jpg format $sSplitPath = StringSplit($sImgPath, "." , 1) If Not($sSplitPath[($sSplitPath[0])] == "jpg" OR "JPG" OR "jpeg" OR "JPEG") Then Return SetError(3,0,0) [color=#008000] ; check if size for Img files exceed 255 kilobyte[/color] If (FileGetSize($sImgPath)/1024) > 255 Then Return SetError(4,0,0) If @OSArch == "X64" Then $sOSArch = "64" Else $sOsArch = "" Endif ; check if $ButttonSet or $OverWrite parameter is integral value If Not (IsInt($iButtonFront) And IsInt($iOverWrite)) Then Return SetError(5,0,0) Local $Return = "" $Return = RegWrite("HKLM"&$sOsArch&"SOFTWAREMicrosoftWindowsCurrentVersionAuthenticationLogonUI","ButtonSet","REG_DWORD",$iButtonFront) And _ RegWrite("HKLM"&$sOsArch&"SOFTWAREMicrosoftWindowsCurrentVersionAuthenticationLogonUIBackground","OEMBackground","REG_DWORD",1) If Not ($Return = 1) Then Return SetError(6,0,0) $Return = FileCopy($sImgPath,@SystemDir&"oobeInfoBackgroundsbackgroundDefault.jpg",($iOverWrite) + 8) If Not ($Return = 1) Then Return SetError(7,0,0) Endif Return $Return EndFunc #include "LoginBkgSet.au3" _LoginBkgSet(@ScriptDir & "Demo.jpg", 2, 1)LoginBkgSet.au3
    1 point
  6. freMea

    Copy UDF

    You're example doesn't work at home (XP PRO SP3, AutoIt v3.3.6.1) "No files were copied". The source folder contains 5 files and the target folder is empty. What did I miss?
    1 point
×
×
  • Create New...