iOS "Invalid entitlements"

2017-04-06 Thread Sannyasin Brahmanathaswami via use-livecode
I was having difficulty with a stack and deleted all the stack files in the 
list and put empty into cRevStandaloneSettings

and started fresh.

Now I am getting "invalid entitlements" when trying to install on my iPhone.

I did have a new user and I added their UDID, cleaned up all my old profiles 
and certs, current certificate is valid until Oct 2017, I disabled 
"inter-app-audio" in the app ID services and rebuilt the provisioning profile.

Still no go on attempting to put on my phone… SA builder runs fine… xCode is 
giving me the old message:

===
The executable was signed with invalid entitlements.
The entitlements specified… …invalid … not permitted…
do not match those specified in your Provision profile.
===

I was very careful to take a snap shot of my SA setting before wiping them.

All I can think of is perhaps there is some inclusion that I turned on that is 
causing the issue? It was the first time I saw inter-app-audio on in the Apple 
developer portal, for the services for my app ID… Perhaps it was there before 
as I have not had to go in for months… but I'm not seeing that in the 
info.plist anywhere. So I don't think it is an issue, unless xCode retains a 
memory/cache of a previous provisioning profile? I did go through xCode 
perferences, user agent, and made sure everything was refreshed there with one 
and only one latest cert and profile active.

If you have check an inclusion that only applies to desktop ("Database") could 
that cause it?

I set the SA to auto detect for necessary inclusions, but that takes a lng 
time.

Mac Sierra
xCode 8.2.1
LC 9dp5




___
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: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Mike Bonner via use-livecode
Ah k.  Still not sure what you mean about how its installed, but if you are
hitting lc server script pages directly in the browser through a web
server, that part most likely doesn't matter. (otherwise i'm sure you'll
correct me)

It sounds like you need to use session management.   If all your pages are
.lc based, you can look at this forum topic
http://forums.livecode.com/viewtopic.php?f=15=10787=50056=session#p50034
for an example of passing information around using session variables.

On Thu, Apr 6, 2017 at 8:46 PM, Rick Harrison via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Richard,
>
> Ok, let me clarify if I can.  LC Server as it
> is installed out of the box without setting
> it up as it used to be set up in the old days.
>
> I have three webpages.  The first accepts
> the user’s input into various fields and then
> passes that information to the next webpage
> through the user's web browser.  That works
> fine.  Then without writing those parameters
> out to a database, I want to pass those
> now hidden parameters to the next webpage
> for further processing before writing those
> values out to the database.
>
> How are people handling that process?
> Or am I forced into writing everything out
> to the database and then reading it all
> back in just to go from one page to the next
> to the next?
>
> Thanks,
>
> Rick
>
> > On Apr 6, 2017, at 6:52 PM, Richard Gaskin via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Rick Harrison wrote:
> >
> > > So the answer is - only in a stack.
> > > Perhaps the dictionary should have
> > > a comment stating or clarifying that fact.
> >
> > Mike said:
> >
> >   Can't answer the rest, but as for the global.. Since you can utilize
> >   stacks with server, you could declare a global just as you would
> >   normally, in any scripts that needed it, and it would work just like
> >   in lc proper.  It would only persist during the run of that
> >   particular instance.
> >
> > LiveCode globals are available to all scripts that declare them within
> the LiveCode process.
> >
> > I think maybe the reason Mike's reply was focused on stacks is that it's
> not clear what you're doing.
> >
> > Your original post said:
> >
> >  I have a few variables I would like to pass from one  >  server script to another using a web  browser with an lc
> >  server that is not configured to be a cgi server.
> >
> > Since LC Server runs as a CGI, and even if you were using a standalone
> on the server as a daemon it would still be on the server and not in the
> client browser, I can't figure out what that sentence means.
> >
> > --
> > Richard Gaskin
> > Fourth World Systems
> > Software Design and Development for the Desktop, Mobile, and the Web
> > 
> > ambassa...@fourthworld.comhttp://www.FourthWorld.com
> >
> > ___
> > 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: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Rick Harrison via use-livecode
Hi Richard,

Ok, let me clarify if I can.  LC Server as it
is installed out of the box without setting
it up as it used to be set up in the old days.

I have three webpages.  The first accepts
the user’s input into various fields and then
passes that information to the next webpage
through the user's web browser.  That works
fine.  Then without writing those parameters
out to a database, I want to pass those
now hidden parameters to the next webpage
for further processing before writing those
values out to the database.  

How are people handling that process?  
Or am I forced into writing everything out 
to the database and then reading it all 
back in just to go from one page to the next 
to the next?

Thanks,

Rick

> On Apr 6, 2017, at 6:52 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Rick Harrison wrote:
> 
> > So the answer is - only in a stack.
> > Perhaps the dictionary should have
> > a comment stating or clarifying that fact.
> 
> Mike said:
> 
>   Can't answer the rest, but as for the global.. Since you can utilize
>   stacks with server, you could declare a global just as you would
>   normally, in any scripts that needed it, and it would work just like
>   in lc proper.  It would only persist during the run of that
>   particular instance.
> 
> LiveCode globals are available to all scripts that declare them within the 
> LiveCode process.
> 
> I think maybe the reason Mike's reply was focused on stacks is that it's not 
> clear what you're doing.
> 
> Your original post said:
> 
>  I have a few variables I would like to pass from one   server script to another using a web  browser with an lc
>  server that is not configured to be a cgi server.
> 
> Since LC Server runs as a CGI, and even if you were using a standalone on the 
> server as a daemon it would still be on the server and not in the client 
> browser, I can't figure out what that sentence means.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> 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: Nightly builds

2017-04-06 Thread Mike Bonner via use-livecode
Same question.. Where do members find the nightly builds?

On Thu, Mar 9, 2017 at 8:14 PM, James Hale via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I just noticed one of the benefits to membership of the open source
> community is access to nightly builds.
>
> Can anyone tell me how this is possible?
> Is it only for the community version?
> Is there a link or is one expected to make the build oneself?
> Or is this just smoke and mirrors?
>
> James
>
> ___
> 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


Recording audio with LC on OSX?

2017-04-06 Thread Terry Judd via use-livecode
I want to record sound from within LC on a Mac – actually I want to get LC to 
speak some text and have it recorded to file (using Sound Siphon to capture it 
directly rather than via the inbuilt mike and speakers). Is setting the 
dontUseQT to false and going with ‘record sound’ the only option or is there 
another non Quicktime way?

Regards,

Terry...
___
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: use-livecode Digest, Vol 163, Issue 13

2017-04-06 Thread Richard Gaskin via use-livecode

I'm a UX guy, so I advocate for the new user.

If RLE is faster, why penalize IDE users with slow performance?

If PNG is more commonly used, why penalize end-users running standalones?

It may be in the Dictionary, but if we already know the syntax for the 
export command, how would we know that we're also supposed to look up 
another entry for paintCompression?


Questions like this aren't intended to be harsh.  They're intended to 
encourage fresh thinking about things that may improve the user experience.


LC's job is to make the distance between "I want to write an app" and "I 
just shipped an app!" as short and painless as possible.


Remove the wrinkles, soften the rough edges, and delight emerges

- rg


hh wrote:

> Richard,
>
> these are hard words.
>
> 1) The diff is announced _loudly_ in the dict.
> 2) setting the paintcompression to RLE can speed up significantly in
> most cases. More than 16GB of RAM and huge GPUs are not from the time
> when this was introduced (when you was a young boy with curly hair).
>
> They choose simply the faster one for the standalone. And there are
> not this much cases where the diff has such a negative effect like
> for Peter R.
>
>> Richard G, wrote:
>> IMNSHO any differences between IDE and engine defaults should be a
>> preference option or it's a bug.
>>
>> The whole point of using an xTalk is to minimize the differences 
between

>> runtime and development.
>>
>> If the team saw fit to make PNG the default, it should be the
>> default in both environments.
>>
>> If they don't feel strongly enough that it should be the default, it
>> should be a preference option.



___
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: use-livecode Digest, Vol 163, Issue 13

2017-04-06 Thread hh via use-livecode
Richard,

these are hard words.

1) The diff is announced _loudly_ in the dict.
2) setting the paintcompression to RLE can speed up significantly in
most cases. More than 16GB of RAM and huge GPUs are not from the time
when this was introduced (when you was a young boy with curly hair).

They choose simply the faster one for the standalone. And there are not
this much cases where the diff has such a negative effect like for Peter R.

> Richard G, wrote:
> IMNSHO any differences between IDE and engine defaults should be a 
> preference option or it's a bug.
> 
> The whole point of using an xTalk is to minimize the differences between 
> runtime and development.
> 
> If the team saw fit to make PNG the default, it should be the default in 
> both environments.
> 
> If they don't feel strongly enough that it should be the default, it 
> should be a preference option.


___
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


LC Server on Win and CURL

2017-04-06 Thread Malte Brill via use-livecode
Hi all,

I wonder if somebody of you can enlighten me here.

I am trying to use curl with liveCode Server. No Probs on a Mac, but Windows is 
behaving strange…

set the shellCommand to "cmd“ — mail client might put in wrong quote mark
put shell("c:/curl/bin/curl " & quote & "http://google.de“ & quote) 

-> curl: (27) Out of memory

But on the commandline I get what I expect using

c:/curl/bin/curl "http://google.de;

Anybody know what is going on here and how to get around it?

Cheers,

Malte
___
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: LC-Magick Collection

2017-04-06 Thread hh via use-livecode
Added today #8: MoonEffect (Elliptical distortion/ Fisheye)
Antialiasing part by 'BNig'(Bernd), Distortion part by 'hh'(Hermann).
http://forums.livecode.com/viewtopic.php?p=153159#p153159

This is our "easter-egg" for the LC Community!

> LC-Magick #7 - Cuboid (3D-Box 'wearing' images) (Hermann H.)
> http://forums.livecode.com/viewtopic.php?p=153076#p153076
> LC-Magick #6 - Bilinear Perspective Image Distortion (Hermann H. and Bernd N.)
> http://forums.livecode.com/viewtopic.php?p=150757#p150757
> LC-Magick #5 - Circular (Polar) Image Distortion (Hermann H. and Bernd N.)
> http://forums.livecode.com/viewtopic.php?p=14#p14
> LC-Magick #4 - Linear Perspective Image Distortion (Hermann H.)
> http://forums.livecode.com/viewtopic.php?p=148647#p148647
> LC-Magick #3 - Image Multiplexing (Hermann H.)
> http://forums.livecode.com/viewtopic.php?p=141272#p141272
> LC-Magick #2 - Pointillize (Hermann H.)
> http://forums.livecode.com/viewtopic.php?p=141051#p141051
> LC-Magick #1 - Blur and Pixelate (Scott R.)
> http://tactilemedia.com/blog/2016/03/26/update-blur-effect-plus-pixelize-bonus/

Most of it is based on ideas presented in imageMagick's documentation
http://www.imagemagick.org/Usage/


___
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: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Mike Bonner via use-livecode
I was mainly referring to the fact that an lc server script isn't
restricted to a single script file, so scope still matters.  (Clarity is
not my strong suit)  So as in a standalone etc, to use a global one would
need to declare it in each script where it needs to be available, whether
server or not.  Sorry for my clear as mud first effort.

On Thu, Apr 6, 2017 at 4:52 PM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Rick Harrison wrote:
>
> > So the answer is - only in a stack.
> > Perhaps the dictionary should have
> > a comment stating or clarifying that fact.
>
> Mike said:
>
>Can't answer the rest, but as for the global.. Since you can utilize
>stacks with server, you could declare a global just as you would
>normally, in any scripts that needed it, and it would work just like
>in lc proper.  It would only persist during the run of that
>particular instance.
>
> LiveCode globals are available to all scripts that declare them within the
> LiveCode process.
>
> I think maybe the reason Mike's reply was focused on stacks is that it's
> not clear what you're doing.
>
> Your original post said:
>
>   I have a few variables I would like to pass from oneserver script to another using a web  browser with an lc
>   server that is not configured to be a cgi server.
>
> Since LC Server runs as a CGI, and even if you were using a standalone on
> the server as a daemon it would still be on the server and not in the
> client browser, I can't figure out what that sentence means.
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
>
> ___
> 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: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Richard Gaskin via use-livecode

Rick Harrison wrote:

> So the answer is - only in a stack.
> Perhaps the dictionary should have
> a comment stating or clarifying that fact.

Mike said:

   Can't answer the rest, but as for the global.. Since you can utilize
   stacks with server, you could declare a global just as you would
   normally, in any scripts that needed it, and it would work just like
   in lc proper.  It would only persist during the run of that
   particular instance.

LiveCode globals are available to all scripts that declare them within 
the LiveCode process.


I think maybe the reason Mike's reply was focused on stacks is that it's 
not clear what you're doing.


Your original post said:

  I have a few variables I would like to pass from one Since LC Server runs as a CGI, and even if you were using a standalone 
on the server as a daemon it would still be on the server and not in the 
client browser, I can't figure out what that sentence means.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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: use-livecode Digest, Vol 163, Issue 13

2017-04-06 Thread Richard Gaskin via use-livecode

Peter Reid wrote:

> Thanks for the advice, it was the paintCompression that caused the
> problem.  In the IDE it defaults to PNG but in the standalone it
> defaults to RLE instead.  As I didn't set it, the value was the
> default for the environment!  I simply added:
>
>set the paintCompression to png
>
> to my preOpenStack handler and the problem was solved!

IMNSHO any differences between IDE and engine defaults should be a 
preference option or it's a bug.


The whole point of using an xTalk is to minimize the differences between 
runtime and development.


If the team saw fit to make PNG the default, it should be the default in 
both environments.


If they don't feel strongly enough that it should be the default, it 
should be a preference option.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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: use-livecode Digest, Vol 163, Issue 13

2017-04-06 Thread Peter Reid via use-livecode
Hi HH

Thanks for the advice, it was the paintCompression that caused the problem.  In 
the IDE it defaults to PNG but in the standalone it defaults to RLE instead.  
As I didn't set it, the value was the default for the environment!  I simply 
added:

set the paintCompression to png

to my preOpenStack handler and the problem was solved!

Thanks very much for solving this.

Peter
--
Peter Reid
Loughborough, UK

> On 6 Apr 2017, at 9:22pm, use-livecode-requ...@lists.runrev.com wrote:
> 
> Date: Thu, 6 Apr 2017 12:09:13 +0200
> From: hh >
> To: use-livecode@lists.runrev.com 
> Subject: Re: Standalone Magnify Problem
> Message-ID: <3af19fcf-001e-4dd6-a35c-ade7631c9...@hyperhh.de 
> >
> Content-Type: text/plain; charset=us-ascii
> 
>> Peter R. wrote:
>> I have it working fine when I'm in the development environment
>> but it's not working reliably in a standalone app. 
> 
> a) Did you already check to have the same paintcompression in both 
> environments?
> b) If you make such large images (why?) you may get a conflict with the 
> 8bit-coords
> limit. May be the standalone engine has still more of such limits included 
> for 
> 'formatted'-measurements than the IDE.
> c) Did you already check to have the same resizequality in both environments?
> ("best" may create an alphachannel)

