RE: I Have a Problem With a Plug-In

2020-09-27 Thread FlexibleLearning.com via use-livecode
Assuming your openCard handler is in the script of card 1, from the message
box...

edit the script of cd 1 of stack " CollectMyStacks.rev"

Hugh Senior


> I have? CollectMyStacks.rev, close itself after opens the card
> 
> on opencard
>  send "mouseUp" to button  "Position IDE" in  1 seconds
>  close this stack
> end opencard
> 
> Now, this was a bad idea. How to get the message
> 
>  close this stack
> 
> how to delete that?
> 
> set the lockMessages to true
> 
> it has no affect.
> 
> BR


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: I Have a Problem With a Plug-In

2020-09-27 Thread Sannyasin Brahmanathaswami via use-livecode
That did it!

 J. Landman Gay wrote:

Click the Messages icon in the toolbar. That will prevent the handler from 
running when the stack opens and you can delete the line in the script.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Problem an Repeat Loop

2020-09-27 Thread Sannyasin Brahmanathaswami via use-livecode
# for development
 local tPath
 repeat with x = 2 to sTotalSceneCount
put line x of sImageList into tPath
go to card x
 set the filename of sStoryImage to tPath
 set the itemDelimiter to “|”
put item x of sQuoteList into fld “mainText”
 end repeat

# I get a full line 

stack “makeStoryFromDisk”: execution error at line 68 (Chunk: error in object 
expression), char 1

It is exactly the same as in input for behavior_story except that
do not work a repeat loop?

BR

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Problem an Repeat Loop

2020-09-27 Thread Tore Nilsen via use-livecode
You do not refer to any object type when you try to set the fileName of what 
should possibly be an image. 

Try this:
Set the fileName of image sStoryImage to tPath

Best regards 
Tore Nilsen

> 28. sep. 2020 kl. 03:47 skrev Sannyasin Brahmanathaswami via use-livecode 
> :
> 
> # for development
> local tPath
> repeat with x = 2 to sTotalSceneCount
>   put line x of sImageList into tPath
>   go to card x
>set the filename of sStoryImage to tPath
>set the itemDelimiter to “|”
>   put item x of sQuoteList into fld “mainText”
> end repeat
> 
> # I get a full line 
> 
> stack “makeStoryFromDisk”: execution error at line 68 (Chunk: error in object 
> expression), char 1
> 
> It is exactly the same as in input for behavior_story except that
> do not work a repeat loop?
> 
> BR
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode