❞ كتاب AutoPlay Media Studio 8 ❝

❞ كتاب AutoPlay Media Studio 8 ❝

85
Scripting Guide
Scripting Guide
Contents
Introduction
A Quick Example of Scripting in AutoPlay Media Studio
Important Scripting Concepts
Script is Global
Script is Case-Sensitive
Comments
Delimiting Statements
Variables
What are Variables?
Variable Scope
Local Variables
Variable Naming
Reserved Keywords
Types and Values
Number
String
Nil
Boolean
Function
Table
Variable Assignment
Expressions and Operators
Arithmetic Operators
Relational Operators
Logical Operators
The Length Operator
Concatenation
Operator Precedence
Control Structures
If
While
Repeat
For
Tables (Arrays)
AutoPlay Media Studio 8
86
Creating Tables
Accessing Table Elements
Numeric Arrays
Associative Arrays
Using For to Enumerate Tables
Copying Tables
Table Functions
Functions
Function Arguments
Returning Values
Returning Multiple Values
Redefining Functions
Putting Functions in Tables
String Manipulation
Concatenating Strings
Comparing Strings
Counting Characters
Finding Strings
Replacing Strings
Extracting Strings
Converting Numeric Strings into Numbers
Other Built-in Functions
Script Functions
dofile
require
type
Actions
Debugging Your Scripts
Error Handling
Syntax Errors
Functional Errors
Debug Actions
Application.GetLastError
Debug.ShowWindow
Debug.Print
Debug.SetTraceMode
Debug.GetEventContext
Dialog.Message
Final Thoughts
Other Resources
Scripting Guide
87
Help File
User’s Guide
AutoPlay Media Studio Web Site
Indigo Rose Technical Support
The Lua Web Site
Introduction
Introduction
One of the powerful features of AutoPlay Media Studio is its scripting engine. This document
will introduce you to the new scripting environment and language.
AutoPlay scripting is very simple, with only a handful of concepts to learn. Here is what it looks
like:
a = 5;
if a < 10 then
Dialog.Message("Guess what?", "a is less than 10");
end
(Note: this script is only a demonstration. Don’t worry if you don’t understand it yet.)
The example above assigns a value to a variable, tests the contents of that variable, and if the
value turns out to be less than 10, uses an AutoPlay action called “Dialog.Message” to display a
message to the user.
New programmers and experienced coders alike will find that AutoPlay Media Studio is a
powerful, flexible yet simple scripting environment to work in.
A Quick Example of Scripting in AutoPlay Media Studio
Here is a short tutorial showing you how to enter a script into AutoPlay Media Studio and
preview the results:
1.
Start a new project.
2.
Create a new button object.
3.
In the Actions category of the properties pane, click on the On Click event. A small edit button
should appear next to the word “-- None --” on the right.

i
ed a Web Browser Window......
-
من كتب شروحات البرامج العامة والخدمية - مكتبة الكتب والموسوعات العامة.

نبذة عن الكتاب:
AutoPlay Media Studio 8

2013م - 1446هـ
85
Scripting Guide
Scripting Guide
Contents
Introduction
A Quick Example of Scripting in AutoPlay Media Studio
Important Scripting Concepts
Script is Global
Script is Case-Sensitive
Comments
Delimiting Statements
Variables
What are Variables?
Variable Scope
Local Variables
Variable Naming
Reserved Keywords
Types and Values
Number
String
Nil
Boolean
Function
Table
Variable Assignment
Expressions and Operators
Arithmetic Operators
Relational Operators
Logical Operators
The Length Operator
Concatenation
Operator Precedence
Control Structures
If
While
Repeat
For
Tables (Arrays)
AutoPlay Media Studio 8
86
Creating Tables
Accessing Table Elements
Numeric Arrays
Associative Arrays
Using For to Enumerate Tables
Copying Tables
Table Functions
Functions
Function Arguments
Returning Values
Returning Multiple Values
Redefining Functions
Putting Functions in Tables
String Manipulation
Concatenating Strings
Comparing Strings
Counting Characters
Finding Strings
Replacing Strings
Extracting Strings
Converting Numeric Strings into Numbers
Other Built-in Functions
Script Functions
dofile
require
type
Actions
Debugging Your Scripts
Error Handling
Syntax Errors
Functional Errors
Debug Actions
Application.GetLastError
Debug.ShowWindow
Debug.Print
Debug.SetTraceMode
Debug.GetEventContext
Dialog.Message
Final Thoughts
Other Resources
Scripting Guide
87
Help File
User’s Guide
AutoPlay Media Studio Web Site
Indigo Rose Technical Support
The Lua Web Site
Introduction
Introduction
One of the powerful features of AutoPlay Media Studio is its scripting engine. This document
will introduce you to the new scripting environment and language.
AutoPlay scripting is very simple, with only a handful of concepts to learn. Here is what it looks
like:
a = 5;
if a < 10 then
Dialog.Message("Guess what?", "a is less than 10");
end
(Note: this script is only a demonstration. Don’t worry if you don’t understand it yet.)
The example above assigns a value to a variable, tests the contents of that variable, and if the
value turns out to be less than 10, uses an AutoPlay action called “Dialog.Message” to display a
message to the user.
New programmers and experienced coders alike will find that AutoPlay Media Studio is a
powerful, flexible yet simple scripting environment to work in.
A Quick Example of Scripting in AutoPlay Media Studio
Here is a short tutorial showing you how to enter a script into AutoPlay Media Studio and
preview the results:
1.
Start a new project.
2.
Create a new button object.
3.
In the Actions category of the properties pane, click on the On Click event. A small edit button
should appear next to the word “-- None --” on the right.

i
ed a Web Browser Window......

.
المزيد..

تعليقات القرّاء:

Table Of Contents 
Introduction
................................................................................................................1 
Introduction.................................................................................................................1 
Introduction.................................................................................................................1 
What is AutoPlay?...................................................................................................1 
What Can I Create With AutoPlay Media Studio?...................................................1 
Intuitive, Drag and Drop Design..............................................................................2 
Introduction.................................................................................................................2 
NEW! Faster & More Powerful Lua 5.1 Scripting Engine.......................................2 
NEW! Support for Lua 5.1 Code Modules...............................................................2 
NEW! Blu-ray Disc Support....................................................................................3 
NEW! Application Styles / Skinning.......................................................................3 
NEW! Integrated Database Access..........................................................................3 
NEW! PDF Object...................................................................................................3 
NEW! PDF Actions.................................................................................................3 
NEW! QuickTime Object........................................................................................3 
NEW! QuickTime Actions......................................................................................3 
NEW! xButton Object.............................................................................................4 
NEW! Checkbox List Object...................................................................................4 
NEW! Rolling Code Data Security..........................................................................4 
NEW! Multiple Timers............................................................................................4 
NEW! Service Actions............................................................................................4 
NEW! FTPWI Actions............................................................................................4 
NEW! System Restore Actions................................................................................4 
NEW! Dialog.ComboBox Action............................................................................5 
NEW! Balloon Tooltips and Extended Tooltips.......................................................5 
NEW! Modernized Visual Workspace.....................................................................5 
NEW! Plugin SDK v2.............................................................................................5 
Improved! Grid Object............................................................................................5 
Improved! Flash Object with ExternalInterface Support..........................................5 
Improved! Web Object............................................................................................5 
NEW! Stack Traceback for Syntax Errors................................................................6 
NEW! Debug Message Logging..............................................................................6 
NEW! Eyedropper Color Picker..............................................................................6 
NEW! Updated Dependency Modules.....................................................................6 
NEW! Windows Object Styles................................................................................6 
NEW! Visually Identify Plugin Actions...................................................................6 
Improved! Video Object Transport Skins.................................................................6 
Improved! Paragraph Object Scrollbar Styles..........................................................7 
Improved! Application Startup Dialog.....................................................................7 
Improved! Project Explorer Window.......................................................................7 
Improved! Quick Script Snippets.............................................................................7 
NEW! Centralized Repository for Plugins, Templates and Addons..........................7 
Much More.............................................................................................................7 
Introduction.................................................................................................................7 
Table Of Contents 
ii 
Highlights................................................................................................................8 
Visual Development Environment...........................................................................8 
Drag-and-Drop Development..................................................................................8 
Interactive Objects...................................................................................................8 
Easy Publishing.......................................................................................................8 
Professional Templates............................................................................................9 
Easy to Learn..........................................................................................................9 
Content Gallery.......................................................................................................9 
Project Explorer......................................................................................................9 
Properties Pane........................................................................................................9 
Page/Dialog Management........................................................................................9 
File Layout System..................................................................................................9 
Thumbnail File Browsers........................................................................................9 
Quick Preview.........................................................................................................9 
Undo/Redo..............................................................................................................9 
Align and Arrange.................................................................................................10 
Group, Pin, Lock & Hide.......................................................................................10 
Grid and Ruler.......................................................................................................10 
Guidelines.............................................................................................................10 
Customizable Toolbars..........................................................................................10 
Built-in Spelling Checker......................................................................................10 
Professional Features.............................................................................................10 
Customizable Dialogs............................................................................................10 
Video, Flash, Web, Images & More.......................................................................10 
Multi-Channel Audio Mixing................................................................................10 
Transparency, Shadows and Blending...................................................................11 
Startup Video or Flash Movie................................................................................11 
Custom Window Shapes........................................................................................11 
Background Music................................................................................................11 
Window Styles......................................................................................................11 
Application Styles / Skinning................................................................................11 
Automatic Sizing and Positioning of Objects.........................................................11 
Custom Icons.........................................................................................................11 
Menu Bars.............................................................................................................12 
Resource Stamping................................................................................................12 
Automatic Code Signing........................................................................................12 
Page Keyword Searching.......................................................................................12 
Interactive Objects.................................................................................................12 
xButton Object......................................................................................................12 
PDF Object............................................................................................................12 
QuickTime Object.................................................................................................12 
Button Object........................................................................................................13 
Text Label Object..................................................................................................13 
Paragraph Object...................................................................................................13 
Rich Text Object...................................................................................................13 
Image Object.........................................................................................................13 
Table Of Contents 
iii 
Video Object.........................................................................................................13 
Adobe Flash Object...............................................................................................13 
Web Browser Object.............................................................................................13 
Slideshow Object...................................................................................................13 
Hotspot Object......................................................................................................13 
Input Object..........................................................................................................14 
List Box Object.....................................................................................................14 
Combo Box Object................................................................................................14 
Checkbox Object...................................................................................................14 
Radio Button Object..............................................................................................14 
Progress Bar Object...............................................................................................14 
Tree Object............................................................................................................14 
Grid Object............................................................................................................14 
Publishing Options................................................................................................14 
Publishing Wizard.................................................................................................14 
Integrated CD/DVD/Blu-Ray Burning...................................................................15 
Web/Email Executable..........................................................................................15 
Hard Drive Folder.................................................................................................15 
ISO Image.............................................................................................................15 
Powerful Interactivity............................................................................................15 
No Programming Required....................................................................................15 
Open Any File, Program or Document...................................................................15 
Print Pages/Dialogs at Runtime.............................................................................15 
Event Driven.........................................................................................................15 
Page/Dialog Timers...............................................................................................15 
Integrated Database Access...................................................................................16 
Flexible Scripting Engine......................................................................................16 
Support for Lua 5.1 Code Modules........................................................................16 
Comprehensive Action Library..............................................................................16 
Easy to Use Action Wizard....................................................................................16 
Expandable with Action Plugins............................................................................16 
Centralized Repository for Plugins, Templates and Addons...................................17 
Trusted by Professionals........................................................................................17 
Introduction...............................................................................................................17 
CD-ROM AutoPlay/AutoRun Menus....................................................................17 
Multimedia Business Cards...................................................................................17 
Custom Web Browsers..........................................................................................17 
Brochures..............................................................................................................17 
Training Guides.....................................................................................................17 
Custom Audio Players...........................................................................................18 
Software Samplers.................................................................................................18 
Slideshows............................................................................................................18 
New Product/Service Announcements...................................................................18 
Offline Web Sites..................................................................................................18 
Sales Presentations................................................................................................18 
Electronic Books...................................................................................................18 
Table Of Contents 
iv 
Catalogs................................................................................................................18 
Fundraising...........................................................................................................18 
Direct Mail Piece...................................................................................................18 
Testimonials..........................................................................................................19 
Trade Show Handouts...........................................................................................19 
Resumes................................................................................................................19 
Annual Reports......................................................................................................19 
Grand Openings....................................................................................................19 
Advertising............................................................................................................19 
Real Estate Brochure.............................................................................................19 
Corporate Profiles.................................................................................................19 
Product Branding...................................................................................................19 
Financial Statements..............................................................................................19 
Press Releases.......................................................................................................19 
Special Events.......................................................................................................20 
Travel Brochures...................................................................................................20 
Corporate Messages..............................................................................................20 
Photo Albums........................................................................................................20 
Portfolios...............................................................................................................20 
Corporate Event Invitations...................................................................................20 
Interactive Presentations........................................................................................20 
Membership Cards................................................................................................20 
Music Groups........................................................................................................20 
Concert and Event Tickets.....................................................................................20 
Weddings..............................................................................................................20 
Wedding Invitations..............................................................................................21 
Digital Magazines.................................................................................................21 
Hybrid Music/Application CD's.............................................................................21 
Theatre Groups......................................................................................................21 
Employee Policies.................................................................................................21 
Introduction...............................................................................................................21 
Changes to AutoPlay Media Studio...........................................................................22 
Importing AutoPlay Media Studio Projects................................................................22 
Running on Windows Vista or Later..........................................................................23 
Overview...............................................................................................................23 
Important Vista or Later Features..........................................................................23 
AutoPlay Media Studio Vista/Windows 7 Runtime Features.................................24 
Choosing the appropriate "Requested User Privilege Level" Setting......................24 
Authenticode Signing............................................................................................26 
Copyright Information...............................................................................................26 
Proprietary Notice.................................................................................................26 
Trademarks...........................................................................................................26 
Copyright..............................................................................................................26 
System Requirements................................................................................................27 
Design Environment..............................................................................................27 
Run-time Application (Published Project)..............................................................27 
Table Of Contents 