___
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: Trying to make an HTML5 app

2017-04-06 Thread Terry Judd via use-livecode
Using the community license - 9.0.0 (dp 5) - I couldn’t get a HTML5 app to run 
if it included any SVG widgets. I’m not sure if this problem extends to other 
widget types or not but as a workaround I converted all the SVGs to bitmaps. 
I’d try taking out the SVGs to start with and see if that helps.

Terry...

On 7/04/2017 5:47 am, "use-livecode on behalf of pink via use-livecode" 
 wrote:

I am trying to sell the powers that be on getting an HTML5 license, so I 
made
up a quick little survey app, but I cannot successfully compile and run it.
I'm time limited here, I need to get this working by tomorrow morning if I
hope to get my boss to shell out some money... 

I have a few widgets, namely SVG icons, NavBar, and Segmented Controls.
Otherwise, just some buttons and a scrollbar, minimal scripting 

I have tried compiling with the Community versions of Livecode including:
8.1.1, 8.1.2, 8.1.3 on both Mac and Windows. 

I keep get the error "To use dlopen, you need to use Emscripten's linking
support, see https://github.com/kripken/emscripten/wiki/Linking; 

on MacOS,  using LC Community 8.1.4 RC-1: Livecode crashes when compiling 

I've tried numerous stacks, and none of them compile correctly for me, so
here are my questions as a possible HTML5 customer: 
1. What do I need to do to get past the error above? 
2. Does the commercial version of HTML5 work better (or at least
differently) than the Community version? 
3. Is there a "best" version of Livecode to use for compiling HTML5 apps? 



-
---
Greg (pink) Miller
mad, pink and dangerous to code
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Trying-to-make-an-HTML5-app-tp4713775.html
Sent from the Revolution - User mailing list archive at http://Nabble.com.

___
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: Negative Numbers and NumberFormat

2017-04-06 Thread Bob Sneidar via use-livecode
Oh that is interesting. Each number has to be a separate argument. That is 
something I did not glean from reading the docs a while back.

Bob S


On Apr 6, 2017, at 14:26 , Paul Dupuis via use-livecode 
> wrote:

put format("%03d.%03d.%03d.%03d",192,168,1,1) produces 192.168.001.001

___
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: MDM and App deployment

2017-04-06 Thread Terry Judd via use-livecode
Hi John – it’s really just about making sure that all your urls are correct and 
match up in the html and manifest files. If that’s all ok (and you’re serving 
the files via https) then it’s more likely to be a provisioning problem.

Terry...

On 7/04/2017 1:28 am, "use-livecode on behalf of JOHN PATTEN via use-livecode" 
 wrote:

Thanks Terry and Jacqueline,

The file/app is being served via our MDM which is using https.

Terry, you mention that the manifest file has to be perfect, do you happen 
to know what that would look like? I have never tweaked the manifest file that 
gets created automatically. 

I have been following Richard Miller’s challenges with getting his app into 
the regular app store so I know the info.plist file can be problematic, 
depending on what you are trying to do.  However, I’m not quite sure what a 
“perfect” plist file should look like. Someone else had mentioned being sure 
that I,…  "Call all the links on the plist and html with https,” but I’m not 
sure what that means.  It was pulled from this this stackoverflow conversation, 
http://stackoverflow.com/questions/34820355/enterprise-app-installing-but-immediatelly-dissapears
 
,
 but I have  a hunch it is not the same problem as mine.

Let me know if I’ missing something in the plist file….


Thank you!




> On Apr 5, 2017, at 7:35 PM, Terry Judd via use-livecode 
 wrote:
> 
> I missed the start of this thread so I might be off target but the app 
needs to be server from a secure (https) server. If it isn’t and/or if your 
manifest file isn’t perfect then you will get that sort of message as well.
> 
> Terry...
> 
> On 6/04/2017 12:18 pm, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:
> 
>On 4/5/17 5:17 PM, JOHN PATTEN via use-livecode wrote:
>> A student iPad can see the app in their Self Service app, but when
>> they go to install it reports it can’t download at this time.
> 
>I don't know if things are different with an Enterprise account, but 
in 
>my experience an app that partially downloads and then errors 
indicates 
>something wrong with the distribution profile.
> 
>-- 
>Jacqueline Landman Gay | jac...@hyperactivesw.com
>HyperActive Software   | http://www.hyperactivesw.com
> 
> 
>___
>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


___
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: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Rick Harrison via use-livecode
Hi Mike,

So the answer is - only in a stack.
Perhaps the dictionary should have
a comment stating or clarifying that fact.

Thanks,

Rick


> On Apr 6, 2017, at 4:27 PM, Mike Bonner via use-livecode 
>  wrote:
> 
> Can't answer the rest, but as for the global.. Since you can utilize stacks
> with server, you could declare a global just as you would normally, in any
> scripts that needed it, and it would work just like in lc proper.  It would
> only persist during the run of that particular instance.

___
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: MDM and App deployment

2017-04-06 Thread JOHN PATTEN via use-livecode
Hi All,

Since I don’t know what a proper manifest file (info.plist) should look like, 
other than what LiveCode creates via the standalone process, and I could not 
get my hands on one someone  is using for their apps in the JAMF MDM, I decided 
just to build an app in Xcode/Swift and extract its info.plist for comparison.

This also allowed me to check to make sure my cert and Enterprise Distribution  
profile were correct. Apple has some FoodApp tutorials, I took one of their 
competed samples and compiled it into an app in Xcode with our Enterprise 
Developer profile. I was able to load it up into our JAMF MDM, assign it to a 
iPad in the MDM, and then download it from the Self Service app onto the 
targeted iPad. Apparently the profile is good.

When I look at the two info.list files, they were fairly similar, but it 
appears that LiveCode add a lot of keys that Xcode does when it compiles. I 
briefly tried to make the LiveCode info.plist appear more like the Xcode 
info.plist, and then try my app over with the new info.plist I modified. It 
still was not working for me. I was in a bit of a rush, so I will do it again 
with a little more care. 

I have included both the info.plist from my app, and the info.plist from the 
Xcode “food app.”  Not sure if anything will jump out at anyone, but please let 
me know if so.

I am guessing that the LiveCode info.plist is what is fouling up the MDM 
delivery of my app.

Here they are:

MyOpenMath app info.plist


http://www.apple.com/DTDs/PropertyList-1.0.dtd;>


CFBundleDevelopmentRegion
English
CFBundleDisplayName
MyOpenMath
CFBundleName
MyOpenMath
CFBundleExecutable
MyOpenMath
CFBundleIdentifier
com.sylvanapps.myopenmath
CFBundleInfoDictionaryVersion
6.0
CFBundlePackageType
APPL
CFBundleSignature



CFBundleSupportedPlatforms

iPhoneOS

CFBundleVersion
1.0.2
CFBundleShortVersionString
1.0.2
CFBundleIconFiles


Icon-72.pngIcon-144.pngIcon-76.pngIcon-152.png

UILaunchImages


UILaunchImageMinimumOSVersion
8.0
UILaunchImageName
Default-Portrait
UILaunchImageOrientation
Portrait
UILaunchImageSize
{768, 1024}


UILaunchImageMinimumOSVersion
8.0
UILaunchImageName
Default-Landscape
UILaunchImageOrientation
Landscape
UILaunchImageSize
{768, 1024}



DTCompiler
com.apple.compilers.llvm.clang.1_0
DTPlatformBuild
12B411
DTPlatformName
iphoneos
DTPlatformVersion
8.1
DTSDKBuild
12B411
DTSDKName
iphoneos8.1
DTXcode
0610
DTXcodeBuild
6A1052c
CFBundleDisplayName
MyOpenMath
MinimumOSVersion
10.1
UIDeviceFamily

2


UIRequiredDeviceCapabilities



UIRequiresPersistentWiFi

UIApplicationExitsOnSuspend

UIInitialInterfaceOrientation
UIInterfaceOrientationPortrait
UISupportedInterfaceOrientations

UIInterfaceOrientationPortrait

UIInitialInterfaceOrientation~ipad
UIInterfaceOrientationPortrait
UISupportedInterfaceOrientations~ipad


UIInterfaceOrientationPortraitUIInterfaceOrientationLandscapeLeft

UIBackgroundModes



UIViewControllerBasedStatusBarAppearance

NSLocationAlwaysUsageDescriptionThis application 
requires access to Location Services always
UIStatusBarHidden

UIStatusBarHidden~ipad

UIStatusBarStyle
UIStatusBarStyleDefault
com_livecode_StatusBarSolid

com_livecode_UsesLocalNotifications

UIFileSharingEnabled

UIPrerenderedIcon

UIAppFonts



NSBluetoothPeripheralUsageDescription
This application requires access to Bluetooth
NSCalendarsUsageDescription
This application requires access to the device's 
calendar
NSCameraUsageDescription
This application requires access to the 

Re: Negative Numbers and NumberFormat

2017-04-06 Thread Paul Dupuis via use-livecode
On 4/6/2017 5:04 PM, Bob Sneidar via use-livecode wrote:
> put format("00:00:00", "9:50:00") produces 00:00:00. 
> put format("##:##:##", "9:50:00") produces ##:##:##. 
> put format("nnn.nnn.nnn.nnn", "192.168.1.1") produces nnn.nnn.nnn.nnn

put format("%2d:%02d:%02d", 9,50,0) produces 9:50:00

put format("%02d:%02d:%02d", 9,50,0) produces 09:50:00

put format("%0d.%0d.%0d.%0d",192,168,1,1) produces 192.168.1.1

put format("%03d.%03d.%03d.%03d",192,168,1,1) produces 192.168.001.001

I am not sure there is any delimited set of strings or numeric
information you can't format. I do get that "00:00:00" is more intuitive
than "%02d:%02d:%02d", which is why I suspect it is just the learning
curve of understanding the syntax of the format function that prevents
more people from using 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: Negative Numbers and NumberFormat

2017-04-06 Thread Bob Sneidar via use-livecode
put format("00:00:00", "9:50:00") produces 00:00:00. 
put format("##:##:##", "9:50:00") produces ##:##:##. 
put format("nnn.nnn.nnn.nnn", "192.168.1.1") produces nnn.nnn.nnn.nnn

Point being, format is great for formatting NUMBERS, not converting truncated 
numeric values in between delimiters or inserting literal string values in the 
appropriate places. Some may not see the need for this, or can thing of one off 
methods for doing each of these. So can I. I just don't like solving a problem 
over and over, and once solved I like to share that with others. 

As I said, Excel does this pretty well. I just need to mimic what they are 
doing. The trick would be to find the start and end character of actual numeric 
values in a string and replace them with reformatted versions in the format 
string. So "   1.55" with a format string of "00.000%" would return "01.550%" 
(not that you would need that, but you get the point.) 

Bob S


> On Apr 6, 2017, at 11:13 , hh via use-livecode 
>  wrote:
> 
> You forgot to give examples for Bob's original problem?
> The negative numbers ... ;-)
> 
>> Paul D. wrote:
> 
>>> put format("$%0.2f",tMoney) into msg
>>> 
>>> for tMoney = 5.55, you get $5.55
>>> for tMoney = 5.3, you get $5.33
>>> 
>>> want a space between the $, then use
>>> put format("$ %0.2f",tMoney) into msg
>>> 
>>> want a leading zero and minimum of 2 digits before the decimal point
>>> put format("$ %05.2f",5.553) into msg
> 
> ___
> 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: revZip functions, compressing and extracting folder for transfer

2017-04-06 Thread Matt Maier via use-livecode
I pulled the zip archiving functions out of the Master Library stack.

It worked...except that it truncated the first character of every filename
in the archive.

This is the offending code from the addFolderToArchive handler:
put theFile into theArchiveItemName
put offset(pRootFolderPath, theArchiveItemName) into theCharNo
if theCharNo is 0 then return "file is not in expected folder"
delete char 1 to (the number of chars of pRootFolderPath + 1) of
theArchiveItemName # strip root folder up to slash (zip item names
shouldn't start with a slash)

The value I see for pRootFolderPath includes the ending slash, so the "+ 1"
here is deleting the first character of the filename.

Can I just remove the "+ 1"? Will that make it work on Windows but fail on
another system?

On Sat, Mar 4, 2017 at 12:49 PM, Phil Davis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Here is a sanitized version of a simple zip library stack I use in
> projects. It keeps me from having to get down into the nuts and bolts every
> time I want to zip a file:
>
>https://www.dropbox.com/s/t8z27p8cy5ir1v9/libZip.livecode?dl=0
>
> HTH -
> Phil Davis
>
>
>
> On 3/4/17 9:25 AM, Matt Maier via use-livecode wrote:
>
>> Is there an overview or tutorial on how to use the revZip functions?
>>
>> Do I have to use each individual function to manually describe the process
>> of creating and using a zip archive?
>>
>> Like, to create the archive, do I have to write my own code to open it,
>> repeat for each file and/or each folder, find and specify the name and
>> contents and format of each file, then close it, then remember to delete
>> it
>> later...or is there a command somewhere that just takes a folder and
>> returns a zipped version of that folder?
>>
>> The same question for extracting an archive. Do I have to open it,
>> enumerate the files, repeat for each file and/or folder, figure out that
>> file's name, contents, and format, copy the file to an appropriate new
>> file, then close it, then remember to delete it later...or is there a
>> command that just takes a *.zip and returns an extracted folder?
>>
>> I already spent a couple hours trying various combinations of quotes
>> around
>> the parameters to add something to an archive before I figured out put the
>> data into the URL as a binfile manually. Then this morning I ran across a
>> different revZip function to add a file directly, instead of raw data,
>> which I guess is what I was doing. So it would be nice to find out that
>> there's already a function that does all of the obvious zip archive stuff
>> automatically and correctly.
>> ___
>> 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
>>
>>
> --
> Phil Davis
>
>
> ___
> 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: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Mike Bonner via use-livecode
Can't answer the rest, but as for the global.. Since you can utilize stacks
with server, you could declare a global just as you would normally, in any
scripts that needed it, and it would work just like in lc proper.  It would
only persist during the run of that particular instance.

