Indigo Rose Software
  #1  
Old 09-15-2005
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
Lightbulb Example: AutoPlay Pad Text Editor

This sample project makes a functional text editor application using AutoPlay Media Studio 6.0. It has a lot of script in it that will demonstrate how to make a full Windows application.

Skills used:

Input object, Menu bars, menu callbacks, On Menu event, File actions, Dialog.FileBrowse action

Note: This project can only be used with AutoPlay Media Studio 6.0
Attached Images
File Type: jpg autoplay_pad_ss.jpg (68.5 KB, 807 views)
Attached Files
File Type: apz AutoPlay_Pad.apz (42.9 KB, 1166 views)
Reply With Quote
  #2  
Old 01-07-2006
FOBOS FOBOS is offline
Forum Member
 
Join Date: Jan 2006
Location: Russia, Penza city
Posts: 3
Thumbs up

Thanks for this sample!!!
Reply With Quote
  #3  
Old 03-11-2007
Fabiolas Fabiolas is offline
Forum Member
 
Join Date: Mar 2007
Posts: 16
How I can add others files types?
Reply With Quote
  #4  
Old 03-11-2007
mz241508's Avatar
mz241508 mz241508 is offline
Forum Member
 
Join Date: Oct 2006
Location: London, UK
Posts: 349
Try this, Replace the codes in Global Functions line number "094" with:
Quote:
local tblFiles = Dialog.FileBrowse(false,"Save","","Text Files (*.txt)|*.txt|Custom Text Files (*.ctf)|*.ctf|All Files (*.*)|*.*|", "", "txt");
And, Replace the codes in Global Functions line number "108" with:
Quote:
local tblFiles = Dialog.FileBrowse(true,"Open","","Text Files (*.txt)|*.txt|Custom Text Files (*.ctf)|*.ctf|All Files (*.*)|*.*|", "*.txt", "txt");
Replace the "ctf" string to your desired extension!
Reply With Quote
  #5  
Old 03-11-2007
Fabiolas Fabiolas is offline
Forum Member
 
Join Date: Mar 2007
Posts: 16
Talking

Quote:
Originally Posted by mz241508 View Post
Try this, Replace the codes in Global Functions line number "094" with:


And, Replace the codes in Global Functions line number "108" with:


Replace the "ctf" string to your desired extension!

Thnkx.. Your code working!
Reply With Quote
  #6  
Old 11-21-2008
brisk's Avatar
brisk brisk is offline
Forum Member
 
Join Date: Jun 2008
Posts: 35
how would you go about
adding a ( Find ) to the menu bar..

ie being able to search the text
for a word like you can with notepad.



great sample thanks.
Reply With Quote
  #7  
Old 11-24-2008
RizlaUK's Avatar
RizlaUK RizlaUK is offline
Forum Member
 
Join Date: May 2006
Location: London UK
Posts: 3,129
i dont think anyone has coded a search&replace dialog for AMS yet, i started one but got sidetracked, you will need to research "String" functions and you will also need worms caret.dll
Reply With Quote
  #8  
Old 05-31-2009
dvbappx dvbappx is offline
Forum Member
 
Join Date: Jul 2006
Posts: 8
I have a problem with the input object when the text was very long and large and can not beedited in input object. Is therre a way to reslove this ??????
Attached Files
File Type: txt bilo sta .txt (201.0 KB, 32 views)
Reply With Quote
  #9  
Old 05-31-2009
Imagine Programming's Avatar
Imagine Programming Imagine Programming is offline
Forum Member
 
Join Date: Apr 2007
Location: The Netherlands
Posts: 1,325
No, there is a maximum amount of characters for the input object, i believe it was around 30.000 characters.
Reply With Quote
  #10  
Old 06-01-2009
MicroByte MicroByte is offline
Forum Member
 
Join Date: Apr 2009
Posts: 236
there is a limit on the amount of text but it should not affect that file, its not that big, but it does appear to lock up the input object, try it in a richtext object as plain text, it seems to work ok in there
Reply With Quote
  #11  
Old 3 Weeks Ago
anilmjn anilmjn is offline
Forum Member
 
Join Date: Oct 2009
Posts: 3
Peekaboo! How to save the quiz sample in autoplay media 7

Hello Users,

I am using autoplay media 7. I am using QUIZ SAMPLE. But i am not able to save the selected answer in xml or html format.....

Can anyone help me.....? How to save the answers..........

anil
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Example: Loading Paragraph Text Using a Timer Jonas DK AutoPlay Media Studio 5.0 Examples 7 11-25-2004 06:10 PM
PROBLEM: AutoPlay Application Does Not Start Automatically Support AutoPlay Menu Studio 3.0 0 10-25-2002 03:21 PM
PROBLEM: AutoPlay Application Does Not Start Automatically Support AutoPlay Media Studio 4.0 Examples 0 10-25-2002 01:39 PM
HOWTO: Display Conditional Text Based Upon a List Box Selection Support AutoPlay Media Studio 4.0 Examples 0 10-15-2002 11:54 AM
TUTORIAL: Showing and Hiding Objects in AutoPlay Menu Studio 3.0 Support AutoPlay Menu Studio 3.0 0 10-10-2002 03:39 PM


All times are GMT -6. The time now is 02:37 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software