Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2008
    Posts
    20

    Need Help with a some rich text cmds

    K i made a program wich works with rich text.
    When u type for ex. /ams it openes AMS software, if u type /firefox it openes mozilla firefox etc.
    The code:
    Code:
    if(e_Key==13)then
    	sCommand=RichText.GetText(this, false);
    	sCommand=String.Replace(sCommand, "\r\n", "", false);
    	if(sCommand=="/firefox")then
    	File.Open("C:\\Program Files\\Mozilla Firefox\firefox.exe", "", SW_SHOWNORMAL);
    	end
    RichText.SetText(this, "", false);
    end
    So now i want to make it with 2 rich texts
    So in RichText1 u need to type the command for ex. /firefox and press enter
    Then in RichText2 it will show Firefox has loaded. Please wait.
    Then when i type ex. /ams
    In RichText2 it will show the message AutoPlay Media Studio has loaded.
    Also when someone types a unknown command i wanna make it say @ RichText2 ex. Unkown Command please type /help for commands.

    Thanks in advance.

  2. #2
    Join Date
    Aug 2008
    Posts
    20
    Hmm Can anyone help me?

Similar Threads

  1. rich text object example requested
    By sue in forum AutoPlay Media Studio 7.5
    Replies: 8
    Last Post: 09-07-2008, 09:34 PM
  2. Need Help with Multiple RTF files and the Rich Text Object
    By sue in forum AutoPlay Media Studio 7.5
    Replies: 12
    Last Post: 02-04-2008, 02:08 PM
  3. rich text question
    By TimeSurfer in forum AutoPlay Media Studio 7.5
    Replies: 2
    Last Post: 01-07-2008, 12:38 AM
  4. Example: Loading Paragraph Text Using a Timer
    By Jonas DK in forum AutoPlay Media Studio 5.0 Examples
    Replies: 7
    Last Post: 11-25-2004, 05:10 PM
  5. HOWTO: Display Conditional Text Based Upon a List Box Selection
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-15-2002, 10:54 AM

Posting Permissions

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