Jump to content



Photo

"Deal-A-Day" Sites


  • Please log in to reply
9 replies to this topic

#1 JLogan3o13

JLogan3o13

    Down to 98

  • MVPs
  • 2,094 posts

Posted 19 June 2012 - 07:54 PM

A couple years ago a friend of mine got me into checking out "One Deal a Day" sites such as Woot and SlickDeals. The list has since grown to include 22 sites, plus several News sites, plus (of course!) this forum, and I found that I despised moving back and forth among all the IE tabs. I came up with this relatively simple embedded IE GUI that allows for switching back and forth more quickly. You may need to adjust resolution, as mine is set pretty high.

Plain Text         
#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <IE.au3> Local $oIE = _IECreateEmbedded() Global $myGUI = GUICreate("Deal A Day Sites", 1915, 1024, 1, 1,$WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN) GUICtrlCreateObj($oIE, 10, 120, 1885, 900) Local $GUI_Button_1 = GUICtrlCreateButton("1 Sale a Day", 5, 10, 100, 30) Local $GUI_Button_2 = GUICtrlCreateButton("13 Deals", 110, 10, 100, 30) Local $GUI_Button_3 = GUICtrlCreateButton("Daily Steals", 215, 10, 100, 30) Local $GUI_Button_4 = GUICtrlCreateButton("Kids.Woot", 320, 10, 100, 30) Local $GUI_Button_5 = GUICtrlCreateButton("MidnightBox", 425, 10, 100, 30) Local $GUI_Button_6 = GUICtrlCreateButton("MWave", 530, 10, 100, 30) Local $GUI_Button_7 = GUICtrlCreateButton("SlickDeals", 635, 10, 100, 30) Local $GUI_Button_8 = GUICtrlCreateButton("ThingFling", 740, 10, 100, 30) Local $GUI_Button_9 = GUICtrlCreateButton("Woot", 845, 10, 100, 30) Local $GUI_Button_10 = GUICtrlCreateButton("Yugster", 950, 10, 100, 30) Local $GUI_Button_11 = GUICtrlCreateButton("AntiRebate", 1055, 10, 100, 30) Local $GUI_Button_12 = GUICtrlCreateButton("Ben's Bargains", 1160, 10, 100, 30) Local $GUI_Button_13 = GUICtrlCreateButton("Deal Xtreme", 1265, 10, 100, 30) Local $GUI_Button_14 = GUICtrlCreateButton("CowBoom", 1370, 10, 100, 30) Local $GUI_Button_15 = GUICtrlCreateButton("Easy Street Deals", 1475, 10, 100, 30) Local $GUI_Button_16 = GUICtrlCreateButton("EjectIT", 1580, 10, 100, 30) Local $GUI_Button_17 = GUICtrlCreateButton("Geeks.com", 1685, 10, 100, 30) Local $GUI_Button_18 = GUICtrlCreateButton("Ice Monkey", 1790, 10, 100, 30) Local $GUI_Button_19 = GUICtrlCreateButton("LocoBuy", 5, 45, 100, 30) Local $GUI_Button_20 = GUICtrlCreateButton("MeritLine", 110, 45, 100, 30) Local $GUI_Button_21 = GUICtrlCreateButton("I Have to Have That", 215, 45, 110, 30) Local $GUI_Button_22 = GUICtrlCreateButton("Promotional Products", 330, 45, 140, 30) Local $GUI_Button_23 = GUICtrlCreateButton("Giveaway of the Day", 475, 45, 140, 30) Local $GUI_Button_24 = GUICtrlCreateButton("XKCD", 740, 45, 100, 30) Local $GUI_Button_25 = GUICtrlCreateButton("News of the Weird", 845, 45, 100, 30) Local $GUI_Button_26 = GUICtrlCreateButton("Written Weird", 950, 45, 100, 30) Local $GUI_Button_27 = GUICtrlCreateButton("Tom's Hardware", 1055, 45, 100, 30) Local $GUI_Button_28 = GUICtrlCreateButton("AutoIT General Help", 1260, 45, 110, 30) Local $GUI_Button_29 = GUICtrlCreateButton("AutoIt Chat", 1375, 45, 100, 30) Local $GUI_Button_30 = GUICtrlCreateButton("AutoIt User Moderation", 1480, 45, 120, 30) Local $GUI_Button_31 = GUICtrlCreateButton("AutoIt GUI", 1605, 45, 100, 30) Local $GUI_Button_32 = GUICtrlCreateButton("AutoIt Example Scripts", 1710, 45, 120, 30) Local $GUI_Button_33 = GUICtrlCreateButton("Back", 655, 85, 120, 30) Local $GUI_Button_34 = GUICtrlCreateButton("Fwd", 780, 85, 120, 30) Local $GUI_Button_35 = GUICtrlCreateButton("Stop", 905, 85, 100, 30) Local $GUI_Button_36 = GUICtrlCreateButton("Refresh", 1010, 85, 100, 30) Local $GUI_Button_37 = GUICtrlCreateButton("Exit", 1115, 85, 100, 30) GUISetState() _IENavigate($oIE, "<a href='http://www.google.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.google.com"</a>) While 1      Local $msg = GUIGetMsg()          Select          Case $msg = $GUI_EVENT_CLOSE              Exit          Case $msg = $GUI_Button_1              _IENavigate($oIE, "<a href='http://1saleaday.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://1saleaday.com"</a>)          Case $msg = $GUI_Button_2              _IENavigate($oIE, "<a href='http://www.13deals.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.13deals.com"</a>)          Case $msg = $GUI_Button_3              _IENavigate($oIE, "<a href='http://www.dailysteals.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.dailysteals.com"</a>)          Case $msg = $GUI_Button_4              _IENavigate($oIE, "<a href='http://kids.woot.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://kids.woot.com"</a>)          Case $msg = $GUI_Button_5              _IENavigate($oIE, "<a href='http://www.midnightbox.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.midnightbox.com"</a>)          Case $msg = $GUI_Button_6              _IENavigate($oIE, "<a href='http://www.mwave.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.mwave.com"</a>)          Case $msg = $GUI_Button_7              _IENavigate($oIE, "<a href='http://www.slickdeals.net' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.slickdeals.net"</a>)          Case $msg = $GUI_Button_8              _IENavigate($oIE, "<a href='http://www.thingfling.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.thingfling.com"</a>)          Case $msg = $GUI_Button_9              _IENavigate($oIE, "<a href='http://www.woot.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.woot.com"</a>)          Case $msg = $GUI_Button_10              _IENavigate($oIE, "<a href='http://www.yugster.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.yugster.com"</a>)          Case $msg = $GUI_Button_11              _IENavigate($oIE, "<a href='http://www.antirebate.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.antirebate.com"</a>)          Case $msg = $GUI_Button_12              _IENavigate($oIE, "<a href='http://bensbargains.net' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://bensbargains.net"</a>)          Case $msg = $GUI_Button_13              _IENavigate($oIE, "<a href='http://www.dealextreme.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.dealextreme.com"</a>)          Case $msg = $GUI_Button_14              _IENavigate($oIE, "<a href='http://www.cowboom.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.cowboom.com"</a>)          Case $msg = $GUI_Button_15          _IENavigate($oIE, "<a href='http://www.easystreetdeals.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.easystreetdeals.com"</a>)          Case $msg = $GUI_Button_16              _IENavigate($oIE, "<a href='http://www.ejectit.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.ejectit.com"</a>)          Case $msg = $GUI_Button_17              _IENavigate($oIE, "<a href='http://www.geeks.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.geeks.com"</a>)          Case $msg = $GUI_Button_18          _IENavigate($oIE, "<a href='http://www.icemonkey.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.icemonkey.com"</a>)          Case $msg = $GUI_Button_19              _IENavigate($oIE, "<a href='http://www.locobuy.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.locobuy.com"</a>)          Case $msg = $GUI_Button_20              _IENavigate($oIE, "<a href='http://www.meritline.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.meritline.com"</a>)          Case $msg = $GUI_Button_21              _IENavigate($oIE, "<a href='http://www.thatdailydeal.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.thatdailydeal.com"</a>)          Case $msg = $GUI_Button_22              _IENavigate($oIE, "<a href='http://www.trypromotionalproducts.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.trypromotionalproducts.com"</a>)          Case $msg = $GUI_Button_23              _IENavigate($oIE, "<a href='http://www.giveawayoftheday.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.giveawayoftheday.com"</a>)          Case $msg = $GUI_Button_24              _IENavigate($oIE, "<a href='http://xkcd.com' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://xkcd.com"</a>)          Case $msg = $GUI_Button_25              _IENavigate($oIE, "<a href='http://www.newsoftheweird.com/' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.newsoftheweird.com/"</a>)          Case $msg = $GUI_Button_26          _IENavigate($oIE, "<a href='http://www.jaygarmon.net/' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.jaygarmon.net/"</a>)          Case $msg = $GUI_Button_27              _IENavigate($oIE, "<a href='http://www.tomshardware.com/' class='bbc_url' title='External link' rel='norewrite nofollow external'>http://www.tomshardware.com/"</a>)          Case $msg = $GUI_Button_28              _IENavigate($oIE, "<a href='http://www.autoitscript.com/forum/forum/2-general-help-and-support/' class='bbc_url' title='' rel='norewrite'>http://www.autoitscript.com/forum/forum/2-general-help-and-support/"</a>)          Case $msg = $GUI_Button_29              _IENavigate($oIE, "<a href='http://www.autoitscript.com/forum/forum/6-chat/' class='bbc_url' title='' rel='norewrite'>http://www.autoitscript.com/forum/forum/6-chat/"</a>)          Case $msg = $GUI_Button_30              _IENavigate($oIE, "<a href='http://www.autoitscript.com/forum/forum/28-user-moderation/' class='bbc_url' title='' rel='norewrite'>http://www.autoitscript.com/forum/forum/28-user-moderation/"</a>)          Case $msg = $GUI_Button_31              _IENavigate($oIE, "<a href='http://www.autoitscript.com/forum/forum/10-graphical-user-interface-gui-help-and-support/' class='bbc_url' title='' rel='norewrite'>http://www.autoitscript.com/forum/forum/10-graphical-user-interface-gui-help-and-support/"</a>)          Case $msg = $GUI_Button_32              _IENavigate($oIE, "<a href='http://www.autoitscript.com/forum/forum/9-example-scripts/' class='bbc_url' title='' rel='norewrite'>http://www.autoitscript.com/forum/forum/9-example-scripts/"</a>)          Case $msg = $GUI_Button_33              _IEAction($oIE, "back")          Case $msg = $GUI_Button_34              _IEAction($oIE, "forward")          Case $msg = $GUI_Button_35              _IEAction($oIE, "stop")          Case $msg = $GUI_Button_36              _IEAction($oIE, "refresh")          Case $msg = $GUI_Button_37              Exit      EndSelect WEnd

Edited by JLogan3o13, 25 June 2012 - 07:06 PM.

J.I spent 10 minutes reviewing code and thinking "What kind of drugs is this guy on?" before realizing it was something I wrote.My Scripts:Include Source with Compiled Script, Disk Maintenance for Windows XP, "Deal-A-Day" Sites, SCCM 2007 Front End, Windows Firewall UDF





#2 ileandros

ileandros

    Universalist

  • Banned (NOT IN USE)
  • 592 posts

Posted 21 June 2012 - 09:07 PM

To be honest i dindnt found it very iteresting but u have to add scrollbars cuz not all the pc can display the entire website(screen)
I feel nothing.It feels great.

#3 JLogan3o13

JLogan3o13

    Down to 98

  • MVPs
  • 2,094 posts

Posted 21 June 2012 - 09:32 PM

As I mentioned, unless you're running at 1900 x 1080, it'll definitely need some tweaking ;)
J.I spent 10 minutes reviewing code and thinking "What kind of drugs is this guy on?" before realizing it was something I wrote.My Scripts:Include Source with Compiled Script, Disk Maintenance for Windows XP, "Deal-A-Day" Sites, SCCM 2007 Front End, Windows Firewall UDF

#4 robinsiebler

robinsiebler

    Adventurer

  • Active Members
  • PipPip
  • 102 posts

