AutoIt Forums: Mini Pandora Radio 2.0 - AutoIt Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Mini Pandora Radio 2.0 Rate Topic: ***** 1 Votes

#1 User is offline   frostfel 

  • Member
  • Pip
  • Group: Full Members
  • Posts: 46
  • Joined: 06-September 07

Posted 21 September 2007 - 11:18 PM

This is real simple script creates GUI with a embedded internet explorer show pandora.com. I made the embedded ie 1024x1024 then positioned it so that it only showed the radio

Update 2.0: Added minimize to tray and exit from tray
Update 2.1: Changed the way the GUI gets msg

[ code='text' ]    ( ExpandCollapse - Popup )
#Region;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_icon=pandora.ico #AutoIt3Wrapper_outfile=Pandora.exe #AutoIt3Wrapper_Res_Description=Mini Pandora Radio #AutoIt3Wrapper_Res_Fileversion=2.0.0.0 #EndRegion;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Res_Icon_Add=..\favicon.ico ; Mini Pandora Radio ; Created By: Frostfel #include <GUIConstants.au3> #Include <Constants.au3> #include <IE.au3> Opt("TrayMenuMode", 1) Opt("TrayOnEventMode", 1) Opt("GUIOnEventMode", 1) Opt("WinTitleMatchMode", 3) TraySetToolTip("Pandora Radio") TraySetState(2) $PanTask = _IECreateEmbedded() $Pandora = GUICreate("Pandora Radio", 608, 242) $PanGUI = GUICtrlCreateObj($PanTask, -62, -136, 1024, 1024) GUISetState(@SW_SHOW, $Pandora) _IENavigate ($PanTask, "http://www.pandora.com", 0) $TrayMenu_Exit = TrayCreateItem("Exit") TraySetClick(8) Func Tray_Exit()     Exit EndFunc Func Tray_Restore()     GUISetState(@SW_SHOW, $Pandora)     TraySetState(2)     GUISetState(@SW_RESTORE, $Pandora) EndFunc Func GUI_Exit()     Exit EndFunc Func GUI_Hide()     GUISetState(@SW_HIDE, $Pandora)     TraySetState(1) EndFunc TrayItemSetOnEvent($TrayMenu_Exit, "Tray_Exit") TraySetOnEvent($TRAY_EVENT_PRIMARYDOUBLE, "Tray_Restore") GUISetOnEvent($GUI_EVENT_CLOSE, "GUI_Exit") GUISetOnEvent($GUI_EVENT_MINIMIZE, "GUI_Hide") While 1     Sleep(1000000) WEnd

This post has been edited by frostfel: 09 October 2007 - 09:04 PM


#2 User is offline   gseller 

  • Mass Spammer!
  • PipPipPipPipPipPip
  • Group: Full Members
  • Posts: 1,051
  • Joined: 16-March 07

Posted 22 September 2007 - 03:52 AM

I like it, everything just stays in the gui. LOL Cool! :dance:

#3 User is offline   frostfel 

  • Member
  • Pip
  • Group: Full Members
  • Posts: 46
  • Joined: 06-September 07

Posted 22 September 2007 - 05:19 AM

View Postgesller, on Sep 21 2007, 10:52 PM, said:

I like it, everything just stays in the gui. LOL Cool! :dance:


thxs

#4 User is offline   JamesBrooks 

  • Do You Wanna Be A Human Controlling An Avatar?
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 7,783
  • Joined: 24-November 06
  • Gender:Male
  • Location:Null

Posted 22 September 2007 - 10:31 AM

Cool!!!!

Offtopic
Just thought I mention 1542 hours on Wow? OMFG!!!!! Thats crazy what level are you? I dont play it but thats just ridiculous!

#5 User is offline   wangbu 

  • Newbie
  • Group: Full Members
  • Posts: 8
  • Joined: 22-September 07

Posted 22 September 2007 - 11:31 AM

cool :D

#6 User is offline   AlmarM 

  • Botting Freak
  • PipPipPipPipPipPip
  • Group: Full Members
  • Posts: 1,116
  • Joined: 10-September 07
  • Gender:Male
  • Location:BinaryToString("0x4E656465726C616E64")

Posted 22 September 2007 - 03:31 PM

You sould see my Entire Gaming History ^^

