• Lucid Dreaming - Dream Views




    Results 1 to 9 of 9
    Like Tree3Likes
    • 2 Post By Oneiroknot
    • 1 Post By Oneiroknot

    Thread: Windows users: small & simple lucidity-assisting program

    Threaded View

    1. #6
      Member Oneiroknot's Avatar
      Join Date
      Jul 2010
      LD Count
      3
      Gender
      Location
      California, USA
      Posts
      21
      Likes
      5
      It looks pretty cool, I'm using xp.
      I might have to get myself a copy of autohotkey.
      I recommend it - it's awesome

      If you do get it and want to play around with it, here is the source code I wrote for the lucidity program. Please feel free to tweak it or whatever!

      Code:

      Code:
      Loop 
      {
      
      actInProg = 0
      sleepTime = 30000
      Random, delay_time, 900000, 3600000
      Random, choice, 1,7
      
      if(actInProg = 0)
      {
      
      ; Do a random action, but only if there is no action currently in progress:
      
      actInProg = 1
      
      
      if choice = 1
      {
      	MsgBox Are you dreaming?
      }
      else if choice = 2
      {
      	MsgBox Do a reality check now.
      }
      else if choice = 3
      {
      	MsgBox You could be dreaming.
      }
      else if choice = 4
      {
      	MsgBox You will realize that you are dreaming the next time you have a dream.
      }
      else if choice = 5
      {
      	RunWait, cmd.exe
      }
      else if choice = 6
      {
      	RunWait, Notepad.exe
      }
      else if choice = 7
      {
      	Hotkey, e, Off
      	Sleep, %sleepTime%
      	Suspend
      	actInProg = 0
      }
      else
      {
      	MsgBox You will have lucid dreams.
      }
      
      ; If the MsgBox is clicked, there is no longer an action in progress
      IfMsgBox Yes
      	actInProg = 0
      }
      else
      {
      ; There's already an action in progress, so do nothing
      }
      
      ;Wait random time before initiating another malfunction
      Sleep, %delay_time%
      
      }
      
      ; Label for the disabling Hotkey command 
      Off:
      Last edited by Oneiroknot; 07-09-2010 at 07:46 AM.
      simm likes this.

    Similar Threads

    1. Ouch...Virtual Windows Inside Windows?
      By [SomeGuy] in forum Tech Talk
      Replies: 0
      Last Post: 04-28-2009, 04:31 PM
    2. For all you PS3 users...
      By Tavasion in forum Senseless Banter
      Replies: 0
      Last Post: 07-06-2007, 05:44 AM
    3. Waking Life Excersise to Gain Lucidity. Simple.
      By Jack D. in forum Attaining Lucidity
      Replies: 15
      Last Post: 06-28-2006, 03:02 PM
    4. Easy and simple new way to obtain lucidity
      By Shineenigma in forum Attaining Lucidity
      Replies: 21
      Last Post: 01-17-2006, 04:27 AM
    5. AIM users
      By IAmCorbin in forum The Lounge
      Replies: 22
      Last Post: 06-08-2004, 04:15 AM

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •