Want to help me PRANK my brother?

Discussion in 'Mac Apps and Mac App Store' started by DerekHostalek, Jan 6, 2009.

  1. DerekHostalek macrumors member

    Joined:
    Jan 3, 2009
    Location:
    Illinois
    #1
    Here's the story- ok, so my brother is staying on my couch for a couple a weeks. Well, two days ago, I set up an account for him, enabled parental controls, allowing him to only use two apps; Garageband, and Safari. EVERYTHING else is blocked, and I logged his Websites... Well as you could imagine, a guy with no girlfriend, who may be home with a computer while his brother goes to work, can get... lonely.

    So here's the prank- I want to write a script that would automatically take a picture, about five minutes after he visits a certain website (which I'm only assuming is his favorite...), then make it his background, while not being able to change it. (I'm pretty sure it would just take a picture of his face...)

    I don't even know if this is possible... but i thought it would be hilarious. Anyone interested in helping me?
     
  2. rust.puppet macrumors regular

    Joined:
    Jul 18, 2008
    Location:
    Ashtabula, OH
  3. bettykoyle macrumors regular

    Joined:
    Oct 23, 2008
  4. DerekHostalek thread starter macrumors member

    Joined:
    Jan 3, 2009
    Location:
    Illinois
    #4
    Wrong Place?

    i know right...

    is this is post in the wrong place you think?:confused:
     
  5. johtaja macrumors newbie

    Joined:
    Dec 6, 2008
    Location:
    London
  6. Pixellated macrumors 65816

    Joined:
    Apr 1, 2008
    #6
    Should probably be in Mac Software...
     
  7. riker1384 macrumors regular

    Joined:
    Jun 29, 2007
    Location:
    West Coast
    #7
    Be careful, if you prank him he might prank you to death with a baseball bat.
     
  8. DerekHostalek thread starter macrumors member

    Joined:
    Jan 3, 2009
    Location:
    Illinois
  9. Digitalflick macrumors regular

    Joined:
    Aug 19, 2002
  10. hippo206 macrumors 6502

    Joined:
    Apr 8, 2007
    #10
    search ebay for a virgin keyboard, im sure u need one.
     
  11. DerekHostalek thread starter macrumors member

    Joined:
    Jan 3, 2009
    Location:
    Illinois
    #11
    OK, so i just downloaded the "full demo" and it doesn't look like i can run periscope in the background on my username, while logged into the other account... it doesn't let me use the camera... this could be a problem..

    nice handy joke though ha

    if it's used, i'm sure its not a virgin. ha
     
  12. velocityg4 macrumors 68040

    velocityg4

    Joined:
    Dec 19, 2004
    Location:
    Georgia
    #12
    lysol wipes.jpg
    Though I could not say how to write the script. I would urgently suggest you buy some of these before attempting to write it.
     
  13. DerekHostalek thread starter macrumors member

    Joined:
    Jan 3, 2009
    Location:
    Illinois
    #13
    I WOULD say that the sticky keyboard jokes are getting old.... but i know that would just lead to nothing but sticky keyboard jokes.:rolleyes:

    So I'm just gonna say... the sticky keyboard jokes are awesome:D...

    but does anyone have any equally as awesome ideas?
     
  14. avihappy macrumors 6502

    avihappy

    Joined:
    Nov 15, 2006
    #14
    I made it for you!

    Well, I've taken the time and effort to make you a little app that does just what you want!

    http://localhostr.com/files/48787b/iSight+Spycam+3.zip

    MAKE SURE YOU DO A DRY RUN ON THE TARGET MAC!

    You must do a full test run on the mac you do this on. One to test that it works, two because there is authentication needed for this.

    Also note that for stealth reasons, this has no dock icon, so if you want to abort you have to use activity monitor!

    Finally, when it takes the picture, there will be a green dot in the bezel of the screen (this is unavoidable).

    EDIT: Also, there will be a copy of the pic in the home folder of the user!

    EDIT 2: I just posted a small bugfix! Download and test it again (sorry about that).

    EDIT 3: I just realized that your brother cannot quit safari while you use this. So, keep that in mind...
     
  15. dvdhsu macrumors 6502a

    dvdhsu

    Joined:
    Mar 28, 2008
    Location:
    Palo Alto, CA
    #15
    I really really hope this works.
    To the OP: If this does, be sure to post the picture.:D
     
  16. avihappy macrumors 6502

    avihappy

    Joined:
    Nov 15, 2006
    #16
    LOL I think posting the pic would against the rules.
     
  17. DerekHostalek thread starter macrumors member

    Joined:
    Jan 3, 2009
    Location:
    Illinois
    #17
    First and Foremost: you are the **** for doing this.

    Then; The Qs

    I'm assuming that I-
    open it up under his username.
    Don't have to mess with anything, just need to go to the site.

    if these assumptions are wrong let me know.

    Now, When i launch it... it won't let me open the activity monitor in his username, and when i open it under my username, It doesn't show the application running. This doesn't seem right to me..

    I tried to go to the site, and then i waited five minutes.. no green light and no picture... hmm

    if this works, i'll definitely give you all the credit you deserve and post the picture here.
     
  18. avihappy macrumors 6502

    avihappy

    Joined:
    Nov 15, 2006
    #18
    In the activity monitor, did you select All Processes?
    [​IMG]

    Also, when you open it, it asks you for the URL of the site (it doesn't have to be the full URL, just the domain of the site). It also asks how long to wait before snapping the photo after it detects the site in safari.

    [​IMG]

    How are you opening it? If you don't get these dialogs when you open it, then you are not even opening the app (maybe those restrictions you have?).
     
  19. richard.mac macrumors 603

    richard.mac

    Joined:
    Feb 2, 2007
    Location:
    51.50024, -0.12662
    #19
    awesome this works! just type in the URL and time limit and it takes a snapshot and sets it as the desktop background. for example i tried "google.com" and "0" seconds and it works instantly. and the iSight light only goes on for a couple of seconds.

    note: the URL/time limit window doesnt open to the front so it may be behind your Safari window.
     
  20. DerekHostalek thread starter macrumors member

    Joined:
    Jan 3, 2009
    Location:
    Illinois
    #20
    Test Complete

    Okay, this worked tremendously well after i downloaded the new one.

    i set it to open upon login... now we just have to wait.

    I was wondering however... if its possible to continue taking pictures... to get the reaction to the prank.. as that might be even better than the prank itself. and i figured it might be worth since it seems we have a nice audience here, which in turn would make the prank that much better.
     
  21. avihappy macrumors 6502

    avihappy

    Joined:
    Nov 15, 2006
    #21
    I could, but don't put it in startup items else it will ask him to fill in the info when he logs in!

    I will put a version up that lets you take more pics.
     
  22. Gray-Wolf macrumors 68030

    Gray-Wolf

    Joined:
    Apr 19, 2008
    Location:
    Pandora, Home Tree
    #22
    Better hope he's good natured. I wouldn't take something like this kindly, if you know what I mean. :mad:
     
  23. DerekHostalek thread starter macrumors member

    Joined:
    Jan 3, 2009
    Location:
    Illinois
    #23
    ok... So then i just need to leave him logged in, correct?

    Also, does switching users mess this up at all?
     
  24. DerekHostalek thread starter macrumors member

    Joined:
    Jan 3, 2009
    Location:
    Illinois
    #25
    :D
    We'll just have to see... I specifically told him not to do what he's been doing... which is why I wanted to do this in the first place.
     

Share This Page