Re: I Want to Print Out the Entire "mobile (ad,Control,Set,Get,Do")

2021-01-22 Thread Sannyasin Brahmanathaswami via use-livecode
But there is no print option in

API  |  Guide

And their in no entry in for “mobile” in

LiveCode User Guide.pdf

?

I think you will need to print the dictionary entries for mobileControlSet and 
mobileControlGet and mobileControlDo.


Sent from my iPhone

> On Jan 21, 2021, at 9:31 PM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
>
> It seems to be NOT in the guide. At least printable
> ___
> 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
___
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


I Want to Print Out the Entire "mobile (ad,Control,Set,Get,Do"

2021-01-21 Thread Sannyasin Brahmanathaswami via use-livecode
It seems to be NOT in the guide. At least printable
___
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


mobileControlCreate (set, do, etc)

2021-01-15 Thread Sannyasin Brahmanathaswami via use-livecode
How in this done on desktop? It takes 15 minutes to build a standalone on iOS. 
Do we have make adjustments the mobile controls. AND then do another standalone.

This would intro a Big factor in time development.

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


How to One Stack to Interact With Another

2020-12-20 Thread Sannyasin Brahmanathaswami via use-livecode
1) One stack, interacting with another. (Type setting is a goal) i.e. set as a 
pallet, with a mouseup on it

on mouseUp 
   set the defaultstack to "SlideShowSetUp"
   the selectedtext of fld "mainText"
end mouseup

2) whereas the selectedText into Stack Two ( we want to change the font size, 
color of the selectedText), simply goes away.

Now, we know that is how it works, numberless examples in the IDE. But can you 
explained it? The "focused with keyboard" in the pallet is unchecked. That was 
the idea to brought me back to the idea that where the selectedText was still 
selected. But no, it gets "wiped" ...there are zero characters, that are 
selected. It must be simple.

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


mobileControlDo - player

2020-12-10 Thread Sannyasin Brahmanathaswami via use-livecode
This is “lean”.
 ~~"begin seeking forward" only on iOS

But Android are we going to  use 

- *time*: The milliseconds from the beginning.

To build, by hand, something  that will “play  forward/backward” because of the 
time?

So we  are  going  use a Livecode options to make time 
➢ 00:12:20 ---   00:2:40. #timing remaining 

And make it run time active as we play the file?

Can we download some site that has mastered that "thing"
LC file/library. Some stack 

BR



**Player Specific Actions**
- "play": Start playing the content of the player.
- "pause": Pause the content at the current position.
- "stop": Stop playing the content of the player.
- "prepareToPlay" (iOS Only): Make the content ready to play, but
don't actually commence playback.
- ~~"begin seeking forward" (iOS Only): Start seeking forward through
the content of the player.~~ *Note*: removed in LiveCode 9.6
- ~~"begin seeking backward" (iOS Only): Start seeking backward through
the content of the player.~~ *Note*: removed in LiveCode 9.6
- ~~"end seeking" (iOS Only): Stop seeking through the content of the
player.~~ *Note*: removed in LiveCode 9.6
- "snapshot" | "snapshot exactly", *time*, [ *maxWidth*, *maxHeight* ]
(iOS Only): Take a snapshot of the movie at time milliseconds from the
beginning. If the 'exactly' form is specified the frame produced is
as close as possible to time, otherwise the nearest keyframe is
used. The snapshot is made available as a new image object cloned
from the templateImage, with data in the format as specified by the
lcs,global, lcs,paintCompression, property. Takes the following 
additional parameters: 
- *time*: The milliseconds from the beginning.
- *maxWidth* (optional): If *maxWidth* and *maxHeight* are specified, the
snapshot is scaled to fit within a rectangle of that size but
preserving the frame's aspect ratio.
- *maxHeight* (optional): If *maxWidth* and *maxHeight* are specified, the
snapshot is scaled to fit within a rectangle of that size but
preserving the frame's aspect ratio.

___
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: OT: Android, MotoG6, ./adb devices I can't to attach itself

2020-12-06 Thread Sannyasin Brahmanathaswami via use-livecode
I will test this

It takes 12 minutes to do an iPhone Big Sur!

When that happens I do:
./adb kill-server
./adb start-server
./adb devices

If that doesn't work try sudo:


Sometimes you have to restart LC.
___
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


Double Clicking on a Field

2020-12-04 Thread Sannyasin Brahmanathaswami via use-livecode
I want a user to scroll the fields. If a user sends mouseup, simply scrolls the 
field. It does not react.  It is locked.

But if the user double clicks on field, it reacts.

Basically it goes to another cards, taking with it a single Title in the list, 
on a double click of the field

If I try

If double-click then
   # code
End if

It does not work…

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


OT: Android, MotoG6, ./adb devices I can't to attach itself

2020-12-01 Thread Sannyasin Brahmanathaswami via use-livecode
Even If I Upgrade to Sur. Even from terminal


cd /Users/brahmanathaswami/Library/Android/sdk/platform-tools


brahmanathaswami@Sannyasins-MacBook-Pro-2 platform-tools % ./adb devices

List of devices attached

Why doesn’t it show as devices -  USB debugging as connected ?

It should say

Z………. attached

But it does show

Location of Android development SDK root:

/Users/brahmanathaswami/Library/Android/sdk

JDK Path: /Library/JavaVirtualMachines/jdk1.8.0_221.jdk

Does I have it installed correctly?

Is there a “trick” to get it showing

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


Develop Audio

2020-11-22 Thread Sannyasin Brahmanathaswami via use-livecode
I am back to the “Listen” module. That is audio…

Can you send me off list, scripts for

BackPause/PlayForward

A script that opens one music file?

It has been “many moons” that were done…

http://dev.himalayanacademy.com/screenshots/single-music-file.png

Brahmanathaswami
___
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: On Browser Widget/Google, the "smart" Font Sizer to Go Center, on Android phone?

2020-11-21 Thread Sannyasin Brahmanathaswami via use-livecode
Well

com.livecode.widget.browser

but I would not know where to begin?

There is a small font resizer, it goes up or down

_  _
| -  | |   + |

Is it possible to go center?  Its lies to the right of margin of the browser 
widget, and we have the page  “Go Right” which conflicts with the font resizer.

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


On Browser Widget/Google, the "smart" Font Sizer to Go Center, on Android phone?

2020-11-21 Thread Sannyasin Brahmanathaswami via use-livecode
There is a small font resizer, it goes up or down

_  _
| -  | |   + |

Is it possible to go center?  Its lies to the right of margin of the browser 
widget, and we have the page  “Go Right” which conflicts with the font resizer.

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


New to Get a Copy of Scaled Down Version of an Image

2020-10-28 Thread Sannyasin Brahmanathaswami via use-livecode
Take for example

[command] resizeToWidth tImage, 400

on resizeToWidth pImage,pSize
   local tOrigImgWidth, tOrigImgHeight, tRatio, tNewWidth, tNewHeight
   set the itemdel to "x"
   put item 1 of sCurrentGraphicRect into tOrigImgWidth
   put item 2 of sCurrentGraphicRect into tOrigImgHeight

   if tOrigImgWidth is 0 then exit resizeToWidth

   put pSize/tOrigImgWidth into tRatio
   put (tOrigImgHeight * tRatio) into tNewHeight
   put (tOrigImgWidth * tRatio) into  tNewWidth

   set the rect of  pImage to 0,0,tNewWidth,tNewHeight

end resizeToWidth

How do I get a copy, with the image scaled down, which is visible on screen?

[coded]
  if (the width of tImage > the heigth of tImage )  then
  # portrait
  resizeToWidth tImage, 400
   else
  # landscape
  resizeToHeigth tImage, 400
   end if

   # now we set the img to the img "currentpuzzle"
   set the name of the last image to "currentpuzzle"

   # and copy the data, at 400px wide
   put the rect of the last image into tImageData["rect"]
   put the imageData of the last image into tImageData["image"]

   put tImageData["image"] into image "currentpuzzle"


   BUT the full scaled copy of the image "currentpuzzle" comes into view. I 
wanted to get a scaled down version?

How do we implement this, from the dictionary


The imageData, unlike the contents of the image 
container, is based on the picture as it's presented on the 
screen, not stored in the image object. This 
means that if you resize an image, the content of the 
image does not change, but its imageData does. If you create an 
image and then reduce its size, its imageData reflects the 
scaled-down, displayed image, not the original full-scale 
image. If you create a second image and set its 
imageData property to the imageData of the original 
image, resizing the first image back to the original 
dimensions displays the original image at full resolution, but 
resizing the second image does not, because setting its imageData 
transferred only the scaled-down version of the original.


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


New to Get a Copy of Scaled Down Version of an Image

2020-10-28 Thread Sannyasin Brahmanathaswami via use-livecode
Take for example

[command] resizeToWidth tImage, 400

on resizeToWidth pImage,pSize
   local tOrigImgWidth, tOrigImgHeight, tRatio, tNewWidth, tNewHeight
   set the itemdel to "x"
   put item 1 of sCurrentGraphicRect into tOrigImgWidth
   put item 2 of sCurrentGraphicRect into tOrigImgHeight

   if tOrigImgWidth is 0 then exit resizeToWidth

   put pSize/tOrigImgWidth into tRatio
   put (tOrigImgHeight * tRatio) into tNewHeight
   put (tOrigImgWidth * tRatio) into  tNewWidth

   set the rect of  pImage to 0,0,tNewWidth,tNewHeight

end resizeToWidth

How do I get a copy, with the image scaled down, which is visible on screen?

[coded]
  if (the width of tImage > the heigth of tImage )  then
  # portrait
  resizeToWidth tImage, 400
   else
  # landscape
  resizeToHeigth tImage, 400
   end if

   # now we set the img to the img "currentpuzzle"
   set the name of the last image to "currentpuzzle"

   # and copy the data, at 400px wide
   put the rect of the last image into tImageData["rect"]
   put the imageData of the last image into tImageData["image"]

   put tImageData["image"] into image "currentpuzzle"


   BUT the full scaled copy of the image "currentpuzzle" comes into view. I 