Posted 21 June 2012 - 10:41 PM

I tried it, it is pretty cool. However, even though I adjusted the resolution to 1600x1200, there are 2 small problems: the buttons on the far right (whatever is to the right of "Easy Street Deals") go off the screen and there is a wide margin at the bottom of the screen that would be better put to use by the browser.

Edited by robinsiebler, 21 June 2012 - 10:42 PM.


#5 abberration

abberration

    Prodigy

  • Active Members
  • PipPipPip
  • 183 posts

Posted 22 June 2012 - 12:36 AM

Not a bad idea. I run 1920x1080, so it looked perfect on my screen.

However, you missed a deal site: http://www.bitsdujour.com/

#6 JLogan3o13

JLogan3o13

    Down to 98

  • MVPs
  • 2,094 posts

Posted 22 June 2012 - 02:53 PM

However, you missed a deal site: http://www.bitsdujour.com/


Yes, I miss that one ;) The network I am on lately does not allow some sites, so I had to trim the list.
J.I spent 10 minutes reviewing code and thinking "What kind of drugs is this guy on?" before realizing it was something I wrote.My Scripts:Include Source with Compiled Script, Disk Maintenance for Windows XP, "Deal-A-Day" Sites, SCCM 2007 Front End, Windows Firewall UDF

#7 ileandros

ileandros

    Universalist

  • Banned (NOT IN USE)
  • 592 posts

Posted 25 June 2012 - 09:14 AM

Why us modify it...??? You can add a menu,option or sth else i dont know, with screen resolution so simple users can modify it by them selfs without having to edit ur script or you can simply add scrollbars...
It's ur script not ours. Anyway gl
I feel nothing.It feels great.

#8 JLogan3o13

JLogan3o13

    Down to 98

  • MVPs
  • 2,094 posts

Posted 25 June 2012 - 07:02 PM

For someone who "didn't find it very interesting" you sure are hanging around a lot on this thread :D If it is not your cup of tea, so be it. Wander elsewhere.
  • Melba23 likes this
J.I spent 10 minutes reviewing code and thinking "What kind of drugs is this guy on?" before realizing it was something I wrote.My Scripts:Include Source with Compiled Script, Disk Maintenance for Windows XP, "Deal-A-Day" Sites, SCCM 2007 Front End, Windows Firewall UDF

#9 ileandros

ileandros

    Universalist

  • Banned (NOT IN USE)
  • 592 posts

Posted 26 June 2012 - 10:08 PM

I am trying to be smart neither judging you dude. Just gave an idea. Do whatever you want

EDIT: I am NOT trying to be smart.... LOL just saw it!!!!!!!!

Edited by ileandros, 29 June 2012 - 11:17 AM.

I feel nothing.It feels great.

#10 Skrip

Skrip

    Psychonaut

  • Active Members
  • PipPipPipPipPipPip
  • 2,340 posts

Posted 29 June 2012 - 07:37 AM

Why not have the program poll what the current deal is on each website and display them on a GUI instead of having to go through and manually look at each one?

We're trapped in the belly of this horrible machine.And the machine is bleeding to death...





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users