SayPlus! Extension v1.3.2 (OPEN SOURCE) RRS feed

  • General discussion

  • I just learnt a bit about creating an extension, so let me introduce :









    1.0.0 : Initial Release, please report any bugs.

    1.0.1 : + Changed the Object name from SayPlusxxx To SPxxx, to make it shorter

            * Fixed Return glitches

    1.1.0 : + Added new functions in SPGeneral

     + Added SPClipboard Object

     + Added SPExtra Object

     + Added SPMath Object

     + Added SPMemory Object

     + Added SPNetwork Object

     + Added SPProcess Object

     + Added SPRegistry Object

    1.2.0 BETA : + Added SPConverter

    +Added SPDialogs

    +Added SPError

    +Added SPFile

    +Added SPJava

    +Added SPKeys

    +Added SPLua

    +Added SPMinecraftServer

    +Added SPSecurity

    +Added SPSpecialsChars

    1.2.1 : +Added SPStopWatch

    *Fixed GeneratePassword

    *Fixed GenerateHardPassword

    *Fixed GenerateCustomPassword

    1.3.0 : 

    + Added SPTextWindow : DrawPixel, DrawGroupPixel, ReturnLine, TextPrint
    + Added in SPFile : GetDirectorySize, GetSize
    + Added in SPKeys : GetKeyIsPressed
    + Added in SPMath : ExactPi
    * Removed LocalIP in SPNetwork and replaced it by GetIP(index)
    + Added SPProgram : AllowTick(bool), Quit(), Tick
    + Added PlayLoopedSound in SPSound
    + Added SPTaskbar
    + Added SPText
    + Added SPWindows

    1.3.1 : + Added SPResolution

        + Added new functions in SPTextWindow (Title(),WriteCenter(),Separator())

    1.3.2 : * Fixed SPText.GetArguments(data)

               + Added CenterGraphicsWindow() in SPResolution

    SayPlus Extension is open source now, sadly i don't think I will continue to update, there's lots of stuff already, this extensions works on Visual Basic 2010, not with C#, feel free to look around and use it into your code/extension, but keep in mind to not entirely copy the content and claim that the extension is yours.






    SPGeneral-SimpleSendString: Sends a string to windows kernel, ADVANCED USERS ONLY

             -SendString: More advanced version of the above










    SPMail-SendMail: Sends an e-mail

    SPSound-PlaySound: Plays a specified sound.

           -StopSound: Stop the current playing sound.

    SPAdvancedSound-StartRecording: Starts a record from the default recroding device

                   -StopRecording: Stop the record.

                   -PauseRecording: Pauses the record.

                   -ResumeRecording: Resumes the record.

                   -SaveRecording: Saves the record as a .wav file.

                   -RemoveRecording: Deletes the recording declaration, so you can do a new record.

    SPClipboard-Clear: Clears the clipboards

       -GetAudioAndPlay: Gets the audio in the clipboard and plays it.

       -GetText: Gets text in the clipboard

       -SetText: Sets text in the clipboard

    SPExtra-Compile: Compiles a program with the given text (Small Basic)

           -ConvertBinaryToText: Converts a binary "01110101" to text.

           -ConvertTextToBinary: Does the inverse of the above

           -SendKeys: Sends keys to the keyboard, just as if they were really typed
















































    Download Links :

    SayPlus! 1.0.0

    SayPlus! 1.0.1

    SayPlus! 1.1.0 

    SayPlus! 1.2.0 BETA 

    SayPlus! 1.2.1

    SayPlus! 1.3.0

    SayPlus! 1.3.2 ( (Lastest Version) Linking dosen't work anymore for some reason... :/

    Sample Programs :

    Audio Recording : WJT342

    Tick Event : FJV215

    • Edited by AshkoreDracson Tuesday, July 3, 2012 8:57 AM Updating Extension
    Wednesday, December 28, 2011 8:22 PM

All replies

  • Interesting, thanks for the new extension and keep up the good work! I will try out your extension soon.
    Wednesday, December 28, 2011 8:59 PM
  • If you find any bugs or glitches, please report them with (if possible) the error message.
    Saturday, December 31, 2011 12:27 PM
  • Updated Extension to 1.1.0 !

    Lots of bug fixes and new things !

    Sunday, January 8, 2012 1:39 PM
  • Nice extension - remember that many SB users are beginners and modifying the registry is an advanced feature that could result in destroying an OS - perhaps consider removing the SPRegistry.SetValue command.
    Monday, January 9, 2012 7:28 PM
  • Or maybe i should just add a big WARNING in the xml files that says it can do bad things to the computer, but registry can be useful at times, they can save settings for programs.
    Tuesday, January 10, 2012 9:44 AM
  • Can you suggest some programs that exploit the resources of the new expansion?

    Thank you.

    Wednesday, January 11, 2012 8:03 PM
  • Or maybe i should just add a big WARNING in the xml files that says it can do bad things to the computer, but registry can be useful at times, they can save settings for programs.

    People do things and when something goes horribly wrong then they read the manual.


    Audio recording is interesting feature ( Don't have a microphone to test )

    Other things look very similar to things already done by other extensions.

    Thursday, January 12, 2012 6:52 PM
  • Added sample programs in the first post, ill add some more in the future.
    Saturday, January 14, 2012 10:51 AM
  • Oh yes!
    I had not seen. It's really interesting!
    Strongly the next. While waiting for inspiration ^ ^

    Saturday, January 14, 2012 11:27 PM
  • One can imagine the ability to drive (on and off the webcam of a laptop).

    But what would be really interesting (but I think it is not possible) is to control the input-output USB (for example), or even the wifi or bluetooth.

    It would open up fields of applications.

    To be continued.

    Saturday, January 14, 2012 11:55 PM
  • Could you please provide an example program for sending an email? I have tried many times but it kept returning "ERROR"

    Saturday, February 11, 2012 9:53 PM
  • This is actually a known glitch right now.

    I'll try to fix it in the next version.

    Sunday, February 26, 2012 1:09 PM
  • Thanks! I would love to be able to use that function.
    Sunday, February 26, 2012 8:49 PM
  • Updated Extension to 1.2.0 BETA, it is still a WIP, so it could be extremely buggy, be sure to report any bugs/glitches here !
    Wednesday, March 7, 2012 11:30 PM
  • Thanks I love the added functions! You probably know this, but the SPMail.Send still doesn't work.
    Thursday, March 8, 2012 1:01 AM
  • This is why it's a BETA, corrected some glitches, but i'm still trying to figure out the glitch on the mail function.
    Thursday, March 8, 2012 1:05 AM
  • Oh sorry just wanted to "report any bugs/glitches" in case you didn't catch it.
    Thursday, March 8, 2012 11:28 PM
  • Updated Extension to 1.2.1 !

    Fixed some glitches (consult the changelog).

    Saturday, March 24, 2012 1:18 PM
  • Updated extension to 1.3.0, SayPlus! is now open source !
    Thursday, May 3, 2012 11:38 AM
  • Good ^^


    Thursday, May 3, 2012 7:52 PM
  • If you are downloading the source code don't forget to read the terms of use right below the 1.3.0 changelog.
    Wednesday, May 16, 2012 9:10 AM
  • If you are downloading the source code don't forget to read the terms of use right below the 1.3.0 changelog.
    Good work!  Where can I download he source code?  For educational purposes only : ) 
    Sunday, May 20, 2012 5:07 AM
  • It's included in the Extension download, click on SayPlus! Extension 1.3.0
    Sunday, May 20, 2012 8:21 AM
  • Updated extension to 1.3.1 !

    Off-Topic : How can I request my extension to be sticked on the forums ? I feel like i'm spamming the topic, but i have to do a reply on each update, so that people knows that it is updated...

    Saturday, June 23, 2012 11:09 AM
  • Why not just use the 'List of SmallBasic Extensions' sticky thread.  It's there to keep people informed about their extensions and should be the first place someone checks on an extension status.  Then edit your post as things change to show updates - just as I do.

    Saturday, June 23, 2012 11:52 AM
  • So I found a glitch. I don't know if you can fix this but, my computer keeps saying that sayplus!.dll is a virus. egar to get the updated version!!


    Monday, June 25, 2012 12:12 AM
  • Your anti-virus is doing a false-positive to you...

    Update your anti-virus, try to add it to the list of trusted applications/files, and do it again.

    Monday, June 25, 2012 10:37 AM
  • Updated extension to 1.3.2, check the changelog !
    Tuesday, July 3, 2012 8:58 AM
  • Can some1 help me with spminecraft server?
    Thursday, May 8, 2014 8:40 AM
  • I am having a problem with the spkeys 

    I am having problems with it that it seems to think that a key is pressed when they are not pressed

    Saturday, August 2, 2014 3:03 PM
  • OK, I am doing on Windows Version of Mac Rocket Dock, however, I think notifier would be better than already used fade-in. However, SPTaskbar.NotifierClicked = NotClicked, with Not Clicked showing the window, seems not to work when clicked. Publish code: ZBB526

    EDIT: I done few tests, and event doesn't seem to do anything, like I didn't click. Subroutine doesn't get executed. Is it possible for other extensions to mess up this? Though Fremy got a lot of same files, but I tried replacing them with those from SayPlus ( as I did at Fremy installation ), but didn't help!

    • Edited by jkelava6 Friday, August 8, 2014 6:27 PM
    Friday, August 8, 2014 9:46 AM
  • This extension doesn't work for me... is there a way to get it to work?
    Monday, October 28, 2019 10:37 AM
  • This extension is over 5 years old, I don't think it will work with the lastest versions of SmallBasic.

    Which SB version are you using?

    Jan [ WhTurner ] The Netherlands

    Monday, October 28, 2019 12:36 PM
  • v1.2, but on windows 10... could the OS be the issue?
    Monday, October 28, 2019 12:59 PM
  • No, probably the SB version. Five yeard ago it was probably 1.0 or even lower. 

    There are quite a few things changed in 1.2 Did you look at the LitDev extension for your problem?  Perhaps there are functions in there which you can use.

    Jan [ WhTurner ] The Netherlands

    Monday, October 28, 2019 1:05 PM
  • Ah, I downloaded LitDev's extension manager and it fixed the problem. Thanks! Shame it doesn't have the IO Extension... that doesn't work for me either. 
    Monday, October 28, 2019 1:32 PM
  • The extension SayPlus 1.3.2 works with SB 1.2

    a small example:

    SPGeneral.About() TextWindow.Show() TextWindow.WriteLine("") 'SPExtra.SendKeys(SPSpecialChars.Cr) 'SPExtra.SendKeys(SPSpecialChars.NewLine) SPExtra.SendKeys("Systeminformation - Press Enter") TextWindow.WriteLine("---------------------------------") 'SPExtra.SendKeys(SPSpecialChars.Cr) 'SPExtra.SendKeys(SPSpecialChars.NewLine) WaitforInput = "TRUE" While WaitforInput = "TRUE" if (SPKeys.GetKeyIsPressed("ENTER")="TRUE") Then TextWindow.Read() TextWindow.WriteLine("Screendevicename: " + SPWindows.ScreenDeviceName) TextWindow.WriteLine("ProzessorID: " + SPWindows.HWID) TextWindow.WriteLine("OSName: " + SPWindows.OSName) TextWindow.WriteLine("OSVersion: " + SPWindows.OSVersion) TextWindow.WriteLine("Available RAM[MB]: " + SPWindows.AvaliableRAMinMB) WaitforInput = "FALSE" Program.Delay(100) EndIf EndWhile

    Be careful when mixing textwindow commands with SendKeys.
    The timing affects the order of inputs / outputs !

    Does anyone have experience or an example with 

    SPGeneral.SendString("Test sendstring",Ret,count,hwndCall)

    I'm looking for a way to start another program and share data via StdIn and StdOut.

    Thursday, October 31, 2019 10:02 PM
  • SPGeneral.(Simple)SendString is for MultiMedia files to use functions from the winmm.dll via mciSendString function.

    see eg.

    mciSendString function and ff.

    pinvoke mciSendString (winmm)

    or simply search for mciSendString

    btw. Look at LitDev's source. He uses 'mciSendString'  in the LDSound object.

    Thursday, October 31, 2019 11:21 PM