Re: ICS Generation

2020-10-02 Thread Andre Garzia via use-livecode
There is https://github.com/soapdog/livecode-vobjectlib it is fairly easy
to use but it is best if you use it while reading the specs because it is a
bit low-level.

On Fri, 2 Oct 2020 at 01:30, Alex Tweedly via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> On 02/10/2020 00:11, Bob Sneidar via use-livecode wrote:
> > Thanks Alex. I already downloaded the git zip file. I’ll have a look.
> >
> Oh yeah, it's on github - I'd forgotten that :-)
>
> But I haven't used it since (I think) LC 5.5 - so if you bump into any
> issues, please drop me anote.
>
> Thanks
>
> Alex.
>
>
> ___
> 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
>


-- 
https://www.andregarzia.com 
Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia
___
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: What Causes "##string##"

2020-10-02 Thread Devin Asay via use-livecode
Probably when the textAlign property of a line is set to “center”?

> On Oct 2, 2020, at 9:09 AM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> 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

Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
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 J. Landman Gay via use-livecode
It looks a little like a place holder for a merge function, only it's 
missing the square brackets.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 2, 2020 10:11:28 AM Sannyasin Brahmanathaswami via use-livecode 
 wrote:



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





___
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


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 J. Landman Gay via use-livecode

Does this work?

##string##
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 2, 2020 12:56:10 PM Sannyasin Brahmanathaswami via use-livecode 
 wrote:



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





___
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


Re: Getting URL to Work in specialFolderDocuments

2020-10-02 Thread Bob Sneidar via use-livecode
You are putting a file from a url into a variable called tLocalDocumentsStories 
& sStoryTitle & "/" & sStoryTitle & ".livecode”. You should probably have a 
variable with the full path to the file: 

put tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode” into 
tFilePath

Then put the file from the url into the location using the URL command:

put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode”) into 
URL (“binfile:” & tFilePath

The problem with trying to put all the fiddlybits into one line is that you 
cannot tell where things are going wrong. You sacrifice readability and ease of 
debugging for compact code, and with Livecode, do we really need compact code? 

Bob S

> 

> On Oct 2, 2020, at 2:59 PM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> 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

___
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: Modal stacks cpu usage

2020-10-02 Thread Neville Smythe via use-livecode
> Confirmed here on macOS 10.14.5.  The CPU load is indeed quite dramatic 
> with modal dialogs.
> 
> I also checked on Linux (Ubuntu 18.04), and LC does not exhibit the 
> problem there.


Thanks Richard for confirming, and testing on Linux. Yes I will file a bug 
report.

It occurred to me that LC shouldn’t be using as much as 34% cpu when it is just 
idling anyway, even when not running a modal stack. Testing just now shows that 
is down to around 16%; of course LC’s time share will depend on lots of OS 
factors and other running apps, but that’s still way too high for an app 
supposedly doing nothing but waiting for events. Turning off the Rinaldi 
revSmartSave plugin brings it down to between 4 and 7%, which is more 
reasonable; presumably something to do with displaying its progress bar, 
perhaps another wait side effect.

Neville Smythe
___
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: Modal stacks cpu usage

2020-10-02 Thread Neville Smythe via use-livecode
Looks like Elanor beat me to it Bug 22929 
 

Neville Smythe
___
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: Modal stacks cpu usage

2020-10-02 Thread J. Landman Gay via use-livecode
If the Project Browser is open, try closing it. On my Mac, the CPU usage 
while idle is usually close to 0 when in the background.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 2, 2020 7:03:59 PM Neville Smythe via use-livecode 
 wrote:



Confirmed here on macOS 10.14.5.  The CPU load is indeed quite dramatic
with modal dialogs.

I also checked on Linux (Ubuntu 18.04), and LC does not exhibit the
problem there.



Thanks Richard for confirming, and testing on Linux. Yes I will file a bug 
report.


It occurred to me that LC shouldn’t be using as much as 34% cpu when it is 
just idling anyway, even when not running a modal stack. Testing just now 
shows that is down to around 16%; of course LC’s time share will depend on 
lots of OS factors and other running apps, but that’s still way too high 
for an app supposedly doing nothing but waiting for events. Turning off the 
Rinaldi revSmartSave plugin brings it down to between 4 and 7%, which is 
more reasonable; presumably something to do with displaying its progress 
bar, perhaps another wait side effect.


Neville Smythe
___
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