Shoutbox

IDE for scripts - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: IDE for scripts (/showthread.php?tid=91239)

IDE for scripts by MX-G on 06-27-2009 at 09:15 PM

I want to make a script for msgplus! but I want to know if there is an IDE for developments?^o)


RE: IDE for scripts by mynetx on 06-27-2009 at 09:22 PM

Yes, there is the Script Editor.

  1. Open your contact list.
  2. Click the Messenger Plus! icon.
  3. In the appearing menu, click "Preferences & Options".
  4. On the left side, click "Scripts".
  5. Hit the button "Create new...", and enter a name for your script.
  6. The Script Editor will then open automatically.
  7. Don't overlook its menu on the top-right edge.

RE: IDE for scripts by MX-G on 06-27-2009 at 10:10 PM

but there isn't a gui :(, is there something similar as visual studio ide?


RE: IDE for scripts by mynetx on 06-27-2009 at 10:21 PM

Interface Writer  |  [beta] 1.0 -> [release] 1.5


RE: IDE for scripts by MX-G on 06-27-2009 at 10:25 PM

thanks a lot =)


RE: IDE for scripts by ShawnZ on 06-27-2009 at 10:51 PM

quote:
Originally posted by MX-G
but there isn't a gui

i believe the script editor is a GUI :p
RE: IDE for scripts by Spunky on 06-28-2009 at 12:19 AM

but not an IDE per se


RE: IDE for scripts by effection on 06-28-2009 at 04:15 PM

I'm in the process of creating one, all features are fished apart from the interface editor, i'm just waiting on patchou replying to an email which he doesn't seem to want to do these days*-)

[Image: screeni.jpg]

*Note code folding has been added to the text editor ;)


RE: IDE for scripts by mynetx on 06-28-2009 at 04:26 PM

It's normal that Patchou does not reply instantly these days.  There is a lot of stuff in the tubes, but once that is public, he will have a bit of time before going on with the next big project ;)


RE: IDE for scripts by ShawnZ on 06-28-2009 at 06:35 PM

quote:
Originally posted by effection
I'm in the process of creating one, all features are fished apart from the interface editor, i'm just waiting on patchou replying to an email which he doesn't seem to want to do these days*-)

[Image: screeni.jpg]

*Note code folding has been added to the text editor ;)

that better be Visual Studio Shell :p
RE: IDE for scripts by effection on 06-28-2009 at 08:21 PM

I'll release a small preview in a day or 2, I'll draw up a help file because there's a few minor things you may not understand in it. (release will not have the interface designer).  just to let you guys try and find bugs with what's there i suppose. I'll post a file for language translations :)


RE: IDE for scripts by prashker on 06-28-2009 at 08:26 PM

you spelled 'script' wrong in the about window :p


RE: IDE for scripts by mynetx on 06-28-2009 at 08:27 PM

quote:
Originally posted by effection
few minor things you may not understand
Programs should be self-explaining? 8-)
RE: IDE for scripts by effection on 06-28-2009 at 09:21 PM

quote:
Originally posted by SonicSam
you spelled 'script' wrong in the about window :p
Haha never noticed that :P

quote:
Originally posted by mynetx
quote:
Originally posted by effection
few minor things you may not understand
Programs should be self-explaining? 8-)

Well its easy enough to use it, it's just that your XML has to be properly formed, half the crap in scripts is poor XML which it wont open until you fix it. So i'm gona add a few tips etc to help people when their script or interface wont open ;)
RE: IDE for scripts by matty on 06-29-2009 at 01:04 PM

quote:
Originally posted by effection
I'm in the process of creating one, all features are fished apart from the interface editor, i'm just waiting on patchou replying to an email which he doesn't seem to want to do these days*-)

[Image: screeni.jpg]

*Note code folding has been added to the text editor ;)
I am quite intrigued! Would love to test this out.

Just a few suggestions:
  • Add intellisense
  • Only show the ScriptInfo.xml window when its selected.
  • Add the ability to create a PLSC from the project
  • For any XML files have a tree view that shows the Windows Name so you can easily access a specific Window within an XML
  • Support for subfolders in a script? (1)

All in all this looks amazing so far way to go!

1) Screenshot Sender comes with a lot of subdirectories:
Screenshot Sender
|   base64.js
|   commands.js
|   dirlist.txt
|   enumeration_functions.js
|   ftp.js
|   functions.js
|   hotkey.js
|   interface.js
|   language.js
|   menu.js
|   overlay.js
|   point_click_capture.js
|   preferences.js
|   registry.js
|   screenshot_sender.js
|   ScriptInfo.xml
|   timer.js
|   update.js
|   variables.js
|   __class_loader.js
|   __window_handler_loader.js
|   ___debug.js
|   
+---Classes
|       win32const.c
|       __action_hook.js
|       __commands.js
|       __font.js
|       __gdip.js
|       __global_hotkey.js
|       __hotkey.js
|       __listview.js
|       __menu.js
|       __script_menu.js
|       __session_images.js
|       ___api.js
|       
+---Images
|   |   bmp.png
|   |   breadcrumb-arrow-rtl.png
|   |   breadcrumb-arrow.png
|   |   jpg.png
|   |   jpg_disabled.png
|   |   no_image.png
|   |   pixel.png
|   |   pnggif.png
|   |   ss5.ico
|   |   
|   +---big
|   |       advanced.png
|   |       ftp.png
|   |       general.png
|   |       hotkeys.png
|   |       language.png
|   |       logo.png
|   |       
|   +---icons
|   |       add.png
|   |       back-colour.png
|   |       back.png
|   |       cancel.png
|   |       colors.png
|   |       disable.png
|   |       download.png
|   |       edit.png
|   |       enable.png
|   |       floppy.png
|   |       folder.png
|   |       font.png
|   |       help.png
|   |       next.png
|   |       ok-gray.png
|   |       ok.png
|   |       play.png
|   |       system.png
|   |       trash.png
|   |       users.png
|   |       warning.png
|   |       website.png
|   |       
|   \---normal
|           advanced.png
|           ftp.png
|           general.png
|           hotkeys.png
|           language.png
|           logo.png
|           
+---Languages
|   \---en
|           About.xml
|           ContactSelector.xml
|           ConvertImage.xml
|           Countdown.xml
|           en.xml
|           Hotkey_Subclass.xml
|           LanguageDownload.xml
|           MonitorSelect.xml
|           PlusVersion.xml
|           PointClickCapture.xml
|           PrefAdvanced.xml
|           Preferences.xml
|           PrefFtp.xml
|           PrefGeneral.xml
|           PrefHotkeys.xml
|           PrefLanguage.xml
|           Preview.xml
|           RecentImages.xml
|           ScreenshotViewer.xml
|           SelectArea.xml
|           Subclass.xml
|           Update.xml
|           UserCounter.xml
|           ViewImage.xml
|           WindowSelect.xml
|           
\---Window Handlers
        About_handler.js
        ContactSelector_handler.js
        ConvertImage_handler.js
        HotkeySubclass_handler.js
        MonitorSelect_handler.js
        PrefAdvanced_handler.js
        PrefDashboard_handler.js
        Preferneces_handler.js
        PrefFTP_handler.js
        PrefGeneral_handler.js
        PrefHotkeys_handler.js
        PrefLanguageDownload_handler.js
        PrefLanguage_handler.js
        PrefOverlay_handler.js
        Preview_handler.js
        RecentImages_handler.js
        ScreenshotViewer_handler.js
        SelectArea_handler.js
        UserCounter_handler.js
        WindowSelect_handler.js

RE: IDE for scripts by effection on 06-29-2009 at 01:19 PM

quote:
Originally posted by matty

I am quite intrigued! Would love to test this out.

Just a few suggestions:
  • Add intellisense
  • Only show the ScriptInfo.xml window when its selected.
  • Add the ability to create a PLSC from the project
  • For any XML files have a tree view that shows the Windows Name so you can easily access a specific Window within an XML
  • Support for subfolders in a script? (1)

All in all this looks amazing so far way to go!


All of these are there apart from intellisense ;) The script info is just showing docked because i opened it for an example you just didn't look hard enough for the rest

RE: IDE for scripts by matty on 06-29-2009 at 01:41 PM

Looks good. I saw the names under the XML but wondered why the About.xml had nothing etc.

I am quite excited for when you release it, even if it doesn't have the interface part.

Once recommendation is to add a "Save and Restart". Plus! doesn't restart scripts if you make a change to any js file not in the root. If this is something that interests you let me know I have the code for it.


RE: IDE for scripts by effection on 06-29-2009 at 02:24 PM

About.xml has bad xml in it so it didn't parse ;) it's 100% strict to the schema for plus so it must comply by those rules (namespaces etc can be the main problem).

Yeah i'd like to know how to restart the script watching for file changes is easy enough :)


RE: IDE for scripts by Spunky on 06-29-2009 at 04:22 PM

quote:
Originally posted by effection
Plus! doesn't restart scripts if you make a change to any js file not in the root. If this is something that interests you let me know I have the code for it.

Maybe something for Patchou to think about?

Also, this looks really good so far