How Do I?
.................................................................................................................29 
How do I...?..............................................................................................................29 
How do I...?..............................................................................................................31 
Add a Hyperlink/Hotspot Object...........................................................................31 
Example 1.............................................................................................................31 
Example 2.............................................................................................................32 
Example 3.............................................................................................................32 
How do I...?..............................................................................................................32 
Add an Email Link with Subject............................................................................32 
How do I...?..............................................................................................................33 
Add Password Protection.......................................................................................33 
How do I...?..............................................................................................................34 
Adjust Volume Levels...........................................................................................34 
How do I...?..............................................................................................................34 
Apply Changes to Multiple Objects.......................................................................34 
How do I...?..............................................................................................................35 
Ask the User for Confirmation Before Exiting.......................................................35 
How do I...?..............................................................................................................35 
Auto-Save My Project...........................................................................................35 
How do I...?..............................................................................................................36 
Change the Application Icon.................................................................................36 
How do I...?..............................................................................................................36 
Change the Page Size............................................................................................36 
How do I...?..............................................................................................................36 
Change the Title Bar Text......................................................................................36 
How do I...?..............................................................................................................36 
Check For Internet Explorer..................................................................................36 
How do I...?..............................................................................................................37 
Check For Adobe Flash.........................................................................................37 
How do I...?..............................................................................................................37 
Check if a Particular Program is Running..............................................................37 
How do I...?..............................................................................................................38 
Close My Application Immediately.......................................................................38 
How do I...?..............................................................................................................38 
Compare Two Strings............................................................................................38 
How do I...?..............................................................................................................38 
Control Volume Settings at Run Time...................................................................39 
How do I...?..............................................................................................................39 
Copy a File to the Hard Drive................................................................................39 
How do I...?..............................................................................................................39 
Create a Button that Closes the Application...........................................................39 
How do I...?..............................................................................................................39 
Create a Custom Callback Function.......................................................................40 
How do I...?..............................................................................................................40 
Create a File Browser............................................................................................40 
How do I...?..............................................................................................................40 
Table Of Contents 
vi 
Create a Mixed-Mode CD......................................................................................40 
Data in Track 1......................................................................................................40 
Pre-Gap / Track-Zero............................................................................................41 
CD Extra or Enhanced CD.....................................................................................41 
Conclusion............................................................................................................41 
How do I...?..............................................................................................................42 
Create a Multilingual Application..........................................................................42 
How do I...?..............................................................................................................42 
Create a Non-Rectangular Window.......................................................................42 
How do I...?..............................................................................................................43 
Create a Single-File Executable.............................................................................43 
How do I...?..............................................................................................................43 
Create a Table of Contents.....................................................................................43 
How do I...?..............................................................................................................44 
Create an Image Map.............................................................................................44 
How do I...?..............................................................................................................45 
Create CD-ROM Browsing Windows....................................................................45 
Opening a folder within your project:....................................................................45 
Opening a folder in an external window:...............................................................45 
Opening a folder in an explorer window:...............................................................45 
How do I...?..............................................................................................................45 
Detect if Internet Access is Available....................................................................45 
How do I...?..............................................................................................................46 
Detect the End of a Flash Movie............................................................................46 
How do I...?..............................................................................................................46 
Detect what Operating System (OS) is Being Used................................................46 
How do I...?..............................................................................................................46 
Detect what Version of Internet Explorer is Installed.............................................46 
How do I...?..............................................................................................................47 
Determine Amount of Free Space on a Drive.........................................................47 
How do I...?..............................................................................................................47 
Determine if a Network (LAN) is Present..............................................................47 
How do I...?..............................................................................................................48 
Determine the Drive Letter of the Primary Hard Drive..........................................48 
How do I...?..............................................................................................................48 
Determine the Operating System (OS) Language...................................................48 
How do I...?..............................................................................................................49 
Determine When a Video has Finished Playing.....................................................49 
How do I...?..............................................................................................................49 
Display a Save As Dialog......................................................................................49 
How do I...?..............................................................................................................49 
Display Text and/or Images with MouseOver Events.............................................49 
How do I...?..............................................................................................................50 
Duplicate Objects..................................................................................................50 
How do I...?..............................................................................................................50 
Emb

 AutoPlay Media Studio 8