wanted to get a scaled down version?


Svasti Astu – Be Well
Brahmanathaswami

Get SivaSiva.app – It free!
https://www.himalayanacademy.com/view/sivasiva


___
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: What Causes "##string##"

2020-10-02 Thread Sannyasin Brahmanathaswami via use-livecode
Nope!

Does this work?

##string##
--

___
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: Getting URL to Work in specialFolderDocuments

2020-10-02 Thread Sannyasin Brahmanathaswami via use-livecode
on dataServerStack
   local tHttpsServerRoot,tLocalDocumentsStories
   put "https://dev.himalayanacademy.com/media/stories/; --into tHttpsServerRoot
   put specialFolderPath("Documents") & "/SivaSivaApp/media/stories/" into 
tLocalDocumentsStories
   put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") 
into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode"
end dataServerStack

it goes badly to documents folder,

on dataServerStack
   local tHttpsServerRoot,tLocalDocumentsStories
   put "https://dev.himalayanacademy.com/media/stories/; into tHttpsServerRoot
   put specialFolderPath("Documents") & "/SivaSivaApp/media/stories/" into 
tLocalDocumentsStories
   put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") 
into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode"
end dataServerStack

it goes badly to documents folder,

?
put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") into 
tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode"
 
Compile error line 119 (Handler: bad command) near "&", char 84


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


Getting URL to Work in specialFolderDocuments

2020-10-02 Thread Sannyasin Brahmanathaswami via use-livecode
on dataServerStack
   local tHttpsServerRoot,tLocalDocumentsStories
   put "https://dev.himalayanacademy.com/media/stories/; --into tHttpsServerRoot
   put specialFolderPath("Documents") & "/SivaSivaApp/media/stories/" into 
tLocalDocumentsStories
   put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") 
into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode"
end dataServerStack 

it goes badly to documents folder, 

?

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: What Causes "##string##"

2020-10-02 Thread Sannyasin Brahmanathaswami via use-livecode
Words of Our Master
By
Siva Yogaswami

textAlign does not work it gets 'wiped' clean ??


 Devin Asay 

Probably when the textAlign property of a line is set to “center”?

___
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


What Causes "##string##"

2020-10-02 Thread Sannyasin Brahmanathaswami via use-livecode
When setting  htmltext?

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-28 Thread Sannyasin Brahmanathaswami via use-livecode
Yes! I was thinking of a one card, Sheesh
It all worked!

Paul Dupuis wrote:

set the itemDelimiter to “|”
repeat with x = 2 to sTotalSceneCount
set the filename of img "slideImage" of card x to line x of sImageList
set the text of fld "mainText" of card x to item x of of sQuoteList
end repeat

 Brian Milby wrote:

image “slideImage” of cd x
fld “mainText” of cd x

___
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: How to delete cards but card 1

2020-09-28 Thread Sannyasin Brahmanathaswami via use-livecode
You did it!
Yay!
BR

Paul Dupuis wrote:

repeat with i = the number of cards down to 2
  delete card i
end repeat

___
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


How to delete cards but card 1

2020-09-28 Thread Sannyasin Brahmanathaswami via use-livecode
repeat forever
  go last card 
  delete this card
   end repeat

I have tried everything in the manual 

??
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-28 Thread Sannyasin Brahmanathaswami via use-livecode
I use the long name of the image

local sStoryImage
 put the long id of img "slideImage" into sStoryImage

still:

 # 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?
 

 Tore Nilsen wrote:

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



___
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: 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


I Have a Problem With a Plug-In

2020-09-26 Thread Sannyasin Brahmanathaswami via use-livecode
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: HOw to get htmltext from the field to display in another field

2020-09-21 Thread Sannyasin Brahmanathaswami via use-livecode
I found it:

button "Check HTML"

on mouseUp
   If  "" is in field "mainText" then -- htmltext is there
  set the htmlText of field "mainText" to field "mainText"
   else
  put the htmltext of field "mainText" into field "mainText"
   end if
end mouse

BUT!

Vedas
A Random Selection
of Sutras

gets turned around. It becomes

Vedas
A Random Selection
of Sutras

?? where does the font size becomes "34" . Even with the font size of field 
increases, it stays at size="34"?? 

BR

 J. Landman Gay  wrote:

I think Swami wants a toggle, so it's likely the field won't ever be empty.




___
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: HOw to get htmltext from the field to display in another field

2020-09-20 Thread Sannyasin Brahmanathaswami via use-livecode
Eureka! So easy, now to get back to the htmlText as per the code

if the htmlText of field "mainText"  then
  put the htmlText of field "mainText" into field "mainText"
   else
  set the htmlText of field "mainText" to field "mainText"
  end if

we wonder how easy it to tell that "if" the clause is telling it is "true" 

 if (set the htmlText of field "mainText" to field "mainText") then

does not work

BR

 Peter Bougdanof wrote:

set the htmlText of field "Src" to field "Src"

___
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: HOw to get htmltext from the field to display in another field

2020-09-17 Thread Sannyasin Brahmanathaswami via use-livecode
Ralph,

So this did not work. I have 

[ fld "Src" ]

My Trek to Siva
Magical Abodes

Join the author on a tour of ancient Siva temples
--
[ fld "Dest" ]

My Trek to Siva
Magical Abodes

Join the author on a tour of ancient Siva temples
---
It same for both fields. Neither one displays the htmltext text .

??
set the htmltext of fld "checkHTML" to the htmlText of fld "mainText"
BR



 Ralph DiMola wrote:

set the htmltext of fld "Dest" to the htmlText of fld "Src"

___
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


HOw to get htmltext from the field to display in another field

2020-09-17 Thread Sannyasin Brahmanathaswami via use-livecode
   --set the htmltext of fld "mainText" into fld "checkHTML"
   
   put text of fld "mainText" into  fld "checkHTML"

??

___
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


How to get layer for group

2020-09-17 Thread Sannyasin Brahmanathaswami via use-livecode
f the layer of fld "checkHtml" > 3 then
  set the layer of fld "checkHtml" to 3
   else
  set the layer of fld "checkHtml" to 20
   end if

# do not work.

stack "SlideShowSetUp": execution error at line 107 (Object: can't set layer 
(card not open, or control in group)), char 1

??

___
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


How do we set layers for groups

2020-09-17 Thread Sannyasin Brahmanathaswami via use-livecode
if the layer of fld "checkHtml" > 3 then
  set the layer of fld "checkHtml" to 3
   else
  set the layer of fld "checkHtml" to 20
   end if

# do not work. 

stack "SlideShowSetUp": execution error at line 107 (Object: can't set layer 
(card not open, or control in group)), char 1

??

___
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: How Do You Get Filename / Image

2020-09-07 Thread Sannyasin Brahmanathaswami via use-livecode
Yes! It was so easy. 

I did not expect to find that

specialFolderPath("resources")

 on desktop went to folder with your stack inside it. Perfect for tDefaultFolder

This did my job! Yay!

on mouseUp
   local tImageName, tDestinationPath,tFolder, tDefaultFolder
   put specialFolderPath("resources") into tDefaultFolder
   
   set the itemdelimiter to "/" 
   
   repeat with x = 1 to the number of cards
  go card x 
  put the filename of img "slideImage"  into tImageName
  
put item 1 of tImageName into tFolder
  create folder tDefaultFolder & "/_ForWebSite/" & tFolder
  
  put tDefaultFolder & "/" & the filename of img "slideImage" into 
tImageName
  put tDefaultFolder & "/_ForWebSite/" & tFolder & "/" into tDestinationPath
  
  revCopyFile tImageName, tDestinationPath
   end repeat
end mouseup



Pi Digital wrote:

I see. 

___
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: How Do You Get Filename / Image

2020-09-07 Thread Sannyasin Brahmanathaswami via use-livecode
Goal: to get a folder a disk that can be copied to the web server. We have all 
kinds of files on disk. So, I am trying to copy a list of filename in the cards 
of stack. It can't that hard. But I think the method for doing the 
tRelativeName of filename is "broken" where are get the defaultFolder.

So I tried this. As it as simple as revCopyFile (as I discovered in that 
dictionary)

But this don't work!

on mouseUp
   local tImageName, tDestinationPath, tDefaultFolder
   get the effective filename of this stack
   set the itemdelimiter to "/"
   put item 1 to -2 of it into tDefaultFolder
   
   set the defaultFolder to tDefaultFolder 
   put the  defaultFolder
   # it appears correct

   --put the filename of img "slideImage" into tImageName
   
   put "ellora /DC123344.jpg" into tImageName
   put   "_ForWebSite" into tDestinationPath
   
   revCopyFile tImageName, tDestinationPath
   
end mouseup

# I'm against the wall on this!

# but directed at your attempt did not work 
# as expected, no file was written

# a new attempt at your email was expecting
# but the defaultFolder was entirely different!

on mouseUp
   local tRelativeURL
   
   set the itemdelimiter to "/"
   put (the item -2 to -1 of the filename of img "slideimage" ) into 
tRelativeURL
   # this works is: there is a path
   # 1-ellora/dsc1234.jpg
   
   # this will work
   Set the defaultFolder to item 1 to -3 of the filename of img "slideimage"
   put the defaultFolder
# a defaultFolder appeared that was older

 put URL("binfile:" & tRelativeURL ) into URL("binfile:_ForWebSite/"& 
tRelativeURL)
   
end mouseUp

 Pi Digital wrote:

I’ll try that again::

# I’m going to assume this was a hiccup too and now fixed:
  set the filename of img “slideimage” to (item 1 to -3 of the filename of 
img “slideimage” & “/_ForWebSite/” & tRelativeURL)

> On 6 Sep 2020, at 23:01, Pi Digital via use-livecode 
 wrote:
> 
> # I’m going to assume this was a hiccup too and now fixed:
>   set the filename of img “slideimage” to URL(“binfile:_ForWebSite/” & 
tRelativeURL)



___
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: How Do You Get Filename / Image

2020-09-06 Thread Sannyasin Brahmanathaswami via use-livecode

Looks like that does not  work

on mouseUp
   local tImageName, tDestinationPath,tHolder
   set the itemdelimiter to "/"
   put (item -2 to -1  of the filename of img "slideImage") into tImageName
   
   put   "_ForWebSite/"  into tDestinationPath
   put tDestinationPath & tImageName into tHolder
   -- put URL("binfile:" & the filename of img "slideImage"  ) into 
URL("binfile:" & tDestinationPath & tImageName)
   put the filename of img "slideImage" into URL("binfile:" & tDestinationPath 
& tImageName)

end mouseUp


On 9/6/20, 8:08 AM, "use-livecode on behalf of Brian Milby via use-livecode" 
 wrote:

Looks like you need to specify a full path for the source and destination.

on mouseUp
   local tImageName, tDestinationPath
   set the itemdelimiter to "/"
   put (item -1 of the filename of img 1 ) into tImageName
   put item 1 to -2 of the filename of this stack & "/" into 
tDestinationPath
   put URL("binfile:" & the filename of img 1  ) into URL("binfile:" & 
tDestinationPath & tImageName)
end mouseUp


On Sun, Sep 6, 2020 at 9:59 AM Sannyasin Brahmanathaswami via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Maybe  it is aphasia...
>
> How do we get file from one location to another location
>
> on mouseUp
>  local tRelativeURL
>  -- repeat with x = 1 to (the number of cards of stack
> “SlideShowSetUp”)
>  --go card x
> set the itemdelimiter to “/”
>  put (the item -2 to -1 of the filename of img “slideimage” ) into
> tRelativeURL
> # this works is: there is a path
> # 1-ellora/dsc1234.jpg
>
> # this does not work:
>  put URL(“binfile:” & tRelativeURL ) into
> URL(“binfile:_ForWebSite/” & tRelativeURL)
>
> put the filename of img “slideimage” into
> URL(“binfile:_ForWebSite/” & tRelativeURL)
>
>  -- end repeat
> end mouseUp
>
> ??
>
> Brahmanathaswami
>
>
> ___
> 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

___
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


How Do You Get Filename / Image

2020-09-06 Thread Sannyasin Brahmanathaswami via use-livecode
Maybe  it is aphasia...

How do we get file from one location to another location

on mouseUp
 local tRelativeURL
 -- repeat with x = 1 to (the number of cards of stack “SlideShowSetUp”)
 --go card x
set the itemdelimiter to “/”
 put (the item -2 to -1 of the filename of img “slideimage” ) into 
tRelativeURL
# this works is: there is a path
# 1-ellora/dsc1234.jpg

# this does not work:
 put URL(“binfile:” & tRelativeURL ) into URL(“binfile:_ForWebSite/” & 
tRelativeURL)

put the filename of img “slideimage” into URL(“binfile:_ForWebSite/” & 
tRelativeURL)

 -- end repeat
end mouseUp

??

Brahmanathaswami
 

___
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: How to download Xcode 11.4

2020-08-22 Thread Sannyasin Brahmanathaswami via use-livecode
Well, Xcode 11.4 because I have OSX 10.15.5

But I load it, it does not come with iOS SDK

The chosen folder is not a valid iOS .
Selected xcode must have an iOS SDK among:
[snip]
13.2 (included in Xcode 11.3)
13.5 (included in Xcode 11.5)

Maybe my aphasia is getting in the way?



iOS
iOS deployment is possible when running LiveCode IDE on a Mac, and provided 
Xcode is installed
and has been set in LiveCode Preferences (in the Mobile Support pane).
Currently, the supported versions of Xcode are:
Xcode 8.2 on MacOS X 10.11
Xcode 9.2 on MacOS 10.12 (Note: You need to upgrade to 10.12.6)
Xcode 10.1 on MacOS 10.13 (Note: You need to upgrade to 10.13.4)
Xcode 11.3 on MacOS 10.14 (Note: You need to upgrade to 10.14.4)
Xcode 11.4 on MacOS 10.15 (Note: You need to upgrade to 10.15.2)


It is also possible to set other versions of Xcode, to allow testing on a wider 
range of iOS
simulators. For instance, on MacOS 10.12 (Sierra), you can add Xcode 8.2 in the 
Mobile Support
preferences, to let you test your stack on the iOS Simulator 10.2.
We currently support building against the following versions of the iOS SDK:
10.2 (included in Xcode 8.2)
11.2 (included in Xcode 9.2)
12.1 (included in Xcode 10.1)
13.2 (included in Xcode 11.3)
13.5 (included in Xcode 11.5)
Android

On 8/22/20, 7:53 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via 
use-livecode"  wrote:

OK !


Hi

I found the following.   
https://developer.apple.com/download/more/<https://developer.apple.com/download/more/>
It has older versions  including 11.4


Martin

___
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: How to download Xcode 11.4

2020-08-22 Thread Sannyasin Brahmanathaswami via use-livecode
OK !

On 8/22/20, 4:22 AM, "use-livecode on behalf of Martin Koob via use-livecode" 
 wrote:

Hi

I found the following.   
https://developer.apple.com/download/more/
It has older versions  including 11.4


Martin

___
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


How to download Xcode 11.4

2020-08-22 Thread Sannyasin Brahmanathaswami via use-livecode
https://developer.apple.com/download/

Goes now to a beta tester URL...

It does not go to the "universal" list of past Xcode that can download 11.4

What the URL? I can't find it at the 

https://developer.apple.com

??
Currently the Release Notes have 
---
We currently support building against the following versions of the iOS SDK:
10.2 (included in Xcode 8.2)
11.2 (included in Xcode 9.2)
12.1 (included in Xcode 10.1)
13.2 (included in Xcode 11.3)
13.5 (included in Xcode 11.5)
-
Release goes to Xcode 11.5, 11.3
Not Xcode 11.4??

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: Three very simple questions

2020-04-26 Thread Sannyasin Brahmanathaswami via use-livecode
"globals are evil" 

But we use  one array

Global gConfigA

and we stuff it with all manner of "things" including another arrays

it turns about to quite useful

On 4/26/20, 8:11 AM, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

When I need a calculated constant I use a script local variable instead and 
populate its content on preopencard or preOpenStack. After that its 
available just as a constant would be.

___
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


Android Issue: Crashes

2020-04-26 Thread Sannyasin Brahmanathaswami via use-livecode
I have posted SivaSiva app to Google Play. 

Problem: from the stats we see lots of new users, and then in a few days, those 
same users are "lost"

I see 

Crashes & ANRs
113   # in the last few days
"Number of times your app crashes or served an Application Not Responding 
errors". 

SivaSiva accessing the internet for lots of "modules"

Another app on play has 5000 active installs,   it shows 2 Crashes & ANRs  in 
the  past month. It is "self-contained" and does not have to access the 
internet.

In SivaSiva, I have built in a  "Loading" banner, first we check for Internet 
connection with a simple ping.txt file on the server which returns "true"  if 
it is empty, we tell the user he has no connective  otherwise it displays 
"Loading" and wait while TS Net get a 200 response...theoretically the 
using click loading, and the use it back in the app.  (see function below)

 Now, "at home" I have no SIM card in my MOTOG6. So using wifi, the app seems 
quite stable.

So question is. Given the apparent "is runs ok on Android with WiFI  at home", 
it would seem a good idea to send those crashes and ANRs to Edinburgh for 
analysis: either we have to change our code, OR the spot bugs in the engine 
that can be fixed.

What is the proper say to tell TSNet to stop the process initiated by 
tsNetHeadSync? 

I may need to rethink who whole frame work integrate a browser widget the in 
the app. Send the user off go Chrome using Launch URL... but we get important 
booksmark from browser widget...

function checkURLAvailable pSelectedURL
   local tHeaders, tSentHeaders, tResult, tBytes,tMsg

   # useful to simulate a slow connection
   --wait 5 seconds with messages
   
   put tsNetHeadSync(pSelectedURL, tSentHeaders, tResult, tBytes) into tHeaders
   
   ## get url pSelectedURL
   if  (tResult is 200) then
  return true
   else
  ntInfo tResult && pSelectedURL
  return false
   end if
end checkURLAvailable

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


Google Play Wants Us to Use Android App Bundle?

2020-04-20 Thread Sannyasin Brahmanathaswami via use-livecode
Trying to upload the latest release of my app for Android

I rolled out the my app Google Play console

2 arm versions-together - v24
2 86 versions together - v25 

Google Play accept the rollout (with a 7-day review disclaimer)   and says:

--
Warning:

This APK results in unused code and resources being sent to users. Your app 
could be smaller if you used the Android App Bundle. By not optimizing your app 
for device configurations, your app is larger to download and install on users' 
devices than it needs to be. Larger apps see lower install success rates and 
take up storage on users' devices.

Resolution:

Use the Android App Bundle to automatically optimize for device configurations, 
or manage it yourself with multiple APKs.



How can we use " Android App Bundle"?

What does it do?

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: Issues with Mobile Native controls

2020-04-20 Thread Sannyasin Brahmanathaswami via use-livecode
Some thoughts on icons. I have a focus group of about 10 people, mostly in 
London, one older woman in France.

The "old" FontAwesome as used by Livecode out of the box (I have yet to explore 
Brian option for bringing in your own or use the "new" FontAwesome

While the icon are a bit bold (="Clunky) there are advantages for a UI point of 
view.

1) they are recognizable, well known. We had a discussion in the my focus group 
about making the icons of the home screen of SivaSiva (will be out in the 
stores in a few day)  more elegant, one advocate said "rather those use those 
cartoon icons can't we find something elegant, e.g. for Listen instead of 
Headphone, find something else? " 

I wanted to encourage everyone and said "Sure, send me some examples." (SKYPE 
meeting with 10 people)

Others were quiet. 

2) after the meeting, on Whatapp, I get several private messages "Oh, why 
change the icons? When I go the home screen I want to know exactly what I have 
navigating to. Why make it obscure?"

3) the Fellow who wanted "elegant" sent the five icons from Ayurveda represent 
5 element (earth, air, fire, water, space) that had nothing to do /no 
relationship to that navigation. 

I know Apple and Google have designs that are looking for the "Wow, new look!" 
...  but frankly e.g. their flat new button style (we used in the web for a 
recent UI) ... people did realize it was a button! To make such a subtle 
distinction (graphically) between a "touch link" and  "label" gets you nothing 
but N number of people not clinking!

So, you can crazy doing "native UI-platform specific" OR you design stuff that 
"works" (for users)  and use it on both Apple and Android, you can focus on 
content instead of hours making the UI match something that Apple or Google is 
happy with. They are not the authorities. Your users are. 

Disclaimers: I'm not saying that UI pattern of the Native interface of Human 
Interface Guideline (Apple, and is constantly change) of Material Design 
(Google) are not good, they are. But those who have lean budgets, you can just 
ask you clients and associates. "Does this work for you?" If that answer is 
"yes"  Your design is just as good...

My two mangos from Hawaii

BR






On 4/20/20, 4:11 AM, "use-livecode on behalf of Graham Samuel via 
use-livecode"  wrote:

Just a quick addition - it’s a whole world out there, isn’t it? I am so 
behind the curve… anyway very useful. I am not sure why so many icon designers 
go for chunky designs - it’s as if they preferred bold type over regular. The 
little icons at the top and bottom of the screen in your own tool are more my 
style! But I suppose that’s just a personal preference.

Thanks again for all this.

Graham

___
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: Android Release Requires 21 but 911 Devices Get Dropped?

2020-04-17 Thread Sannyasin Brahmanathaswami via use-livecode
What is 

"4.x" ?

 Minimum Android Version?

I did as you suggested last year, two builds

e.g
version 22 for arm v7 and arm64
version 23 for x86 and x86_64

both came in (using SDK 21) about 95MB

the last versions, (20,21) done with SDK 18 were about 70MB

the analysis did not complain about the size  of the download, only that

"Doesn't support framework version 
21 and onwards"

BR





On 4/17/20, 9:55 AM, "use-livecode on behalf of Ralph DiMola via use-livecode" 
 wrote:

From the release notes: 4.x support is dropped. That represents 5% of all 
active installs but may be a higher percentage of devices. What architectures 
are you building for? Putting all 4 into one apk can exceed the size limits for 
some devices.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

___
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


Android Release Requires 21 but 911 Devices Get Dropped?

2020-04-17 Thread Sannyasin Brahmanathaswami via use-livecode
I wonder if I did something wrong. Just releasing a new version of SivaSiva to 
the stores...

Using 9.6.0 dp 4  -- which contained an important bug fix for the javascript 
handlers in the browser widget.

I want prompted that I need to upgrade for SDK18 to SDK21.

With no  apparent option to do otherwise.

Now at my Google Release console it is saying that 911 devices will be 
unsupported

"Doesn't support framework version 
21 and onwards"

It includes a fairly high percentage of devices: 

9.5% of  phones and
13.9% of tablets

Perhaps that just what it takes to keep going forward. 
But maybe I did something wrong?

Brahmanathaswami





___
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


Drag and Drop Images

2020-04-14 Thread Sannyasin Brahmanathaswami via use-livecode
>From a substack called "library"
 Where images are loaded one after another to a group, 
referenced by filename (to image data) on disk (not placed)

 to a mainstack called "Slideshow"
 with one Image per card

Before I try and reinvent the wheel, does anyone have handlers or  a stack 
which shows how to drag and drop images (not from desktop) but from one stack 
to another?

This is for content development purposes, 
so the UIUX does not have to be "pretty". 
(such as setting the cursor to an id of an image  etc)

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: iOS build error - help needed

2020-04-14 Thread Sannyasin Brahmanathaswami via use-livecode
I 9.6.1.dp3 and Catalina 10.15.4 and Xcode 11.3.1

It works

Suggest he unstall Xcode and reinstall in and get install the command tool from 
menu (again)

And be sure he is not using a development profile and had the beta test box 
checked in SA setting (that one cost me a lot of time!) you can on have the 
"beta test" check with a App Store. Profile.

BR

On 4/14/20, 9:18 AM, "use-livecode on behalf of panagiotis merakos via 
use-livecode"  wrote:

Have you seen this error - and if yes - how did you manage to fix it?

___
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: Problems locating Android SDK

2020-04-07 Thread Sannyasin Brahmanathaswami via use-livecode
Well, second, related problem. Android appears installed

On OSX Catalina, I am having trouble getting my device to appear... 

/Library/Android/sdk/build-tools/29.0.1

Android --  from terminal, appear normal

% ./adb 
%./adb kill-server
%./adb start-server

* daemon started successfully
%  ./adb devices

List of devices attached
[nothing,"nada"]

But I have not gotten my MotoG6 to  device to appear...(developer enabled, USB 
debugging enabled)  it did last week, not these past few days I tried 
everything, reboot my Mac, restarting the phone, connecting directly into the 
computer instead of a dongle...Nothing works

BR


 Richard Gaskin wrote:

Well, turning it off and then turning it back on again is the universal 
IT fix, so I'll do a resinstall and see how it goes.

___
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: Problems locating Android SDK

2020-04-05 Thread Sannyasin Brahmanathaswami via use-livecode
~/Library/Android/sdk/

I don't use virtual machines... I just use my MotoG6 on WiFi without a SIM 
card...USB... it is  really fast to build and take one variable out of the 
equation. (I don't trust the VMs... call me superstitious...)

When I an "happy"  I put the SivaSiva.ipk on our web server and have good 
beta tester in four different countries. All with very different Android 
phones/Bandwidth 



On 4/5/20, 2:44 PM, "use-livecode on behalf of Colin Holgate via use-livecode" 
 wrote:

You could give the path that you are using. Also, did you have to set up 
any virtual machines? Long ago LiveCode was only happy if you had an Android 
2.2 virtual device.

___
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: Problems locating Android SDK

2020-04-05 Thread Sannyasin Brahmanathaswami via use-livecode
Mine is working, I'm wondering if I can put it a dropbox for you. (4.6 GB) Or 
does it put your "machine signature" on it  when you install it.  I remember 
having to "down grade it"  to build-tools 29.0.01 to get it to be seen by LC,

BR





On 4/5/20, 12:46 PM, "use-livecode on behalf of Skip Kimpel via use-livecode" 
 wrote:

okay, glad it is not just me then.

SKIP



___
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


Speech Synthesis

2020-04-05 Thread Sannyasin Brahmanathaswami via use-livecode
Given the arrival of the Speech Library Something I played with 30 years 
ago on hypercard manually entering phonemes,  to get the computer talk was 
a fascinating thing. Today, with AI all around us, Speech Sythesis is 
"everywhere"  and very advanced,

When we initialize

speechLibraryInitialized pSuccess

Do we have gain control of the International Phonetic Alphabet?  English is a 
"creole/polyglot" language, and depending across what language/culture 
"adjacencies"  (English-Tamil, English-French, English-Spanish) that the 
discourse it in, X number of words come into play that are understand, and 
pronounced correctly, but both parties. And the polyglot is increasing monthly! 
I don't know how AI will ever keep up.

Above is background. 

What I want is:  to have "Fred"  (or "Junior" or "Deranaged") pronounce 
"Satchinananda" perfectly.

Or put another way: having access to

com.apple.speech.synthesis.voice.Deranged

Does Deranged have command over any combination of phonemes?

I can't imagine we have to start from ground zero on this. Has anyone else done 
work in this area.

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: How to "kill" mouseTouches while waiting for an internet connection?

2020-03-28 Thread Sannyasin Brahmanathaswami via use-livecode
WelL,  I thought the same thing for a long time, but was reluctant to “impose” 
so dramatically on the User Interface. But I always envision a big ugly “cover”.

Ha! So transparency works….Good, we will try it.

Are you typically showing a loading msg or icon.

IN other context, I should a load in message and it tell the user he can click 
to discontinue loading. So that she can “gracefully” leave the internet 
connection and go back to the app…..



From: use-livecode  on behalf of How 
LiveCode 
Reply-To: How LiveCode 
Date: Friday, March 27, 2020 at 7:51 AM
To: How LiveCode 
Cc: "Sean Cole (Pi)" 
Subject: Re: How to "kill" mouseTouches while waiting for an internet 
connection?

I always struggled with this. I ended up putting a fully transparent grc
covering everything (I call it a blanket) with 'on mouseUp' and 'on
mouseDown' set with nothing in them on the grc script. This catches any
stray touches I want to be ignored and allow the other processes to
complete. Then hide the blanket once the process is done.
MobileClearTouches was never reliable enough for me.

All the very best, BR

Sean Cole
*Pi Digital *
___
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


How to "kill" mouseTouches while waiting for an internet connection?

2020-03-26 Thread Sannyasin Brahmanathaswami via use-livecode
In lo-bandwith, hi-latency internet connections.



How can we use



mobileClearTouches





# in association with this handler?



function checkURLAvailable pSelectedURL

  local tHeaders, tSentHeaders, tResult, tBytes



  put tsNetHeadSync(pSelectedURL, tSentHeaders, tResult, tBytes) into 
tHeaders # into tHeaders

  ## get url pSelectedURL

  if (tResult is 200) then

   return true

  else

ntInfo tResult && pSelectedURL

   return false

  end if

end checkURLAvailable



# and, is this the best "algorithm" ?



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: [ANN] Release 9.6.0 DP-3

2020-03-25 Thread Sannyasin Brahmanathaswami via use-livecode
If you mean “refresh” as in



-- deleting the profiles in  ~/Library/MobileDevice/Provisioning Profiles

-- Going go to developer.apple.com. Downloaded them again,

-- click them and they were “registered” by latest Xcode (11.3.1)



And with LC saying



“Standalone Success….”  No glitches….



But …no go in Transporter



Same error



BR







What do you get from LC when you create the standalone build? Have you

refreshed the dist certs just to be sure?

Sean


Sean said

What do you get from LC when you create the standalone build? Have you
refreshed the dist certs just to be sure?
Sean

On Wed, 25 Mar 2020 at 21:19, Sannyasin Brahmanathaswami via use-livecode <
use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote:

Did you try a build for TestFlight, (which requires  a Distribution for
App Store Provisioning profile)

Everything worked fine using the same Provisioning Profile and Certificate
to 9.6.0.DP2..

But under XCode 11.3.1 and 9.6.0 DP3.
I am getting:
--
ERROR ITMS-90035: "Invalid Signature. A sealed resource is missing or
invalid. The file at path [SivaSiva.app/SivaSiva] is not properly signed.
Make sure you have signed your application with a distribution certificate,
not an ad hoc certificate or a development certificate. Verify that the
code signing settings in Xcode are correct at the target level (which
override any values at the project level). Additionally, make sure the
bundle you are uploading was built using a Release target in Xcode, not a
Simulator target. If you are certain your code signing settings are
correct, choose "Clean All" in Xcode, delete the "build" directory in the
Finder, and rebuild your release target. For more information, please
consult
https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html
"

Of course there is no “Clean All” for those building outside of Xcode



___
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: [ANN] Release 9.6.0 DP-3

2020-03-25 Thread Sannyasin Brahmanathaswami via use-livecode
Did you try a build for TestFlight, (which requires  a Distribution for App 
Store Provisioning profile)

Everything worked fine using the same Provisioning Profile and Certificate to 
9.6.0.DP2..

But under XCode 11.3.1 and 9.6.0 DP3.

I am getting:
--
ERROR ITMS-90035: "Invalid Signature. A sealed resource is missing or invalid. 
The file at path [SivaSiva.app/SivaSiva] is not properly signed. Make sure you 
have signed your application with a distribution certificate, not an ad hoc 
certificate or a development certificate. Verify that the code signing settings 
in Xcode are correct at the target level (which override any values at the 
project level). Additionally, make sure the bundle you are uploading was built 
using a Release target in Xcode, not a Simulator target. If you are certain 
your code signing settings are correct, choose "Clean All" in Xcode, delete the 
"build" directory in the Finder, and rebuild your release target. For more 
information, please consult 
https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html;

Of course there is no “Clean All” for those building outside of Xcode

It never ends with apple….

I’ve upgraded to macOS10.15.3 and Xcode 11.3.1 and all is well so far. Other 
than all the other bugs not yet addressed of course.

Sean Cole
Pi Digital
___
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


Runtime Error on. JavaScript Handler in Browser

2020-03-22 Thread Sannyasin Brahmanathaswami via use-livecode
With Catalina I have RemoteDebugging Working…

even better I have AAGNetworkTracer and AAGNetworkTracerDashboard working…

awesome tools made by Andre! Can be used with  Community License, worth every 
penny

I enabled  for mobile testing.

On iOS, when I open the Lexicon (a local html5 “stack” that we run in a browser 
widget)

Whenever I hit a button on the HTML 5, layout, which triggers a JS handler in LC

I get a message on desktop  in

AAGNetworkTracerDashboard

{"type": "error","time": "3/22/20 3:55:41 AM","content": 
"863,0,0,runtime","line": "0"}

Strange thing, the JS handlers are called and function correctly in iOS every 
though I get the msg, there is no crash.

But on Android, I get no crash, but the JS handlers in LC are not called. For 
the user, the buttons appear non-responsive. They should go to an local SQLLite 
DB and return data that is fed into the browser widget. It stills happens on 
iOS but not on Android.

{"type": "error","time": "3/22/20 3:55:41 AM","content": 
"863,0,0,runtime","line": "0"}

How can I look up the error. It appear to be regression in the widget in the 
latest for of LC (dp 2 and 3… the same)

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: [ANN] Release 9.6.0 DP-3

2020-03-22 Thread Sannyasin Brahmanathaswami via use-livecode
FWIW

Xcode 11.3 not easily available on Apple site,

I tried with Xcode 11.3.1.

Everything “appears”  fine, at least for now….


BR

iOS Support
  - Building with Xcode 11.3 using the iOS 13.2 SDK is now supported
___
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


Bug in Widget Browser - Please confirm.

2020-03-19 Thread Sannyasin Brahmanathaswami via use-livecode
Yay! On my fresh Catalina installation I have remote debugging working….



On Android (not mac Desktop or iOS)





This function call:



put parseTheHTML(the htmltext of widget "body","bookmark") into tTitle



# produces an error



lRemote: stack "behavior_view_SivaSivaBrowser": execution error at line 192 
(LCB Error in file browser.lcb at line 469: Value is not of correct type for 
assignment to variable - expected type  for assigning 
to variable tValue in com.livecode.extensions.libbrowser.browserGetProperty)



Can anyone confirm?



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: Apple Deprecated "UIApplicationExitsOnSuspend"

2020-03-10 Thread Sannyasin Brahmanathaswami via use-livecode
Ha I should have waited for you... I edited the settings.plist in all 

~/Applications/LiveCode Business 9.6.0 (dp 2).app/Contents/Tools/Runtime/iOS # 
a six settings files

And used Ralph method

Edit the script of stack revSaveAsIosStandalone

And delete 1709

It worked. Transporter says "DELIVERED ON MAR 10...

YAY!   I try your method next time 

BR


On 3/10/20, 1:15 PM, "use-livecode on behalf of matthias rebbe via 
use-livecode"  wrote:



> Am 10.03.2020 um 23:10 schrieb Sannyasin Brahmanathaswami via 
use-livecode :
> 
>  If you can edit the pList on in standalone, we get another error on 
attempt thru Transporter:


BR,

You cannot edit  the info.plist file directly in your standalone app 
bundle. 

You have to copy that file to the outside of the app bundle, for example to 
the desktop.
Then edit that file on the desktop  and save it.
Then go to Standalone Settings -> Copy Files and add that file (the one on 
the desktop).
Now create your app again. The new standalone will now contain your 
modified info.plist file and the error should not come up when uploading to 
Apple.

Regards,

Matthias



___
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


RE: Apple Deprecated "UIApplicationExitsOnSuspend"

2020-03-10 Thread Sannyasin Brahmanathaswami via use-livecode


   Apple is making it worse.

As March 10, the Transporter/App Store (it seems) will 

a) verify to app (I am on a new Mac with a fresh set of certs and 
provisioning profiles)
b) then, accept delivery of the app 
c) then respond with :"DELIVERRY FAILED ON MAR 10, 2020, AT 11:48 AM".   1 
Issue
d). ERROR ITMS-90339: "This bundle is invalid. The Info.plist contains an 
invalid key 'UIApplicationExitsOnSuspend' in bundle SivaSiva [SivaSiva.app]"

Usually after an hour or so, the build would appear, despite the error and 
you could go to TestFlight. Now after 3 hours, the build will not appear.

AND
 
If you can edit the pList on in standalone, we get another error on attempt 
thru Transporter:

ERROR ITMS-90035: "Invalid Signature. Invalid Info.plist (plist or 
signature have been modified). The file at path [SivaSiva.app/SivaSiva] is not 
properly signed. Make sure you have signed your application with a distribution 
certificate, not an ad hoc certificate or a development certificate. Verify 
that the code signing settings in Xcode are correct at the target level (which 
override any values at the project level). Additionally, make sure the bundle 
you are uploading was built using a Release target in Xcode, not a Simulator 
target. If you are certain your code signing settings are correct, choose 
"Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild 
your release target. For more information, please consult 
https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html;

I guess I have to edit the .plist in the 9.6.dp2 build resources...

Another day lost to Apple


On 6/12/19, 11:31 AM, "Sannyasin Brahmanathaswami"  wrote:

Yes, I tried to re-upload after deleted in the key (without checking 
iTunes first) and it turns out the first app was accepted..., "redundant 
build'' on the 2nd attempt. I went into iTunesConnect and and the app is now in 
for review by the Lords of Apple.

Agreed. We need to find out what "gives" with this key being deleted.

Maybe we well get a "resume" message from  iOS to the LC in the 
engine... that would be interesting.

BR


On 6/12/19, 8:20 AM, "Ralph DiMola"  wrote:

Apparently ALL apps will NOT "exit on suspend" in iOS 12+. The real
question is if we eliminate this key too soon then what will 
happened to pre
iOS 12 installs? I think for now we should keep this key and live 
with the
warnings.
On 6/12/19, 8:20 AM, "Ralph DiMola"  wrote:

I had this problem last week. I have a ticket out but am unable to 
work on
it because our office is moving and we are in shambles. This is 
just a
warning and your .app will be processed and approved for submission 
for app
review. Apparently ALL apps will NOT "exit on suspend" in iOS 12+. 
The real
question is if we eliminate this key too soon then what will 
happened to pre
iOS 12 installs? I think for now we should keep this key and live 
with the
warnings.





___
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: Problems with uploading iOS apps (german LC forum)

2020-03-06 Thread Sannyasin Brahmanathaswami via use-livecode
FIRST: can we open a standalone is Xcode and gets details therein?


I having the same problem.  on Catalina…

Using Transporter, with the correct App Store provisioning profile

>> ERROR ITMS-9074:"Missing Provisioning Profile - Apps must contain a 
>> provisioning profile in a file named embedded.mobileprovision."

FYI, in the past the "Application Loader" did not care what you named the

**payload**.ipa

You could name it "Klaus.ipa"   as long as you had the "SivaSiva.app" inside 
it, before you compressed it.  I have tried it both ways, successfully.

I tried yesterday… twice

(folder)
   Payload
  SivaSiva.app

compress | rename to Payload.ipa |upload on Transporter

same error

try again

  SivaSiva
  SivaSiva.app
compress | rename to SivaSiva.ipa |upload on Transporter

same error

My note to support was responded to with zero indication an answers.

FWIT

Hello,

My name is Rachel with Apple Developer Program Support.

Code sign issues are typically caused by an error in the configuration of local 
assets. We recommend checking the following items before reattempting your 
delivery:
1. You are signed into Xcode using the developer Apple ID associated with the 
app (Accounts pane in Xcode Preferences). BR: CORRECT
2. The bundle ID set in the Xcode project matches the bundle ID chosen in the 
App Store Connect app record. BR CORRECT
If you continue to receive a code sign error, please provide responses to each 
of the following questions, so that we can make sure that your error is not 
related to an internal issue:

  1.  Is your Mac used to develop for multiple development teams? BR NO
2. Are you signing an iOS, tvOS, or macOS app?
3. If you are attempting to sign an iOS app, which type of deployment have you 
selected (Ad-hoc, Enterprise, or App Store)? BR: App Store


Also provide the screenshots of the following:

  1.  The error message you receive.  BR Can do that
  2.
  3.  BR: if as not sure Xcode we can't send to following.
2. The Xcode project General pane.
3. The Xcode project Custom iOS Target Properties section located on the Info 
pane.
4. Your Provisioning Profile details as shown in Xcode Preferences on the 
Accounts pane after clicking the View Details button.
5. The Provisioning Profile details as shown in the Certificates, Identifiers & 
Profiles portal.
After we receive this information, we'll follow up with you when we have an 
update.
For reference, your case number is 101039628315.

Best regards,

Rachel
Apple Inc.






Hi Matthias,

> Am 27.02.2020 um 18:01 schrieb matthias rebbe via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
>
> Hi Klaus,
>
> Panos replied already in the forum to MichaelS just yesterday.

yes, I know.

> It seems MichaelS renamed the iOS app to Payload (see MichaelS´s post from 
> 21th January 20:03) instead of the folder where the app is stored in.
> Maybe MichaelS missed Panos answer.

No, he didn't.

Thanks!
>
___
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: Mobile "shake" ??

2020-02-20 Thread Sannyasin Brahmanathaswami via use-livecode
Great!

BR


yes. :-)

> I found nothing in a dictionary search for "shake" and looked through 
> (quickly) all mobile commands, perhaps it a buried parameter?

Check this lesson from the mothership:

___
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


Mobile "shake" ??

2020-02-19 Thread Sannyasin Brahmanathaswami via use-livecode
is there any way to respond to "shaking" on mobile? I found nothing in a 
dictionary search for "shake" and looked through (quickly) all mobile commands, 
perhaps it a buried parameter?

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


Remote Debugging Not Working -- Bug 22500 -

2020-02-11 Thread Sannyasin Brahmanathaswami via use-livecode
I've been working on an update to my app.
Not, all of a sudden, in does not open on Android in a test done in Catalina.
It crashes on startup

I already reported in

Bug 22500  (Dec 16, 2019)

that the remoteDebugger was not working.
Panas left it with a "pending follow up" … but I did follow up with what he 
wanted.

Then bug was then "abandoned" in that state.

Now I will have to do an "deep" analysis between a commit that was working on 
Android on the current one which is not. I am using Git Hub, it is has save me 
many times, but this level of analysis is new to me.

Can anyone else confirm that remoteDebugger is, or is not, working for them on 
Catalina?

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: OMG text processing performance 6.7 - 9.5

2020-02-03 Thread Sannyasin Brahmanathaswami via use-livecode
hhmm…. how do you 

"truncate the string and
search from the beginning" 

??

Can you give a code snippet example?

BR

I found this as well. Another thing, it's faster to truncate the string and
search from the beginning than using a "start at" on the entire string when
searching for all occurrences of a string .

___
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: html5Player

2020-02-01 Thread Sannyasin Brahmanathaswami via use-livecode
My goodness -- magic" indeed!

Where is the "stack" in the environment? Is in everything inside the lower 
right quadrant:

My I should switch for the forum so that we have screen shots.

We envision a scenario like this: for 5 people to collaborate as the same time:

  1.  all load the IDE [html5IDE.html]
  2.  Person 1 make change to stack.
  3.  it is saved to server
  4.  other refresh their browser
  5.  it loads from the server
  6.  they would be "see" the changes person 1 had made.



"Loading from the server is without problem and it is not necessary to
refresh the browser (loading the IDE is slow). One could simply load
again the own stack or a new/updated template."

Assuming stack I saved in the downloads folder




If I understand correctly:

What you want will be done soon, in a limited way, with the "html5IDE"
https://hyperhh.de/html5/html5IDE.html
(but without debugging!). The html5Player is not for that (**).

You have there a propertyInspector, scriptEditor (and Dictionary).
Everything is done in the browser. Then standard saving (when
implemented) will go to the downloads folder.
This could be reduced to the propertyInspector in your case.

Saving/uploading to the server will be server dependent. Perhaps it
would be best if Mark Talluto could come in with his work at that point.

Loading from the server is without problem and it is not necessary to
refresh the browser (loading the IDE is slow). One could simply load
again the own stack or a new/updated template.

The html5IDE will load much faster in the future, currently the same
engine is loaded six(!) times, that will go down to two times, could
go down to one time in your case.
Sadly this will be still too slow for mobile.
___
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: Import SVG as Images

2020-02-01 Thread Sannyasin Brahmanathaswami via use-livecode
Alright!

Now have more questions.  The is way OFF TOPIC but I thought I could ask, 
because some of you know the SVG standards better I do…

the SVG from Sketch, come with a default width and height and a viewBox of 100px


http://www.w3.org/2000/svg; xmlns:xlink="http://www.w3.org/1999/xlink;>

shum
Created with Sketch.





But the object in the path parameter, that is the object itself, in way smaller 
than the "view port" I can easily parse these on the fly, and change to color 
but:

Is there a way to format the SVG to come in as is does in the SVG widget, where 
the "viewport" in constrained to the actual size the object?


It should be okay, it's in the dictionary. It requires the inclusion of the
XML extension in a standalone.
___
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: html5Player

2020-02-01 Thread Sannyasin Brahmanathaswami via use-livecode
"Can you save"

To which you supplied a lengthy answer, thank you.

I have a real use case:

I looked at all the collaborative "white boards" on the market. There are 10 
that only have free version that allows a limit number of people participating. 
All too complicationed and unnecessarily over-engineered from what we want to 
do. Other design environment require a skill level, learning curve/price that 
is too steep.

simply: create a design environment that people can easily add thing to a rect 
(414w x 726 tall) that represent a stack.

EG of how it would be used.


  1.  Say we  get 5 people on SKYPE and they all open the "design" … they add a 
simple control (image, fld, graphic rect) and save it
  2.  It would have to be save an SVG to the server OR its saves a stack to the 
server
  3.  everyone refresh their broswer. It get the svg from the server OR it get 
the stack from the server. and displays it.

Could be done asynchronistically, user work alone. Someone loads with page, it 
fetches the stack.

I know it see link we are inventing the wheel once again, but all the players 
out there over complicated the "thing"

It would act like a "white board wiki for LC Design"








Added to html5Player (v103 alpha)
https://hyperhh.de/html5/html5Player.html


___
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


Import SVG as Images

2020-02-01 Thread Sannyasin Brahmanathaswami via use-livecode
I want to import SVG as a tool in a stack meant for deployment.  

digging into REV IDE stacks | RevMenuBar, we find the "revIDEImportControl" 
handler

 [snip}

case "image"
if pFileName ends with ".svg" then
-- SVG files can't be referenced
revIDECreateObject "com.livecode.interface.classic.image", 
tTargetStack, tCreatedControlLocation
put the long id of the last control into tCreatedControlID
set the text of tCreatedControlID to 
drawingSvgCompileFile(pFileName)

=

so I made a button with:

on mouseup
   answer file "Find an SVG"
   put it into pFileName
   create image
   put it into tImageID
   set the text of tImageID to drawingSvgCompileFile(pFileName)
end mouseup

it works!  Are there any caveats to calling REV IDE handlers  we create a 
standalone app?

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: html5Player

2020-01-30 Thread Sannyasin Brahmanathaswami via use-livecode
Herman: can you save anything from that view?

I always have to remind myself that it is Livecode running in a browser. It 
feels like some dedicated app.

I suggest that anybody who is interested in what is possible with Livecode 
HTML5 to have a look at Hermann's examples.


___
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: No support for 24bit/96kHz audio file?

2020-01-22 Thread Sannyasin Brahmanathaswami via use-livecode
aiff or wav?

Hi,

i imprted some short audiofiles 24bit/96kHz but it seems LC does some
kind of downsampling or changes the frequency.

As it plays now very looow.

Is the max 16bit/44.1kHz ?

Any idea?


Thanks,

Jerry


___
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: iOS browser local URLs

2020-01-22 Thread Sannyasin Brahmanathaswami via use-livecode
Jacque wrote:
Bug report here: https://quality.livecode.com/show_bug.cgi?id=22543

added the case: SivaSiva/nightly branch

which is even simpler: open stack Lexicon, Card 1 script, 

on preopencard
if the environment is not "development" the
set the url of widget "Browser" to 
(specialFolderPath("resources") & "/modules/lexicon/web/index.html")
else
set the url of widget "Browser" to 
(specialFolderPath("resources") & "/web/index.html") 
end if
end preopencard

# works in desktop, Android. 
# Fails on iOS 13.3 with a Cataline build, 9.6dp2 
# white screen app hangs

Possibly a path thing? On mobile, we are setting the index.html relative to 
stack location

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


closeControl -- "switchable" ?

2020-01-21 Thread Sannyasin Brahmanathaswami via use-livecode
Using text only script behavior files has advantages and disadvantages. One 
"con" is the possibility of "rapid profileration" of text scripts (behavior, 
model, libraries etc.) 

 Your app could easily become like some horrendous-humongous PHP or JS 
framework with 100's of "dependencies."

I am trying control this by working with my "stories" module/stack, by just 
using two script

model_Story.livecodescript  
# always "on" like a library/backscript, get stuff of disk
behavior_Story.livecodescript   
# which is assigned to the stack, handled the UI/UX for stack

This approach requires a lot "Switch cases" as you may be targeting the UI/UX 
of many different groups  on the card or different cards. 

So far I am happy that I am having to  debug  just two scripts to manage 
"everything" 

But I have question on "closeControl" for which there may be many groups on a 
single card

is it "Switchable?"  and can we use it in a single behavior that "looks at"  
many groups on one card?

on closeControl pControl
switch pControl
case "homeStory"
setPref "preferences/modules/portal/story/storyTitle", 
pStoryTitle
setPref "preferences/modules/portal/story/storyScene/", 
sLastScene
case "storyMenu"
put empty into fld "storyMenuFld"
end switch
end closeControl

Of I can hack around and find out if it works. But I am thinking over otherd 
have 
"been here, done that". an have some advice...

We might as well use "on closeCard" 

any thoughts?




___
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: iOS browser local URLs

2020-01-21 Thread Sannyasin Brahmanathaswami via use-livecode
I am pretty sure it is a regression.

I have a business support request to test the Andre's "htmt5" Lexicon on iOS 
built in 9.5
(comes packaged inside the SivaSiva app) I can't test myself because of 
upgrading to Catalina….

It was working 9.5 but not on  9.6DP2. Works fine on android.

I had to issue a update to the AppStore, with it removed from the app.
Otherwise hangs the app. My symptom is, you get a white screen.

BR

Hi all,

Setting the URL should just work - if not, then it might be a recent
regression since we replaced the WebView that the browser widget used on iOS

@Jacque
if you could file a report with a recipe that includes the URL(s) you are
using, we will try to fix this in the upcoming 9.6 DP-3

Kind regards,
Panos
--
___
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: YAML Libraries

2020-01-17 Thread Sannyasin Brahmanathaswami via use-livecode
I found the handler

## Monte's YAMLToArray command
constant kMultiLineModeNone = 0
constant kMultiLineModeLiteral = 1
constant kMultiLineModeFolded = 2

command YAMLToArray pYaml

[snip] in the levure initialization behavior.

I think that's it. There is no "ArrayToYaml"  but that is not needed.

BR

@Trevor DeVore I am not ready to "levurize" 
SivaSiva. (although it seems a good fit, I don't know what I getting into.. a 
bit "scary" ) But perhaps you have the libraries someone would need?
___
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


YAML Libraries

2020-01-17 Thread Sannyasin Brahmanathaswami via use-livecode
I am finding the constraints of JSON to be a bit, well, "constraining" , for 
use in small "data serializations". e.g. a list of 20 stories with various 
parameter, that you don't want to put in a database (for now, maybe later once  
the dBase design clarifies itself and the number of "stories" start to scale-up)

Looking at YAML, seems the perfect fit. But there are no "YamlToArray" or 
"ArrayToYaml" plug ins in the "inclusions"

@Trevor DeVore I am not ready to "levurize" 
SivaSiva. (although it seems a good fit, I don't know what I getting into.. a 
bit "scary" ) But perhaps you have the libraries someone would need?

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: Embarrasssing old bugs

2020-01-14 Thread Sannyasin Brahmanathaswami via use-livecode
https://quality.livecode.com/show_bug.cgi?id=4636

Klaus:

Ouch! :-/

> There are several "convert date" libraries knocking around. That would help 
> you….

Thank you, but after now more than 20 years using of MC/RR/R/LC I know how to 
do that. __

HA! Maybe would can add comments to that "enhancement" 
And thus we have a 13 year old feature request __

Well, are least in says something for Livecode Longevity/Stability. 

Meanwhile I know an "associate" who jumps for Angular, to React, to Gatsby and 
finally settles for (you won't believe this) for Word Press. There's something 
to be said for

 "now more than 20 years using of MC/RR/R/LC I know how to do that." 




___
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: Embarrasssing old bugs

2020-01-14 Thread Sannyasin Brahmanathaswami via use-livecode
Klaus wrote
"How embarrassing is this in 2020? If we want to get an even higher ranking 
than 36 on TIOBE, this should be fixed as 
soon as possible."

It is: embarrassing. The fact that the LC engine cannot does not produce 

ISO-8601 standard dates

https://www.iso.org/iso-8601-date-and-time-format.html

is one testimony of why the "Livecode Project"  "regresses" as much as it tries 
to "proceed forward"

https://quality.livecode.com/show_bug.cgi?id=7833

https://quality.livecode.com/show_bug.cgi?id=4636


There are several "convert date" libraries knocking around. That would help 
you….

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: Changing extention on script only stack

2020-01-11 Thread Sannyasin Brahmanathaswami via use-livecode
No revision control. For people working in a "1 human silo"

Is there a reason not to just put the script into a button and set the
stack behavior to that? That's what I do when I don't want extra files in
my build.
___
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: Parent Group of the Target

2020-01-07 Thread Sannyasin Brahmanathaswami via use-livecode
@Bill P.  ditto that "if there was a compilation of the various keywords and 
what each refers to". 

on mouseup
put the short name of the owner of the target
# where all you want it the "immediate" owner and not the card, stack
end mouseUp

# that was easy!

And for multiple groupings,
 the owner of the owner of the owner of

I suppose we could create function that uses " of " as a delimiter and turn 
this in an array...

@ Kaveh wrote
multiple groupings... may be good for visualization:"

the target
the target's owner  
   the owner of target's owner 



___
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: Parent Group of the Target

2020-01-07 Thread Sannyasin Brahmanathaswami via use-livecode
aha! I was searching for "parent" Yes, "owner" is it.

And for multiple groupings,

 the owner of the owner of the owner of
___
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


Parent Group of the Target

2020-01-07 Thread Sannyasin Brahmanathaswami via use-livecode
I could have sworn we passed way before, but I can't find it anywhere on the 
list

what is the most efficient was to get the name of the "Parent Group" of the 
target?

Do we really have to parse this?

widget id 67388 of group id 67392 of card id 8169 of stack 
"/Users/brahmanathaswami/Documents/_Siva-Siva-App/Siva-Siva-Portal.livecode"

To get the name of "group id 67392"

?

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: Start using font

2020-01-07 Thread Sannyasin Brahmanathaswami via use-livecode
Does that you don't have to "code/script" to access the fonts?

Just putting them there  (copy files)  makes them available?


Thanks, I was hoping that was the case. So it's a dictionary error. Good.

On 1/6/20 7:21 PM, Ralph DiMola via use-livecode wrote:
> I have a folder "Fonts" that I include in the "copy files" pane of the
> standalone settings. I put my fonts there. I don't think that the folder
> name matters. The fonts are automatically available.
___
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: Import SVG with Multi-Path and Two colors

2020-01-02 Thread Sannyasin Brahmanathaswami via use-livecode
Sorry, that doesn’t work, I just get a white box

I needed the background to be opaque and was trying to do that in SVG widget

Anyway, I had my designer send another opaque version from the output from 
Sketch

Now, using Image As Control --> Image File [choose below in a file:}

it works. But it is not possibly to put this in the Path field, of the  SVG 
icon.

So, Mark W. has done some magic in the engine for Import As Control, that is 
not possible in LCB/SVG widget.

This "image" will do the job. it is scales with no lossy pixels!


http://www.w3.org/2000/svg; xmlns:xlink="http://www.w3.org/1999/xlink;>

home-colors
Created with Sketch.


















Aloha Swami,

Noticed a bit of garbage in the previous code.
This one’s better.

Cheers
-dd


___
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


Import SVG with Multi-Path and Two colors

2019-12-31 Thread Sannyasin Brahmanathaswami via use-livecode
I would like to import an SVG that has multiple paths and which two colors. 
Using Illustrator or Inkscape, merge compound path make them all the same color



But the following SVG imports fine as an image in LC and has multiple colors. 
Granted they are all circles, but can't the above by turned into this format?


















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: LiveCode won't recognize my stack

2019-12-30 Thread Sannyasin Brahmanathaswami via use-livecode
Trashing prefs will bring back LC to the main monitor, no fiddling with loc of 
stacks.

then, later in the week, after loading on Macbook Pro while at Java Café. LC 
loses track -- or something, does not always happen this way. Then back to 
multi-monitors. I learned to shut down my lap top *before* reconnecting. That 
helps…

Would be nice to save out your current prefs to a json file or a LC array file, 
and load then again. Save time going through and fixing them each time you 
trash the LC prefs.

The point being that I never have a problem saving, only that I have to
reset the loc of the topStack and the others each time I do.
___
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: mobile dev confusion

2019-12-30 Thread Sannyasin Brahmanathaswami via use-livecode
I go straight to my Moto6 device. It so fast. For some reason my "gut" doesn’t  
trust the emulators. In fact, I can never get to work on iOS, it always hangs, 
tell me I can't load etc. It would be a problem it if

a) loaded the emulator
b) failed the device.

Takes 6min 24sec to load to iPhone
Take 42 second to load to my Moto6

"used to be" back in early days of 2018. I could trust that

  1.  If it worked on the Moto6
  2.  it worked on iOS

Now Apple with new "bent on innovation" and coming up with update every couple 
of weeks… it a "crap shoot" to know whether one module (stack) or another maybe 
be failing on iOS, and since the remoteDebugger is not working, it takes a 
lng time to debug. I put a hard "breakpoint" in the scripts, but the Script 
Editor never opens… to let me step through thru to find out what line is 
failing. (

Maybe when the IDE in ready for Catalina, this problem with be solved.

Brahmanathaswami


Yes you are right Sannyasin.

And on your desktop you can use the very fast x86 / x86-64 emulator
which you can use directly via the test button in the ide(of course
first load the emulator)
___
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: mobile dev confusion

2019-12-29 Thread Sannyasin Brahmanathaswami via use-livecode
Hmmm.. I conclude from this thread (where I do not use the similutor) that for 
the Google Play store we only need to build

armv7   &   arm64

@J. Gay

right?

Support for x86 chips on mobile devices apparently was dropped some
years ago.
___
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: Polygon Side Does Note Match to Polygon rect

2019-12-29 Thread Sannyasin Brahmanathaswami via use-livecode
Thanks Howard, I have a "design tools" stack, which I can toggle as a palette, 
focus on the top card of the stack I am building.. I'll add a card with this in 
a button

"Make equilateral triangle"

BR

Obviously you want an evenly sided triangle with fixed width W? So use

put 243 into W -- for example
set points of grc 1 to "0,0,10,-10,20,0,0,0" -- these are start-values only
set width  of grc 1 to W
set height of grc 1 to W*sin(pi/3) -- note: 243*sin(pi/3)=210
set loc of grc 1 to 150,150 -- adjust to your needs

What's easier than that?
___
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: Polygon Side Does Note Match to Polygon rect

2019-12-28 Thread Sannyasin Brahmanathaswami via use-livecode
@HH @brian

Ha! You math genius are wonderful! But this is a one off design process, so I 
will still with my "ruler" grc rect….


A triangle with width=height is NOT a regular polygon (it doesn't have equal 
side length).

To have what you want create a grc of type "polygon" and then

set points of grc 1 to "0,0,10,-10,20,0,0,0"
set width of grc 1 to 243
set height of grc 1 to 243

To have equal sideLength you set the width to 243/sin(pi/3).


___
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: How to "save" the IDE stack

2019-12-28 Thread Sannyasin Brahmanathaswami via use-livecode
@Mark
Right, I figured that was the only solution. One gets tired setting the prefs 
again each time you to do that
@Richard, Good idea to store as a plug-in stack. I already have 
CollectMyStacks. This would be the "same thing" but for the IDE

Toss the peferences stack and let lc rebuild it.
___
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


Polygon Side Does Note Match to Polygon rect

2019-12-27 Thread Sannyasin Brahmanathaswami via use-livecode
Regular Polygon Tool:

If you create a triangle grc and set its width and height to 243pt

the tool positions the top of the triangle to center of the top line of the 
rect and leaves margins on the left and right sides. Thus, the triangle itself 
doesn't take the width of 243pt. It like ist has margins left and right…

how to does have precise control over the size of the triangle (not the rect)?

right now I have to build a "measuring grc/ruler" underneath, set it width to 
243, and fiddle with the triangle until it matches my "ruler"

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


How to "save" the IDE stack

2019-12-27 Thread Sannyasin Brahmanathaswami via use-livecode
Suddenly on my multi-monitor set up 

RevMenuBar appears left monitor: topLeft -1023,200
RevNavigator appear left monitor:  topLeft  -420,442
RevTool  on the "bottom" monitor: topLeft  43,1456

OK so I can, from the message box, do this:

set the topleft of stack revMenubar to 0,20

  and it works. but

save stack revMenubar 

Doesn't do anything, and, on reboot, the IDE stack still show up on different 
monitors at the same place

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: [ANN] Release 9.5.1

2019-12-17 Thread Sannyasin Brahmanathaswami via use-livecode
I do not see the player changes with Apple going forward with AVKit.

Any they only in 9.6.dp1?

We are pleased to announce the release of LiveCode 9.5.1 STABLE.

** Note 9.5.1 STABLE is the last planned release in the 9.5.x series **
___
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


Remote Debugging Not Working

2019-12-13 Thread Sannyasin Brahmanathaswami via use-livecode
Anyone who has an an indy or business licence, and has moved to Catalina… I 
want verify in this is my context or if is a bug…

I can't do Remote debugging. My iPhone on in the same wireless network and my 
MacBook Pro…

But if I put an "breakpoint" in a script, save, and test on an iPhone, of 
course the application stops where I have the breakpoint, but the script editor 
does not open and allow us to step through the lines

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: Animated Gifs - Keep them Running

2019-12-13 Thread Sannyasin Brahmanathaswami via use-livecode
Ahh.. good catch!

You should use:
-> SET THE ANGLE of widget xyz to N
just like with images you want to "rotate".
___
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: Animated Gifs - Keep them Running

2019-12-13 Thread Sannyasin Brahmanathaswami via use-livecode
@richard: I don't think *anything* including widget, run in a different thread 
on LC

@HH and Tom

Great idea!  (using send)

--  aside
fyi dictionary is confused:

 rotate:  
OS  mac, windows, linux
Platforms desktop, server, mobile

It should say, (hopefully) iOS and Android..whatever..
---
I assume you can make an independent handler for each svg…or GIF and send in 
time… how much time do you give? Do you set flags like AnimationEngine? I found 
them problematic if we use repeat loops on mobile. (can't break a looping 
repeat if by (un)setting a flag) @tom can you send a snippet of you code? 
Because you have worked out the kinks.   I imagine something like this,

local sRotateFlag   # 1 or 0

command startSpinner
put 1 into sRotateFlag
show widget "spinner"
rotateBusySpinner
end startSpinner

command stopSpinner
put 0 into sRotateSpinner
hide widget "spinner"
command stopSpinner 

command rotateBusySpinner
if sRotateFlag = 1 then
  rotate widget "spinner" by -10
end if
send rotateBusySpinner to me in 10  millisecond
end rotateBusySpinner

I suppose you can use an array to poke image names, to set them several going 
an once. How are you doing that?

I really don't know how much the CPU for engine on mobile can take before you 
see performance issues. What is the  minimum time "idle" time where you poke a 
"send" before you interfere with the engine on mobile:   rotate 10 millisecond, 
200 milliseconds? Of course I can try it …. my Moto6 is good "middle" ground 
between high end android cpu and low end

BR


.i rotate an svg using send it time and it seems to work really well.
i can rotate many sgs simultaneouslyso maybe svg is the answer
hereas far as a progress indicator.

On Thu, Dec 12, 2019 at 5:47 PM hh via use-livecode <
mailto:use-livecode@lists.runrev.com> wrote:

> @BR
>
> Don't run the gif as animation but do your own animation
> by setting the (or some) frames using "send in time".
> By that you can control better the "animation".

___
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: Groups in the message path: Trapping Mouseup

2019-12-12 Thread Sannyasin Brahmanathaswami via use-livecode

User Guide: I tell myself periodically to read the whole thing  (be never 
do…tinyDictionary has me hooked) … here it is, as you says, clearly stated on 
page 105


If background behavior is false, the group is in the message path for all 
controls it owns, but is not in the

message path of any other object.

If the background behavior is true, the group is also in the message path for 
any cards it is placed on. If

you send a message to a card control, the message passes through the control, 
then the card, then

any background groups on the card in order of number, then the stack.

Since a group owns any controls that are part of the group, if you send a 
message to a control within a

group, the group is in the message path for its own controls, regardless of 
whether it’s background

behavior is true or false. If a group has already received a message because it 
was originally sent to one

of the controls in the group, the message is not sent through the group again 
after the card has

handled it.

Tip: If you want a handler in a group's script to affect only the objects in 
the group, place

the following statement at the beginning of the handler:

if the owner of the target is not me then pass message.

This filters out any objects that are not part of the group.


I'm having fun there, but seriously, the User Guide has been pretty good
in recent years. I'm often surprised at how the answers to many forum
questions are covered well in it, yet when I ask about it most people
don't even notice that it's there, the second-from-the-top item in LC's
Help menu.
___
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: Animated Gifs - Keep them Running

2019-12-12 Thread Sannyasin Brahmanathaswami via use-livecode
Hmmm. "Indeed, without even the option of threaded GIF playback, it isn't 
possible to
make a progress indicator that doesn't affect overall performance, in
addition to having disturbingly jerky appearance."

Yes, I suspected the "LC - Single thread" issue. at least the mobileIndicator 
while "ugly" runs smoothly as expected.

> It is a lovely gif, but it "hangs" when the processor on phone is
> doing something else. It there are way to keep it's frames "circling"
> until get we get a good download and dismiss it / vis is false?


http://lists.runrev.com/pipermail/use-livecode/2019-December/257512.html

--
  Richard Gaskin
___
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


Animated Gifs - Keep them Running

2019-12-10 Thread Sannyasin Brahmanathaswami via use-livecode
I switched from the mobileIndicator to installing an animated gif for Loading. 
This way I have control over the load process and can let users bail out.

It is a lovely gif, but it "hangs" when the processor on phone is doing 
something else. It there are way to keep it's frames "circling" until get we 
get a good download and dismiss it / vis is false?

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: Groups in the message path: Trapping Mouseup

2019-12-10 Thread Sannyasin Brahmanathaswami via use-livecode
Mark Waddington gave the answer if need.

I really want "shared groups" and not "backgroundGroups"

Then the scripts are encapsulated. I turned off backgroundBehavior on all 
groups.

A click on top layer button (no script) now  registers in the stack script with 
its target.

I tried it, Yay! After 25 years, still learning….





So if I have a button X with a mouseDown handler in a Group Y also with
a mouseDown handler and in my card script (or stack script) also have a
mouseDown handler
___
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


  1   2   3   4   5   6   7   8   9   10   >