Gameplay Hours
Game Past 7 Days Total v
Wolfenstein: Enemy Territory < 1 hour 792 hours
MapleStory - 234 hours
2Moons - 102 hours
World of Warcraft 3 hours 63 hours
Call of Duty 2 Multiplayer < 1 hour 28 hours
Enemy Territory - QUAKE Wars Demo 14 hours 21 hours
The Lord of the Rings - The Battle for Middle-Earth - 12 hours
Battlefield 2 Demo - 10 hours
Trickster Revolution - 10 hours
GunZ: The Duel - 8 hours
Soldier of Fortune - 6 hours
Return to Castle Wolfenstein Single Player - 6 hours
Call of Duty 2 Single Player - 5 hours
ijji GunZ - 4 hours
Warcraft III - The Frozen Throne - 3 hours
Warcraft III - 2 hours
Brothers in Arms - 2 hours
PokerStars.com - 1 hour
Call of Duty 2 Single Player Demo - 1 hour
CABAL Online (Europe) - < 1 hour
Rollercoaster Tycoon - < 1 hour
Return to Castle Wolfenstein Multiplayer - < 1 hour
Pinball - < 1 hour
Solitaire - < 1 hour
C&C Generals - Zero Hour - < 1 hour

My Xfire Profile :P

#7 User is offline   frostfel 

  • Member
  • Pip
  • Group: Full Members
  • Posts: 46
  • Joined: 06-September 07

Posted 22 September 2007 - 04:15 PM

Thxs for replys everyone
I have 70 Hunter

#8 User is offline   Achilles 

  • Achilles == Ichigo
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,695
  • Joined: 23-July 06
  • Location:Quito, Ecuador

Posted 22 September 2007 - 07:29 PM

Quote

Dear Pandora Visitor,

We are deeply, deeply sorry to say that due to licensing constraints, we can no longer allow access to Pandora for most listeners located outside of the U.S. We will continue to work diligently to realize the vision of a truly global Pandora, but for the time being we are required to restrict its use. We are very sad to have to do this, but there is no other alternative.


<_< Oh well...

#9 User is online   Jon 

  • Do you wanna get punched in the face by my avatar?
  • Icon
  • Group: Admin
  • Posts: 8,378
  • Joined: 02-December 03
  • Gender:Male

Posted 22 September 2007 - 07:30 PM

View PostJamesB, on Sep 22 2007, 10:31 AM, said:

Cool!!!!

Offtopic
Just thought I mention 1542 hours on Wow? OMFG!!!!! Thats crazy what level are you? I dont play it but thats just ridiculous!

2640 :whistle:

#10 User is offline   Nahuel 

  • To Err is human, to Arr is pirate.
  • PipPipPipPipPipPip
  • Group: Full Members
  • Posts: 1,841
  • Joined: 25-June 07
  • Location:Argentina

Posted 23 September 2007 - 08:32 AM

Dear Pandora Visitor,

We are deeply, deeply sorry to say that due to licensing constraints, we can no longer allow access to Pandora for most listeners located outside of the U.S. We will continue to work diligently to realize the vision of a truly global Pandora, but for the time being we are required to restrict its use. We are very sad to have to do this, but there is no other alternative.

same here :(

#11 User is online   BrettF 

  • My Drunk Monkey Guerilla is gonna getcha!
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 7,331
  • Joined: 02-October 06
  • Gender:Male
  • Location:Brisbane, Australia

Posted 23 September 2007 - 09:25 AM

View PostJon, on Sep 23 2007, 04:30 AM, said:

2640 :whistle:

Never played it :P

#12 User is offline   RazerM 

  • cowinkeedenky - coincidence?
  • PipPipPipPipPipPip
  • Group: Full Members
  • Posts: 1,240
  • Joined: 27-February 06
  • Location:Scotland

Posted 23 September 2007 - 04:17 PM

Nice script.

#13 User is offline   frostfel 

  • Member
  • Pip
  • Group: Full Members
  • Posts: 46
  • Joined: 06-September 07

Posted 09 October 2007 - 01:14 AM

Update 2.0: Added minimize to tray and exit from tray

#14 User is offline   Skizmata 

  • Advanced Member
  • PipPip
  • Group: Full Members
  • Posts: 159
  • Joined: 03-July 07
  • Location:Ohio

Posted 12 October 2007 - 01:48 PM

Thanks Frostfel! Good work, I actually use this constantly at work. IE and Firefox are seen as signs of non-productive activity by my peers however the Pandora icon (I swiped pandora,s icon and compiled your script) is not.

The only problem I have is sometimes it wont redraw the frame when it gains focus and you have to drag your mouse around making it refresh areas. Anyone have any ideas for fixing this? If I knew of a IE function to tell it to redraw it would be easy enough but I'm new to this and haven't done anything with IE manipulation.

Again, Thanks and good work!

#15 User is offline   Rasmus 

  • Member
  • Pip
  • Group: Full Members
  • Posts: 13
  • Joined: 24-March 07

Posted 20 December 2007 - 08:31 PM

worked for me, just could'nt sign in, but i dont guess thats a probem your app makes ;D thx usefull, and unpointless :D

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users