autoplay media studio 8 عربي
تحميل برنامج autoplay media studio 8 كامل مع السيريال
autoplay media studio 8 تعريب
autoplay media studio 8 شرح
autoplay media studio 8 trial كراك
تحميل برنامج autoplay media studio 8 + crack
autoplay media studio 9 كامل
تحميل برنامج autoplay media studio 7.0 عربي



سنة النشر : 2013م / 1434هـ .
حجم الكتاب عند التحميل : 76.2 كيلوبايت .
نوع الكتاب : pdf.
عداد القراءة: عدد قراءة AutoPlay Media Studio 8

اذا اعجبك الكتاب فضلاً اضغط على أعجبني
و يمكنك تحميله من هنا:

تحميل AutoPlay Media Studio 8
شكرًا لمساهمتكم

شكراً لمساهمتكم معنا في الإرتقاء بمستوى المكتبة ، يمكنكم االتبليغ عن اخطاء او سوء اختيار للكتب وتصنيفها ومحتواها ، أو كتاب يُمنع نشره ، او محمي بحقوق طبع ونشر ، فضلاً قم بالتبليغ عن الكتاب المُخالف:

برنامج تشغيل ملفات pdfقبل تحميل الكتاب ..
يجب ان يتوفر لديكم برنامج تشغيل وقراءة ملفات pdf
يمكن تحميلة من هنا 'http://get.adobe.com/reader/'