On Thu, Apr 6, 2017 at 12:47 PM, Rick Harrison via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I have a few variables I would like to pass
> from one  a web  browser with an lc server that is not
> configured to be a cgi server. The variables
> I want to process are in flux as values and
> are not quite ready to be put into the database
> just yet.
>
> How should one do that these days?
>
> In addition, In my search of the dictionary
> I also came across that one
> supposedly can declare a global
> variable and that it will supposedly
> work with the server platform too.
> Really?  How would that work?
>
> Syntax
> global variableNameList
> SummaryDeclares a global variable <>.Introduced1.0OSmac, windows, linux,
> ios, androidPlatformsdesktop, server, 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
>
___
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


Calendar widget fails in Livecode 9

2017-04-06 Thread William Prothero via use-livecode
Folks:
The calendar widget by Eleanor Buchanan fails in Livecode 9. 

I like that widget. Is there any replacement?

Bill



William A. Prothero
http://earthlearningsolution.org/

___
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: Could not open module file

2017-04-06 Thread William Prothero via use-livecode
Panos:
Agreed. Thanks!
I found that the Calendar widget was causing the problem. It is not compatible 
with livecode 9.
Bill
> On Apr 6, 2017, at 10:28 AM, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hi Bill,
> 
> Thank you for the update. We have to make this error more descriptive, to
> indicate the specific widget that caused the problem.
> 
> Best,
> Panos
> --
> 
> On Thu, Apr 6, 2017 at 6:25 PM, William Prothero via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> My problem was that I had the Calendar widget installed. It is not in the
>> correct format for current LC Versions.
>> Bill
>> 
>>> On Apr 6, 2017, at 7:48 AM, William Prothero via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> This is a project I haven’t worked on for awhile. LiveCode 9.0 produces
>> the same error message. I’ve tried it when setting it to detect inclusions,
>> but there is the same error.
>>> 
>>> Is there any reason the error dialog couldn’t specify which module it
>> can’t load? I am assuming it is wanting some widget? Or, for now, is there
>> a way I can identify the module it is having trouble loading without
>> tedious substitutions and thrashing around?
>>> 
>>> My desperation move is to go back to an older version that will save,
>> but I hate to lose work I’ve done since..
>>> 
>>> Regards,
>>> Bill
>>> 
 On Apr 5, 2017, at 10:11 PM, panagiotis merakos via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
 
 Hi Bill,
 Just a shot in the dark: Does the stack contain a spinner widget from
 LiveCode 9.0 DP x? If yes, this will not compile in LiveCode 8.x.
 
 Best,
 Panos
 
 On 6 Apr 2017 02:35, "William Prothero via use-livecode" <
 use-livecode@lists.runrev.com> wrote:
 
 Building a stand-alone in LC 8.1.4 (RC1) on Mac OS 10.11.6.
 
 I get “Could not open module file”.
 
 This is a very un-helpful error message. What could it mean? I get it
>> if I
 let LC find all inclusions. It would seem that the error message would
>> be
 able to include the name of the module file?? Hmm...
 
 Bill
 
 William A. Prothero
 http://earthlearningsolution.org/
 
 ___
 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
>> 
>> 
>> ___
>> 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

Trying to make an HTML5 app

2017-04-06 Thread pink via use-livecode
I am trying to sell the powers that be on getting an HTML5 license, so I made
up a quick little survey app, but I cannot successfully compile and run it.
I'm time limited here, I need to get this working by tomorrow morning if I
hope to get my boss to shell out some money... 

I have a few widgets, namely SVG icons, NavBar, and Segmented Controls.
Otherwise, just some buttons and a scrollbar, minimal scripting 

I have tried compiling with the Community versions of Livecode including:
8.1.1, 8.1.2, 8.1.3 on both Mac and Windows. 

I keep get the error "To use dlopen, you need to use Emscripten's linking
support, see https://github.com/kripken/emscripten/wiki/Linking; 

on MacOS,  using LC Community 8.1.4 RC-1: Livecode crashes when compiling 

I've tried numerous stacks, and none of them compile correctly for me, so
here are my questions as a possible HTML5 customer: 
1. What do I need to do to get past the error above? 
2. Does the commercial version of HTML5 work better (or at least
differently) than the Community version? 
3. Is there a "best" version of Livecode to use for compiling HTML5 apps? 



-
---
Greg (pink) Miller
mad, pink and dangerous to code
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Trying-to-make-an-HTML5-app-tp4713775.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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: Negative Numbers and NumberFormat

2017-04-06 Thread Paul Dupuis via use-livecode
Okay,

put format("$ %05.2f",-5.553) into msg
gives $ -5.55

I am sure there is some formatting someone would want that can not be
done with the format function, but most can and without spending the
time to exhaustively test, I suspect that anything you can do with
numberFormat you can do with format.



On 4/6/2017 2:13 PM, hh via use-livecode wrote:
> You forgot to give examples for Bob's original problem?
> The negative numbers ... ;-)
>
>> Paul D. wrote:
>>> put format("$%0.2f",tMoney) into msg
>>>
>>> for tMoney = 5.55, you get $5.55
>>> for tMoney = 5.3, you get $5.33
>>>
>>> want a space between the $, then use
>>> put format("$ %0.2f",tMoney) into msg
>>>
>>> want a leading zero and minimum of 2 digits before the decimal point
>>> put format("$ %05.2f",5.553) into msg
> ___
> 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


Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Rick Harrison via use-livecode
I have a few variables I would like to pass
from one .Introduced1.0OSmac, windows, linux, ios, 
androidPlatformsdesktop, server, 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: Stack focus

2017-04-06 Thread Peter Bogdanoff via use-livecode
Yes, when I start afresh with making two stacks one with a button that goes 
from one stack to the other and back again, all is well.

I was doing this same thing earlier, but running the script from the multi-line 
message box. There, of course, the focus is on the message box and stays on the 
message box. So, my confusion.

Also, my original working two stacks have a lot going on as far as close stack 
operations that I am sure are complicating things.

What I’m seeing now in my original stacks, not before, is, my scripts now leave 
the two stacks in a sort of limbo land. The focus does stay on stack B, even 
though the very last line of any script says to go stack A. However the focus 
isn’t completely on stack B—it doesn’t show the shadow property fully until you 
physically click on that stack. Also, while the focus seems to be on stack B, 
command/3 changes cards on stack A. But an arrowkey message is not received by 
stack A, but only by stack B.

I suspect something might have changed along the line in LC or my stacks, or 
both. This is not a pressing issue for me at this time, and I would rather let 
it stay in limbo land for now…

Peter



