[futurebasic] [I] New source available:

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 1998 : Group Archive : Group : All Groups

From: Chris Henkel <chatworks@...>
Date: Sun, 8 Mar 1998 00:05:22 +0100
1. Following new source-code has been added to the FutureBASIC-archives:

[1] Speech Manager Primer 1.00; Scorpion Research
[2] Apple Help Menu Primer 1.00 ; Scorpion Research
[3] Appearance Manager Primer 1.01 ; Scorpion Research
[4] Apple Guide Primer 1.01 ; Scorpion Research
[5] Date Time Primer 1.01 ; Scorpion Research


2. To have you sourcecode added for general access do the following:

- comment your code
- provide a short description
- put source and description in a folder
- stuff (pack) this folder and attach it to a message
- send this folder and a message with short description to

mailto:FutureBASIC_webring@...


3. Your sourcecode will be made available within hours after you sent it at
the following sites:

- http://chatworks.de/SIG%20FutureBASIC/
- more sites to follow
- to have your site included, please send mail to

mailto:BMichael@... or
mailto:chatworks@...


4. Quote from the source-description:

REM
REM Speech Manager Primer
REM
REM Version 1.00 From Scorpion Research Ltd - London England
REM
REM eMail: Support@...
REM
REM Inspired by the Speech Manager Examples on the FutureBASIC Examples Disk
REM intended for use with MacinTalk II and MacinTalk Pro.
REM
REM This file contains the Toolbox constants, routines, and record definitions
REM to use the Apple Speech Manager effectively from within FutureBASIC. For
REM full documentation please consult the Inside Macintosh (Sound) Series.
REM
REM At the end of the file, there is a sample program which allows you to speak
REM a sample speech for each installed voice. Although very crude, you can skip
REM the speaking voice in favour of the next voice by pressing the Mouse
Button.
REM Press the Space Bar to stop the program.
REM
REM There are also some custom routines which may be useful:
REM
REM FN VoicePitchToHertz       - Converts the toolbox scaled pitch value to
a Hertz pitch value
REM FN VoiceHertzToPitch       - Converts a Hertz pitch value to the
toolbox scaled pitch value
REM FN SpeechMgrCheck          - Uses the Gestalt Manager to check if
Speech Manager is present
REM FN MakeSpeechInfo          - Useful for assigning values to your variables
REM

REM
REM Apple Help Menu Primer
REM
REM Version 1.00 From Scorpion Research Ltd - London England
REM
REM eMail: Support@...
REM
REM This file contains the minimal information to add support for
REM the Apple Help Menu effectively from FutureBASIC. It is particularly
REM essential for MacOS 8 compatibility.
REM
REM When your application starts use the FN MenuBuildHelp to add
REM the Help menu to the Apple Menu in Pre System 7 environments
REM or to the Apple Help Menu in System 7 or greater environments.
REM
REM Your resource file must include the Apple menu text in the MENU
REM resource as normal which shows the first item as About MyAppŠ
REM though no special resource is required for the Apple Help menu.
REM
REM Your menu event trapping function (ON MENU FN DoMenus) will need
REM to be modified to include the two CASE sections as shown in addition
REM to your normal File Edit etc menus.
REM


REM
REM Appearance Manager Primer
REM
REM Version 1.01 From Scorpion Research Ltd - London England
REM
REM eMail: Support@...
REM
REM Inspired by the Appearance Manager demonstration by
REM Apple UK.
REM
REM Based on beta documentation subject to change and untested. Use at own
risk.
REM
REM This file contains all Toolbox constants, routines, and record definitions
REM to use the Appearance Manager effectively from within FutureBASIC. For
REM full documentation please consult the Inside Macintosh Series.
REM
REM At the end of the file, there is a sample program which allows you to check
REM the availability and settings of Appearance Manager.
REM
REM There are also some custom routines which may be useful:
REM
REM FN CheckAppearMgrExist      - Uses the Gestalt Manager to check if
Appearance Manager is present
REM FN CheckAppearMgrCompatMode - Checks settings of Compatibility mode
REM FN InitAppearance           - Registers AppearanceMgr Client for your
application if available
REM FN ExitAppearance           - Removes AppearanceMgr Client from your
application if available
REM

REM
REM Apple Guide Primer
REM
REM Version 1.01 From Scorpion Research Ltd - London England
REM
REM eMail: Support@...
REM
REM This file contains all Toolbox constants, routines, and record definitions
REM to use the Apple Guide effectively from FutureBASIC.
REM
REM At the end of the file, there is a sample program which allows you to check
REM which databases are available.
REM
REM There are also some custom routines which may be useful:
REM
REM FN CheckAppleGuide         - Uses the Gestalt Manager to check if
AppleGuide is present
REM FN AGCheckAvail            - Checks which databases exist for this
application
REM


REM
REM Date Time Primer
REM
REM Version 1.01 From Scorpion Research Ltd - England
REM
REM eMail: Support@...
REM
REM Copyright 1994 - 1998 Scorpion Research Limited
REM All Rights Reserved Worldwide
REM
REM You may use this source code in your programs but may not
REM publish it without written permission of Scorpion Research Ltd
REM
REM Although ISO 8601 suggests dates should be written in
REM the CCYY/MM/DD format to prevent confusion with the
REM millenium and international conventions, most persons
REM still use the traditional format native to their region
REM hence a routine has been also enclosed to encode and decode
REM the ISO 8601 format.
REM
REM The routines also enable you to add support for date based
REM calculations without fear of millenium date confusion.
REM
REM Example syntax showing how to use each routine has been
REM added at the end of the file.
REM



  +------------------------------------------------------+
  |   ChatWorks Chris Henkel  mailto:chatworks@...   |
  |  http://ourworld.compuserve.com/homepages/chatworks  |
  +------------------------------------------------------+