home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 11 / AACD11.ISO / AACD / Utilities / ObnoxAlarm / ObnoxAlarm.guide (.txt) < prev    next >
Amigaguide Document  |  2000-05-20  |  21KB  |  392 lines

  1. @Database "ObnoxAlarm.guide"
  2. @Master "ObnoxAlarm:"
  3. @Remark "Typed by hand..."
  4. @TOC "main"
  5. @Index "main"
  6. @Help "main"
  7. @$VER: ObnoxAlarm v1.1 (5/20/00)
  8.  2000 Dave Arnett
  9. @Node "main" "ObnoxAlarm v1.1 
  10.  AmigaGuide Manual 
  11.  Contents..."
  12. @Prev "MiscInfo"
  13. @Next "Intro"
  14.         
  15.          @{bg Background}@{APEN 1}           Welcome to...            @{bg Background}
  16.     @{"              ObnoxAlarm v1.1               " BEEP}
  17.     @{bg Highlight} @{APEN 1}            
  18.  2000 Dave Arnett             @{bg Background}
  19.     @{" Introduction    (what it is and why it is) " link "Intro"}
  20.     @{" Installation          (couldn't be easier) " link "Install"}
  21.     @{" The Main ObnoxAlarm Window                 " link "MainWindow"}
  22.       1 @{" Adjusting the Alarm Time               " link "AdjAlarm"}
  23.       2 @{" Setting the Alarm                      " link "SetAlarm"}
  24.       3 @{" Shutting Off the Alarm                 " link "KillAlarm"}
  25.       4 @{" Using the SnoozeAlarm (Zzz)            " link "Zzz"}
  26.     @{" The Configure Window (Setting Preferences) " link "Config"}
  27.         @{" Adjusting the Snooze Time              " link "SetZzz"}
  28.         @{" Setting the Alarm Action   (2 choices) " link "SetAction"}
  29.           1 @{" Default Obnoxious Samples          " link "DefAlarm"}
  30.           2 @{" Executing a Script File First      " link "ScrAlarm"}
  31.         @{" Testing the Alarm                      " link "TestAlarm"}
  32.         @{" Snapshotting the Main Window           " link "Snapshot"}
  33.         @{" Saving the Alarm Time                  " link "Snapshot"}
  34.     @{" The Presets Button                         " link "Presets"}
  35.     @{" The Guide Button                           " link "GuideButton"}
  36.     @{" The [?] Button (copyright and author info) " link "?Button"}
  37.     ---------------------------------------------
  38.     @{" Miscellaneous ObnoxAlarm Information       " link "MiscInfo"}
  39.     ---------------------------------------------
  40. @EndNode
  41. @Node "Intro" " Introduction to ObnoxAlarm..."
  42. @Prev "main"
  43. @Next "Install"
  44. @{B}Introduction to ObnoxAlarm...@{UB}
  45. Have you ever stayed up most of the night when you have an urgent appointment
  46. early the next morning? I have, and believe me there's nothing worse than
  47. sleeping right through your alarm because you've only been sleeping for an hour
  48. and a half, too tired to respond to your normal alarm. The last time I did that
  49. it cost me plenty. I vowed to never let it happen again. Part of the problem was
  50. that my alarm clock is just too damn whimpy for such occassions. Sometimes I
  51. need a truely irritating alarm, something I couldn't possibly sleep through. So
  52. I wrote @{B}ObnoxAlarm@{UB}, the most obnoxious alarm ever.
  53. The real trick was to find the most obnoxious sample possible. I think I've
  54. succeeded with flying colors. I discovered a sample of that famous phrase...
  55.                    @{B}"I've fallen and I can't get up!"@{UB}
  56. It's from one of the world's worst TV commercials from the early 80's. If you
  57. don't remember it or never saw it, consider yourself very fortunate. Anyway, I
  58. edited out the first part, leaving @{B}"get up!"@{UB} which when looped continuously is
  59. so incredibly obnoxious it must be experienced to be believed. To add fuel to
  60. the fire, I combined that sample with the original Sar Trek "red alert" siren
  61. and a weird "warp" sound. Believe me, it's so irritating you'll jump up no
  62. matter how little sleep you've had, even if you have to travel across the house
  63. to do so. It really does the job.
  64. Of course, it won't do much good if you shut it off and go back to bed, so I
  65. gave it an adjustable @{B}snooze alarm@{UB} (5 to 60 minutes in 5 minute increments). To
  66. top it off, you can even specify an AmigaDOS script file to be executed at alarm
  67. time, either before the "get up" starts or instead of playing it at all.
  68. This isn't the world's most complex program, so I'm sharing it with the Amiga
  69. community as @{B}100% freeware@{UB}. Use it if you like it and toss it if you think it
  70. sucks. I really only find two or three occasions a year when I @{I}really@{UI} need to
  71. use it, but at those times it's been a true lifesaver.
  72. @{B}Disclaimer...@{UB}
  73. The usual software disclaimers apply here. If using ObnoxAlarm somehow ruins
  74. your life, I'm very sorry, but in no way responsible or liable. Got it? Good.
  75. That's pretty much it. I even think you'll find it intuitive enough to operate
  76. without any help, so don't expect the other nodes in this AmigaGuide document to
  77. be as wordy as this one.
  78. -------------------------------------------------------------------------------
  79. Dave Arnett
  80. Third
  81. Planet
  82. Burbank, California,  USA
  83. www.3pfts.com
  84. @EndNode
  85. @Node "Install" " Installing ObnoxAlarm..."
  86. @Prev "Intro"
  87. @Next "MainWindow"
  88. @{B}Installing ObnoxAlarm...@{UB}
  89. Here's how the ObnoxAlarm directory structure comes...
  90.     @{B}ObnoxAlarm@{UB}-----------------------------(directory)
  91.       ObnoxAlarm-------------------------(the program)
  92.       ObnoxAlarm.info---------(program's default icon)
  93.       ObnoxAlarm.guide-------------(you're readin' it)
  94.     @{fg shine}*@{fg text} ObnoxAlarm.config----(where the prefs are saved)
  95.     ObnoxAlarm.info-------------------(directory icon)
  96.     ObnoxAlarm.ReadMe---------(disposable readme file)
  97.     ObnoxAlarm.ReadMe.info-----------(also disposable)
  98. No real need for an installer script here. Just copy the ObnoxAlarm directory
  99. and its contents to where you want it (or do it by dragging the ObnoxAlarm
  100. drawer icon to where you want it.
  101. The @{B}ObnoxAlarm.ReadMe@{UB} file (and icon) can be discarded.
  102. @{fg shine}*@{fg text} The @{B}ObnoxAlarm.config@{UB} file isn't included with the ObnoxAlarm.lha archive
  103. file. A default one will be generated and saved there upon running ObnoxAlarm
  104. for the first time (or any time it isn't found there).
  105. ObnoxAlarm assigns itself upon running it (@{B}ObnoxAlarm:@{UB}) and removes the assign
  106. upon quitting.
  107. -------------------------------------------------------------------------------
  108. @EndNode
  109. @Node "MainWindow" " The Main ObnoxAlarm window..."
  110. @Prev "Install"
  111. @Next "AdjAlarm"
  112. @{B}The main ObnoxAlarm window...@{UB}
  113. Really only four things to do here...
  114.       1 @{" Adjusting the Alarm Time               " link "AdjAlarm"}
  115.       2 @{" Setting the Alarm                      " link "SetAlarm"}
  116.       3 @{" Shutting Off the Alarm                 " link "KillAlarm"}
  117.       4 @{" Using the SnoozeAlarm (Zzz)            " link "Zzz"}
  118. There are a few other buttons along the bottom, but they're covered later.
  119. -------------------------------------------------------------------------------
  120. @EndNode
  121. @Node "AdjAlarm" " Adjusting the Alarm Time..."
  122. @Prev "MainWindow"
  123. @Next "SetAlarm"
  124. @{B}Adjusting The Alarm Time...@{UB}
  125. Either manually move the slider gadgets or click the arrow buttons. Holding an
  126. arrow button down will advance the alarm time until you release the button.
  127. -------------------------------------------------------------------------------
  128. @EndNode
  129. @Node "SetAlarm" " Setting The Alarm..."
  130. @Prev "AdjAlarm"
  131. @Next "KillAlarm"
  132. @{B}Setting The Alarm...@{UB}
  133. See where it says "Set Alarm"? Click that button below it so that a checkmark
  134. appears. "Set Alarm" will turn to "Alarm Set".
  135. -------------------------------------------------------------------------------
  136. @EndNode
  137. @Node "KillAlarm" " Shutting Off The Alarm..."
  138. @Prev "SetAlarm"
  139. @Next "Zzz"
  140. @{B}Shutting Off The Alarm...@{UB}
  141. When the Alarm goes off, the words "Alarm Set" change to "Kill Alarm" with the
  142. checkmark still in place. Click that checkmark button to turn off the alarm.
  143. The samples that are playing will finish and "Kill Alarm" will change back to
  144. "Set Alarm" once again.
  145. -------------------------------------------------------------------------------
  146. @EndNode
  147. @Node "Zzz" " Using the Snooze Alarm..."
  148. @Prev "SetAlarm"
  149. @Next "Config"
  150. @{B}Using the Snooze Alarm...@{UB}
  151. When the "Current Time" reaches the "Alarm Time", the obnoxious alarm starts
  152. doing its thing and the "Zzz" button becomes unghosted. Instead of turning the
  153. alarm off you may elect to click this button. The alarm will stop, the Alarm
  154. Time will advance (according to your prefs setting) and the button will once
  155. again be ghosted. The words "Kill Alarm" will change back to read "Alarm Set"
  156. once again.
  157. -------------------------------------------------------------------------------
  158. @EndNode
  159. @Node "Config" " The ObnoxAlarm Configure Window..."
  160. @Prev "MainWindow"
  161. @Next "SetZzz"
  162. @{B}The ObnoxAlarm Configure Window...@{UB}
  163. The ObnoxAlarm Configure (Preferences) window allows you to set the following...
  164.         @{" Adjusting the Snooze Time              " link "SetZzz"}
  165.       @{fg shine}*@{fg text} @{" Setting the Alarm Action   (2 choices) " link "SetAction"}
  166.           1 @{" Default Obnoxious Samples          " link "DefAlarm"}
  167.           2 @{" Executing a Script File first      " link "ScrAlarm"}
  168.         @{" Testing the Alarm                      " link "TestAlarm"}
  169.         @{" Snapshotting the Main Window           " link "Snapshot"}
  170.         @{" Saving the Alarm Time                  " link "SaveTime"}
  171. @{fg shine}*@{fg text} Your two choices are actually three...
  172.   1) Only have the obnoxious "get up!" samples play
  173.   2) Only have an AmigaDOS script file executed
  174.   3) Or have both the script file executed, followed by the obnoxious samples
  175. You can also test the alarm here to see how it will sound so you can crank up
  176. the volume on your audio output to your desired obnoxious level. The samples
  177. will be played as loud as possible from the Amiga.
  178. Saving will close the window as will the R
  179. B (Right Mouse Button), Cancel
  180. button or Close gadget.
  181. -------------------------------------------------------------------------------
  182. @EndNode
  183. @Node "SetZzz" " Adjusting The Snooze Time..."
  184. @Prev "Config"
  185. @Next "SetAction"
  186. @{B}Adjusting the Snooze Time (Zzz)...@{UB}
  187. The snooze time can be set for a minimum of 5 minutes to a maximum of 60
  188. minutes, in 5 minute intervals. Just slide the gadget to where you want it (and
  189. then hit the Save button).
  190. -------------------------------------------------------------------------------
  191. @EndNode
  192. @Node "SetAction" " Setting The Alarm Action..."
  193. @Prev "SetZzz"
  194. @Next "DefAlarm"
  195. @{B}Setting the Alarm action...@{UB}
  196.           1 @{" Default Obnoxious Samples          " link "DefAlarm"}
  197.           2 @{" Executing a Script File first      " link "ScrAlarm"}
  198.         @{" Testing the Alarm                      " link "TestAlarm"}
  199. Your two choices are actually three...
  200. 1) Only have the obnoxious "get up!" samples play
  201. 2) Only have an AmigaDOS script file executed
  202. 3) Or have both the script file executed, followed by the obnoxious samples
  203. Just checkmark the one(s) you want to run at alarm time. You cannot leave both
  204. unchecked. Trying to do so will default to the built-in obnoxious samples.
  205. -------------------------------------------------------------------------------
  206. @EndNode
  207. @Node "DefAlarm" " Default Obnoxious Samples..."
  208. @Prev "SetAction"
  209. @Next "ScrAlarm"
  210. @{B}Default obnoxious samples...@{UB}
  211. With this checkmarked, the default obnoxious samples will be played at alarm
  212. time. Also, this must be set for the "Test Alarm" button to play the obnoxious
  213. samples for you.
  214. -------------------------------------------------------------------------------
  215. @EndNode
  216. @Node "ScrAlarm" " Executing A Script File First..."
  217. @Prev "DefAlarm"
  218. @Next "TestAlarm"
  219. @{B}Executing a script file first...@{UB}
  220. I added this feature simply because I often run a module player, shuffling
  221. through a list of music modules, but want the alarm to go off as well (you
  222. don't have to use ObnoxAlarm only to wake you up). If another program is using
  223. the Amiga audio ports, then ObnoxAlarm's alarm will be silent. With this
  224. feature I can have an AmigaDOS script file run first to stop the other program
  225. and, if neccessary, cause it to quit, thus freeing up the audio ports for
  226. ObnoxAlarm to do its thing.
  227. Just set the checkmark to unghost the field and load/clear buttons. The "Load"
  228. button will open an ASL requester that you can use to specify an AmigaDOS
  229. script file to be inserted into the field. The script file's "S" protection bit
  230. will be checked to verify that it is indeed an executable script file. If not,
  231. it won't be loaded.
  232. If you type something in manually, it will be inspected at alarm time to verify
  233. the "S" bit again. Just make sure that the script file you want to run has that
  234. protection bit set and you'll be okay. Your script file could, of course, be
  235. used to run ARexx scripts, launch other programs or anything your creative mind
  236. can conjure up. I personally have used it only to run a script file called
  237. "KillEd" to stop EdPlayer (my favorite music module player) and quit it, so that
  238. the obnoxious samples can then be played.
  239. -------------------------------------------------------------------------------
  240. @EndNode
  241. @Node "TestAlarm" " Testing the Alarm..."
  242. @Prev "ScrAlarm"
  243. @Next "Snapshot"
  244. @{B}Testing the Alarm...@{UB}
  245. You can also test the alarm here to see how it will sound so you can crank up
  246. the volume on your audio output to your desired obnoxious level. The samples
  247. will be played as loud as possible from the Amiga.
  248. Just click the "Stop Test" button when you're tired of hearing it. If both
  249. buttons are checkmarked, the script file (if any) will be executed first.
  250. -------------------------------------------------------------------------------
  251. @EndNode
  252. @Node "Snapshot" " Snapshotting The Main Window..."
  253. @Prev "ScrAlarm"
  254. @Next "SaveTime"
  255. @{B}Snapshotting the Main window...@{UB}
  256. When the config window opens, the X,Y coordinates of the main window are
  257. displayed. If those coordinates are currently saved, the button will be
  258. checkmarked. Position the main window where you want it to always appear and
  259. open the config window. Checkmark the button and hit the Save button. If the
  260. button is not checkmarked when you hit the Save button, any previously saved
  261. coordinates will not be overwritten.
  262. -------------------------------------------------------------------------------
  263. @EndNode
  264. @Node "SaveTime" " Saving the Alarm Time..."
  265. @Prev "Snapshot"
  266. @Next "Presets"
  267. @{B}Saving the Alarm Time...@{UB}
  268. When the config window opens, the current Alarm Time setting will be displayed.
  269. If that setting is currently saved, the button will be checkmarked. Set the
  270. Alarm Time where you want it to be set upon running ObnoxAlarm and open the
  271. config window. Checkmark the button and hit the Save button. If the button is
  272. not checkmarked when you hit the Save button, any previously saved Alarm Time
  273. will not be overwritten.
  274. -------------------------------------------------------------------------------
  275. @EndNode
  276. @Node "Presets" " The ObnoxAlarm Presets Button..."
  277. @Prev "SaveTime"
  278. @Next "GuideButton"
  279. @{B}The ObnoxAlarm Presets Button (Preset Alarm Times)...@{UB}
  280. When the Presets window opens, the current Alarm Time setting will be displayed
  281. on the "Add" button so that it can be added to the list of preset Alarm Times.
  282. If the current Alarm Time is already in the list, the "Add" button will be
  283. ghosted. When an Alarm Time is added, it will appear at the currently
  284. highlighted position in the list. Use the "Sort" buttons to reposition any
  285. Alarm Time. 
  286. The up and down keyboard arrow keys will move the line cursor up or down, or
  287. you can single-click on an AlarmTime and it will be displayed on the "Del"
  288. button so that it can be deleted. The "Del" button will be ghosted if a blank
  289. line is highlighted.
  290. The "Save" button will save the list without closing the window. To insert an
  291. Alarm Time into the main window, double-click on one. The Presets window will
  292. close and the selected Alarm Time will be inserted.
  293. The R
  294. B (Right Mouse Button) or Close gadget will Cancel the Presets window.
  295. -------------------------------------------------------------------------------
  296. @EndNode
  297. @Node "GuideButton" " The ObnoxAlarm Guide Button..."
  298. @Prev "Presets"
  299. @Next "?Button"
  300. @{B}The ObnoxAlarm Guide Button...@{UB}
  301. There are three Guide buttons that will open this AmigaGuide document...
  302.   1) on the main window.....(opens on the Contents node)
  303.   2) on the Config window.....(opens on the Config node)
  304.   3) on the Presets window...(opens on the Presets node)
  305. -------------------------------------------------------------------------------
  306. @EndNode
  307. @Node "?Button" " The ObnoxAlarm [?] Button..."
  308. @Prev "GuideButton"
  309. @Next "MiscInfo"
  310. @{B}The ObnoxAlarm [?] Button...@{UB}
  311. This button will enlarge the main window to reveal three buttons...
  312.   1) 
  313.  Notice
  314.   2) E-Mail
  315.   3) WebSite
  316. All three do a funky scrolling message in the main window's title bar, ghosting
  317. all buttons until done. They merely proclaim that I, Dave Arnett, am the author
  318. and copyright holder of ObnoxAlarm and give my e-mail address and URL of the
  319. Third
  320. Planet
  321. Sun website.
  322. I wrote ObnoxAlarm back in 1995 and at that time experimented with implementing
  323. a scrolling text feature there. It serves no practical purpose whatsoever. I
  324. was going to remove it when preparing ObnoxAlarm for public consumption, but
  325. figured what the hell and left it in anyway.
  326. -------------------------------------------------------------------------------
  327. @EndNode
  328. @Node "MiscInfo" " Miscellaneous ObnoxAlarm Information..."
  329. @Prev "?Button"
  330. @Next "main"
  331. @{B}Miscellaneous ObnoxAlarm Information...@{UB}
  332.     @{" The Future of ObnoxAlarm " link "ObnoxFuture"}
  333.     @{" Programming ObnoxAlarm   " link "ProgInfo"}
  334.     @{" Contacting Me            " link "MeInfo"}
  335. -------------------------------------------------------------------------------
  336. @EndNode
  337. @Node "ObnoxFuture" " The Future of ObnoxAlarm..."
  338. @Prev "ObnoxFuture"
  339. @Next "ObnoxFuture"
  340. @{B}The Future of ObnoxAlarm...@{UB}
  341. Version 1.0 had a slight bug in it. It seems that when ObnoxAlarm assigns
  342. itself upon loading, some Amigas would pop up one of those annoying windows
  343. with "Please insert volume ObnoxAlarm" in it. Either their Amigas were running
  344. ObnoxAlarm faster than mine or the assign was being made too slowly. Version
  345. 1.1 merely adds a loop routine after the assign is made that searches for
  346. volume "ObnoxAlarm:" until it is found. This may cause a delay of up to half a
  347. second, but at least the annoying requester won't pop up anymore.
  348. Other than that, I doubt that ObnoxAlarm will be upgraded again, unless it
  349. turns out that I've overlooked somethings else. I think I've squashed all bugs,
  350. but only time will tell. I thought about allowing ObnoxAlarm to load and use
  351. custom user-definable sound samples instead of the built-in ones, but let's get
  352. real. It just wouldn't be worth the effort.
  353. -------------------------------------------------------------------------------
  354. @EndNode
  355. @Node "ProgInfo" " Programming ObnoxAlarm..."
  356. @Prev "ProgInfo"
  357. @Next "ProgInfo"
  358. @{B}Programming ObnoxAlarm...@{UB}
  359. Believe it or not, ObnoxAlarm was written with CanDo (v3.008). That's the only
  360. reason ObnoxAlarm is as large as it is. To bind a CanDo deck, the entire CanDo
  361. library is bound with it instead of including only the parts needed for the
  362. particular project. If you have CanDo and the cando.library v3.008 in your
  363. LIBS: directory, I can provide you with a much smaller version of ObnoxAlarm.
  364. Perhaps you're thinking that anything written in CanDo sucks. No, no. You're
  365. confusing CanDo with AMOS. CanDo is an absolutely fabulous tool for many, many
  366. programming tasks. There are some things that CanDo Can'tDo well, but very few.
  367. Although ObnoxAlarm is simple and somewhat primitive, I think you'll find many
  368. of its features to be rather slick. If you're familiar with CanDo, you might be
  369. wondering how I pulled off things such as positioning windows. Let's just say
  370. that I'm a true CanDo wizard. Time, trial and error have allowed me to get
  371. CanDo to do many things that I once thought it just couldn't do.
  372. It's tragic that Inovatronics went tits up years ago. If CanDo development had
  373. continued, it would be an incomparable ass-kicker today (sigh). I suppose I
  374. should include the CanDo copyright notice here (and within ObnoxAlarm), but I'm
  375. leaving it out. If anyone from the former Inovatronics wants to chastise me for
  376. my sin of omission, at least I'll finally have found out who and where they are
  377. so I can discuss buying the CanDo rights from them.
  378. -------------------------------------------------------------------------------
  379. @EndNode
  380. @Node "MeInfo" " Contacting Me..."
  381. @Prev "MeInfo"
  382. @Next "MeInfo"
  383. @{B}Contacting Me...@{UB}
  384. Dave Arnett
  385. Third
  386. Planet
  387. Burbank, California,  USA
  388. http://www.3pfts.com
  389. 3pfts@3pfts.com
  390. -------------------------------------------------------------------------------
  391. @EndNode
  392.