On Apr 6, 2017, at 8:43 AM, Richard Gaskin via use-livecode 
 wrote:

> Peter Bogdanoff wrote:
> 
> > I’m seeing this issue where going from stack “A” to stack “B” doesn’t
> > focus on stack “B”:
> >
> > script:
> > go card 1 of stack "A"
> > go card 1 of stack “B"
> >
> > goes to stack “B” but its titlebar is greyed out until you physically
> > click on stack “B.”
> >
> > This:
> > go card 1 of stack "A"
> > go card 1 of stack “B"
> > click at 100,100
> >
> > shows the signs of focus on stack “B” for just a moment, then loses
> > the focus.
> >
> > This in LC 8.1.3 but seeing it in earlier versions of 8 as well.
> 
> In v8.1.4rc1 I'm seeing the expected behavior in which each test has stack 
> "b" top-most and active.
> 
> Do you have any preOpen* or open* messages in play which may be altering 
> what's happening?
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> 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: Negative Numbers and NumberFormat

2017-04-06 Thread hh via use-livecode
You forgot to give examples for Bob's original problem?
The negative numbers ... ;-)

> Paul D. wrote:

>> put format("$%0.2f",tMoney) into msg
>> 
>> for tMoney = 5.55, you get $5.55
>> for tMoney = 5.3, you get $5.33
>> 
>> want a space between the $, then use
>> put format("$ %0.2f",tMoney) into msg
>> 
>> want a leading zero and minimum of 2 digits before the decimal point
>> put format("$ %05.2f",5.553) into msg

___
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: Negative Numbers and NumberFormat

2017-04-06 Thread Paul Dupuis via use-livecode
I am curious why folks use numberFormat vs the format function (which is
much more consistent and versatile). Is the issue the complexity of the
formatting strings for the format function?

put format("$%0.2f",tMoney) into msg

for tMoney = 5.55, you get $5.55
for tMoney = 5.3, you get $5.33

want a space between the $, then use
put format("$ %0.2f",tMoney) into msg

want a leading zero and minimum of 2 digits before the decimal point
put format("$ %05.2f",5.553) into msg

I concur with Richards comment from Mark - it just seems like a low
value and high risk work to change numberFormat at this point. I would
think people should consider it deprecated in favor of format.

___
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: Could not open module file

2017-04-06 Thread panagiotis merakos via use-livecode
Hi Bill,

Thank you for the update. We have to make this error more descriptive, to
indicate the specific widget that caused the problem.

Best,
Panos
--

On Thu, Apr 6, 2017 at 6:25 PM, William Prothero via use-livecode <
use-livecode@lists.runrev.com> wrote:

> My problem was that I had the Calendar widget installed. It is not in the
> correct format for current LC Versions.
> Bill
>
> > On Apr 6, 2017, at 7:48 AM, William Prothero via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > This is a project I haven’t worked on for awhile. LiveCode 9.0 produces
> the same error message. I’ve tried it when setting it to detect inclusions,
> but there is the same error.
> >
> > Is there any reason the error dialog couldn’t specify which module it
> can’t load? I am assuming it is wanting some widget? Or, for now, is there
> a way I can identify the module it is having trouble loading without
> tedious substitutions and thrashing around?
> >
> > My desperation move is to go back to an older version that will save,
> but I hate to lose work I’ve done since..
> >
> > Regards,
> > Bill
> >
> >> On Apr 5, 2017, at 10:11 PM, panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> Hi Bill,
> >> Just a shot in the dark: Does the stack contain a spinner widget from
> >> LiveCode 9.0 DP x? If yes, this will not compile in LiveCode 8.x.
> >>
> >> Best,
> >> Panos
> >>
> >> On 6 Apr 2017 02:35, "William Prothero via use-livecode" <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >> Building a stand-alone in LC 8.1.4 (RC1) on Mac OS 10.11.6.
> >>
> >> I get “Could not open module file”.
> >>
> >> This is a very un-helpful error message. What could it mean? I get it
> if I
> >> let LC find all inclusions. It would seem that the error message would
> be
> >> able to include the name of the module file?? Hmm...
> >>
> >> Bill
> >>
> >> William A. Prothero
> >> http://earthlearningsolution.org/
> >>
> >> ___
> >> 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
>
>
> ___
> 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: Could not open module file

2017-04-06 Thread William Prothero via use-livecode
My problem was that I had the Calendar widget installed. It is not in the 
correct format for current LC Versions.
Bill

> On Apr 6, 2017, at 7:48 AM, William Prothero via use-livecode 
>  wrote:
> 
> This is a project I haven’t worked on for awhile. LiveCode 9.0 produces the 
> same error message. I’ve tried it when setting it to detect inclusions, but 
> there is the same error.
> 
> Is there any reason the error dialog couldn’t specify which module it can’t 
> load? I am assuming it is wanting some widget? Or, for now, is there a way I 
> can identify the module it is having trouble loading without tedious 
> substitutions and thrashing around?
> 
> My desperation move is to go back to an older version that will save, but I 
> hate to lose work I’ve done since..
> 
> Regards,
> Bill
> 
>> On Apr 5, 2017, at 10:11 PM, panagiotis merakos via use-livecode 
>>  wrote:
>> 
>> Hi Bill,
>> Just a shot in the dark: Does the stack contain a spinner widget from
>> LiveCode 9.0 DP x? If yes, this will not compile in LiveCode 8.x.
>> 
>> Best,
>> Panos
>> 
>> On 6 Apr 2017 02:35, "William Prothero via use-livecode" <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> Building a stand-alone in LC 8.1.4 (RC1) on Mac OS 10.11.6.
>> 
>> I get “Could not open module file”.
>> 
>> This is a very un-helpful error message. What could it mean? I get it if I
>> let LC find all inclusions. It would seem that the error message would be
>> able to include the name of the module file?? Hmm...
>> 
>> Bill
>> 
>> William A. Prothero
>> http://earthlearningsolution.org/
>> 
>> ___
>> 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


___
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

html5 feature list anywhere? sqlite? local file access?

2017-04-06 Thread Dr. Hawkins via use-livecode
I am trying unsuccessfully to see what the feature list is for html5, and
what, if anything, has been omitted.

