Globals and...

Jim Ault JimAultWins at yahoo.com
Wed Mar 8 04:37:01 EST 2006


Whoops.. that should be without the extra quote before 'url'

> set the script of btn "green" to  url "file:/Desktop/ btnScript01.txt"
> set the script of btn "blue" to  url "file:/Desktop/ btnScript02.txt"
> set the script of btn "green" to  url "file:/Desktop/ btnScript03.txt"

On 3/7/06 6:49 PM, "Jim Ault" <JimAultWins at yahoo.com> wrote:

> 
> 
> On 3/7/06 5:02 PM, "LunchnMeets at aol.com" <LunchnMeets at aol.com> wrote:
> 
>> Hi Everyone,
>> 
>> OK so you can initiate globals for an object outside of a handler. That's
>> cool if you have more than one handler for an object. Is there anything else
>> I
>> can do outside of a handler that will apply to all handlers for an object?
>> 
>> Joe
> 
> Lots... take your pick _____________________
> --INSIDE Rev
> creating more cards, fields, buttons, groups
> using custom properties
> Back script
> Front script
> start using stack "libOfHandlers.rev"
> 
> set the script of btn "green" to " url "file:/Desktop/ btnScript01.txt"
> set the script of btn "blue" to " url "file:/Desktop/ btnScript02.txt"
> set the script of btn "green" to " url "file:/Desktop/ btnScript03.txt"
> 
> on opencard
> if the name of this card is "summary" then
> set the script of btn "Report" to url "file:/Desktop/btnScriptRptSmry.txt"
> else
>  set the script of btn "Report" to url "file:/Desktop/btnScriptRptDept.txt"
> end if
> end opencard
> 
> put "info" into url "file:/Desktop/dataFileForRev.txt"
> 
> --OUTSIDE Rev
> save spreadsheet as tab delimited, then open in Rev using
> put url "file:/Desktop/dataTableFromExcel.txt" into tDataTable
> 
> --via Applescript or VisualBasic
> much more stuff.
> 
> I am sure there are more, but that is a good start, off the top of my head.
> 
> Jim Ault
> Las Vegas
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list