In particular, is SQLite still built in? (if not, I'd be dead in the water)

Can things be saved to local files, and read back from them?  (not much
point in creating a document that can't be saved, and need to get the
license key and other preferences).

ANd is the performance adequate for an application-sized project, as
opposed to app-sized?

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: Negative Numbers and NumberFormat

2017-04-06 Thread Bob Sneidar via use-livecode
I already have some functions for formatting numerical values I can submit for 
review. formatDate() is already in the masterLibrary.

function formatMoney theValue
   -- strip out monetary symbols
   replace "$" with empty in theValue
   replace "¢" with empty in theValue

   switch
  case theValue = 0 or theValue >= 1
 put format("$%1.2f", theValue) into theValue
 break
  case theValue >= 0
 put format("%#.2f¢", theValue) into theValue
 break
  case theValue <= -1
 replace "-" WITH empty in theValue
 put format("($%1.2f)", theValue) into theValue
 break
  case theValue < 0
 replace "-" WITH empty in theValue
 put format("(%#.2f¢)", theValue) into theValue
 break
   end switch

   return theValue
end formatMoney


function formatPhone thePhoneNumber, theFormat
   -- text
   -- mid
   if theFormat is empty then
  put "classic" into theFormat
   end if

   if thePhoneNumber is empty then
  return thePhoneNumber
   end if

   put word 2 to -1 of thePhoneNumber into theExtension
   delete word 2 to -1 of thePhoneNumber

   repeat WITH i = 1 to the number of chars of thePhoneNumber
  if char i of thePhoneNumber is a number then
 put char i of thePhoneNumber after theNewValue
  end if
   end repeat

   put the length of theNewValue into theLength
   if theLength is not among the items of "7,10" then
  return thePhoneNumber && theExtension
  exit formatPhone
   end if

   put "-" before char -4 of theNewValue

   if theLength is 10 then
  if theFormat is "classic" then
 put ") " after char 3 of theNewValue
 put "(" before theNewValue
  else
 put "-" after char 3 of theNewValue
  end if
   end if

   if theExtension is not empty then put " " & theExtension after theNewValue
   return theNewValue
end formatPhone



On Apr 6, 2017, at 08:35 , Richard Gaskin via use-livecode 
> wrote:

Perhaps this raises a more interesting question:

Should we consider creating a new more fully-featured function which not only 
behaves as we might find ideal for decimal values, but also supports formatting 
of phone numbers, currency, and other common display formats?

Maybe a pair of functions would be useful so we could easily transform between 
display and calculation formats, something like:

put formattedValue(".25", "currency-US") -- returns: $0.25
put rawValue("$0.25". "currency-US") -- returns: 0.25

Should there be some provision for doing that on a list where a column 
specifier could be supplied?:

put rawValue(tSomeLlist, "currency-US", 2) -- returns the list with
   values in column 2 converted to calculable formats.

This could be written in LC Script or LC Builder - might be a good community 
project

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

Re: Stack focus

2017-04-06 Thread Richard Gaskin via use-livecode

Peter Bogdanoff wrote:

> I’m seeing this issue where going from stack “A” to stack “B” doesn’t
> focus on stack “B”:
>
> script:
> go card 1 of stack "A"
> go card 1 of stack “B"
>
> goes to stack “B” but its titlebar is greyed out until you physically
> click on stack “B.”
>
> This:
> go card 1 of stack "A"
> go card 1 of stack “B"
> click at 100,100
>
> shows the signs of focus on stack “B” for just a moment, then loses
> the focus.
>
> This in LC 8.1.3 but seeing it in earlier versions of 8 as well.

In v8.1.4rc1 I'm seeing the expected behavior in which each test has 
stack "b" top-most and active.


Do you have any preOpen* or open* messages in play which may be altering 
what's happening?


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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: Negative Numbers and NumberFormat

2017-04-06 Thread Richard Gaskin via use-livecode

Paul Dupuis wrote:

> On 4/5/17 5:48 PM, Richard Gaskin via use-livecode wrote:
>>
>> Confirmed - running this script in v9dp6 and again all the way back
>> in v6.0:
>>
>> on mouseUp
>>set the numberformat to "###.###"
>>put 2.5 + 2.5 into x
>>set the numberformat to "000.000"
>>put 2.5 + 2.5 into y
>>put x & y
>> end mouseUp
>>
>> ...I get:
>>
>> 005.000
>> 005.000
>
> NumberFormat on applies when the number is output or forced to convert
> to a string (for example when doing string concatenation). The variant
> script below:
>
> on mouseUp
>set the numberformat to "###.###"
>put 2.5 + 2.5 into x
>put x & cr after msg
>set the numberformat to "000.000"
>put 2.5 + 2.5 into y
>put y  after msg
> end mouseUp
>
> results in:
>
> 005
> 005.000

D'oh!  Yes, of course, I'd forgotten to make sure the value is coerced 
to a string for each unique output. Good catch.


It still seems off though, on the left side of the decimal. I would have 
expected the first value to be "5", given that "#" provides a space only 
when needed.


The LC Dict only discusses the distinction between "#" and "0" for 
numbers on the right side of the decimal, so I turned to "HyperTalk 2.2: 
The Book" for further guidance - and found what appear to be 
contradicting examples.


Among the many examples listed on p.411 for the "numberFormat" property are:

 set the numberFormat to "#.000" - 0.25031 is displayed as .250
 set the numberFormat to "#.###" - 0.25031 is displayed as .25
 set the numberFormat to "#.000" - 0.25031 is displayed as 0.2503100
 set the numberFormat to "#.000" - 0.25031 is displayed as 0.25031

In each of those examples, what's happening on the right side of the 
decimal follows predictable rules.  But the left side seems 
inconsistent, in some cases using the "#" to force a leading 0 and in 
other cases not.


The relevant portion of the book's text for that entry says:

   The number of zeroes before the decimal point is the minimum number
   of integer digits to display.  HyperTalk always includes at least
   enough digits to specify the result of the calculation.  If there
   are more digits in the number than the numberFormat calls for,
   HyperTalk displays all the digits.  If there are fewer digits than
   the numberFormat calls for, HyperTalk adds leading zeroes to the
   beginning of the number.

There's further discussion of what happens after the decimal, but for 
what happens before the decimal only "0" is discussed, with no mention 
of what "#" should do when on the left side of the decimal.


The same omission is found (or more specifically, not found ) in the 
SuperTalk 3.0 Language Guide.


Unable to find clarity on that, I decided to try each of those HyperTalk 
examples above in LC - here's what I got:


 set the numberFormat to "#.000" - 0.25031 is displayed as 0.250
 set the numberFormat to "#.###" - 0.25031 is displayed as 0.25
 set the numberFormat to "#.000" - 0.25031 is displayed as 0.2503100
 set the numberFormat to "#.000" - 0.25031 is displayed as 0.25031


Summary:

HyperTalk: I have no idea what it's doing.

LiveCode:  Either "#" or "0" to the left of the decimal will result
   in padding with leading 0s.

LC is certainly more consistent, but is it what we'd expect or want?

As Mark Waddingham noted, the engine code for numberFormat has been 
unchanged in such a long time that, regardless of what *might* be 
"best", it's unlikely to change at this point out of concern for scripts 
dependent on its current behavior.


Perhaps this raises a more interesting question:

Should we consider creating a new more fully-featured function which not 
only behaves as we might find ideal for decimal values, but also 
supports formatting of phone numbers, currency, and other common display 
formats?


Maybe a pair of functions would be useful so we could easily transform 
between display and calculation formats, something like:


put formattedValue(".25", "currency-US") -- returns: $0.25
put rawValue("$0.25". "currency-US") -- returns: 0.25

Should there be some provision for doing that on a list where a column 
specifier could be supplied?:


put rawValue(tSomeLlist, "currency-US", 2) -- returns the list with
values in column 2 converted to calculable formats.

This could be written in LC Script or LC Builder - might be a good 
community project


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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: MDM and App deployment

2017-04-06 Thread JOHN PATTEN via use-livecode
Thanks Terry and Jacqueline,

The file/app is being served via our MDM which is using https.

Terry, you mention that the manifest file has to be perfect, do you happen to 
know what that would look like? I have never tweaked the manifest file that 
gets created automatically. 

I have been following Richard Miller’s challenges with getting his app into the 
regular app store so I know the info.plist file can be problematic, depending 
on what you are trying to do.  However, I’m not quite sure what a “perfect” 
plist file should look like. Someone else had mentioned being sure that I,…  
"Call all the links on the plist and html with https,” but I’m not sure what 
that means.  It was pulled from this this stackoverflow conversation, 
http://stackoverflow.com/questions/34820355/enterprise-app-installing-but-immediatelly-dissapears
 
,
 but I have  a hunch it is not the same problem as mine.

Let me know if I’ missing something in the plist file….


Thank you!




> On Apr 5, 2017, at 7:35 PM, Terry Judd via use-livecode 
>  wrote:
> 
> I missed the start of this thread so I might be off target but the app needs 
> to be server from a secure (https) server. If it isn’t and/or if your 
> manifest file isn’t perfect then you will get that sort of message as well.
> 
> Terry...
> 
> On 6/04/2017 12:18 pm, "use-livecode on behalf of J. Landman Gay via 
> use-livecode"  use-livecode@lists.runrev.com> wrote:
> 
>On 4/5/17 5:17 PM, JOHN PATTEN via use-livecode wrote:
>> A student iPad can see the app in their Self Service app, but when
>> they go to install it reports it can’t download at this time.
> 
>I don't know if things are different with an Enterprise account, but in 
>my experience an app that partially downloads and then errors indicates 
>something wrong with the distribution profile.
> 
>-- 
>Jacqueline Landman Gay | jac...@hyperactivesw.com
>HyperActive Software   | http://www.hyperactivesw.com
> 
> 
>___
>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: Negative Numbers and NumberFormat

2017-04-06 Thread Bob Sneidar via use-livecode
I've created a monster. All the more reason to depricate numberformat and go 
with some kind of formatNumber() function like Excel has. I'll have a go today 
sometime. 

Bob S


> On Apr 5, 2017, at 17:27 , Paul Dupuis via use-livecode 
>  wrote:
> 
> On 4/5/2017 7:42 PM, J. Landman Gay via use-livecode wrote:
>> On 4/5/17 5:48 PM, Richard Gaskin via use-livecode wrote:
>>> Jacque wrote:
>>> 
 HyperCard distinguished between "#" and "0" and produced different
 results. It sounds like LC doesn't?
>>> 
>>> Confirmed - running this script in v9dp6 and again all the way back in
>>> v6.0:
>>> 
>>> on mouseUp
>>>   set the numberformat to "###.###"
>>>   put 2.5 + 2.5 into x
>>>   set the numberformat to "000.000"
>>>   put 2.5 + 2.5 into y
>>>   put x & y
>>> end mouseUp
>>> 
>>> ...I get:
>>> 
>>> 005.000
>>> 005.000
> 
> NumberFormat on applies when the number is output or forced to convert
> to a string (for example when doing string concatenation). The variant
> script below:
> 
> on mouseUp
>   set the numberformat to "###.###"
>   put 2.5 + 2.5 into x
>   put x & cr after msg
>   set the numberformat to "000.000"
>   put 2.5 + 2.5 into y
>   put y  after msg
> end mouseUp
> 
> results in:
> 
> 005
> 005.000
> 
> In the message box. Just another data point for the discussion.
> 
> 
> 
> 
> ___
> 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: Could not open module file

2017-04-06 Thread William Prothero via use-livecode
This is a project I haven’t worked on for awhile. LiveCode 9.0 produces the 
same error message. I’ve tried it when setting it to detect inclusions, but 
there is the same error.

Is there any reason the error dialog couldn’t specify which module it can’t 
load? I am assuming it is wanting some widget? Or, for now, is there a way I 
can identify the module it is having trouble loading without tedious 
substitutions and thrashing around?

My desperation move is to go back to an older version that will save, but I 
hate to lose work I’ve done since..

Regards,
Bill

> On Apr 5, 2017, at 10:11 PM, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hi Bill,
> Just a shot in the dark: Does the stack contain a spinner widget from
> LiveCode 9.0 DP x? If yes, this will not compile in LiveCode 8.x.
> 
> Best,
> Panos
> 
> On 6 Apr 2017 02:35, "William Prothero via use-livecode" <
> use-livecode@lists.runrev.com> wrote:
> 
> Building a stand-alone in LC 8.1.4 (RC1) on Mac OS 10.11.6.
> 
> I get “Could not open module file”.
> 
> This is a very un-helpful error message. What could it mean? I get it if I
> let LC find all inclusions. It would seem that the error message would be
> able to include the name of the module file?? Hmm...
> 
> Bill
> 
> William A. Prothero
> http://earthlearningsolution.org/
> 
> ___
> 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: spotting a mouseclick in the transparent area of an image

2017-04-06 Thread Ben Rubinstein via use-livecode

Hi Paul,

Thanks for this - this was the perfect solution for my needs.

(I just modified the loading script to add three lines: grab the alphaData, 
replace numtobyte(0) with numtobyte(1), put it back...).


cheers,

Ben

On 03/04/2017 04:29, Paul Hibbert via use-livecode wrote:

Ben, if you could edit the PNGs to add a 1% tone to the transparent areas 
(maybe with a batch process) this allows LC to accept the clicks within the 
image area.

The advantage of this is you could have a 1 % tone inside the area you need be 
active and completely transparent where you don’t want clicks to be active for 
example a circular button. The 1% tone should be indistinguishable from the 
transparent area and will still show the background through.

Paul



On Mar 30, 2017, at 10:52 AM, Ben Rubinstein via use-livecode 
 wrote:

I have a group containing a grid of square images.

Some of the images are gifs, some are pngs, and some of the latter have an 
alpha channel with some transparent bits.

The images are all used as buttons, to control something else - the images in 
essence are labels or icons for the buttons. The images have 3d borders to make 
them look more button-like.

The problem is that the if the user happens to click in the transparent area of 
an image, the target of the mouseup isn't the image but the card. But the image 
is a button, so I want to catch mouseup anywhere in this square image.

I thought that I might be able to use 'the mousecontrol', when the target was 
the card, to find out which image the mouse was in when; but this too takes 
account of the transparency of the image.

I can see this is a really useful feature - but in this case I want the 
opposite! Is there a flag somewhere, or another easy way to achieve this?

The non-easy ways I'm aware of are:
- hide all the images and replace them with buttons referencing the 
images
- re-compositing the images to flatten the alpha channel
- iterating through all the images - there are many, in a scrolling 
group - testing for the mouseloc within the rect of each


Is there anything simpler than this, to treat an image as opaque for the 
purposes of hit-testing?

TIA

Ben


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

2017-04-06 Thread dunbarx via use-livecode
Certainly not as issue in v.6, where I languish. How about v.7?

Craig Newman



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Stack-focus-tp4713754p4713758.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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: Standalone Magnify Problem

2017-04-06 Thread hh via use-livecode
> Peter R. wrote:
> I have it working fine when I'm in the development environment
> but it's not working reliably in a standalone app. 

a) Did you already check to have the same paintcompression in both environments?
b) If you make such large images (why?) you may get a conflict with the 
8bit-coords
limit. May be the standalone engine has still more of such limits included for 
'formatted'-measurements than the IDE.
c) Did you already check to have the same resizequality in both environments?
("best" may create an alphachannel)
___
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