Re: Mac Standalone/Pkg Weirdness

2018-11-23 Thread Rick Harrison via use-livecode
Hi Jacqueline,

I used import image as control, so
it is embedded in the stack.

I’ve decided to use a work around of
making my own custom ask/answer
dialogs.

Thanks for asking.

Rick

> On Nov 23, 2018, at 5:00 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> On 11/21/18 11:25 AM, Rick Harrison via use-livecode wrote:
>> I have a Macintosh stack that I have set the
>> Application Icon and the Small Application Icon
>> to .png icons on a card.  They work fine in the IDE.
>> (MacBook Pro, macOS High Sierra, LC 9.0.1)
> ...
>> I copied the package to a USB Thumb-drive.  I then
>> plugged it into another older iMac running El-Capitan
>> to test it. The package installs the app just fine.
>> The app runs fine except that now the ask and answer
>> dialogs do not display the icons!
> 
> Do the images use referenced files or are they actually imported into the 
> stack? I've always used imported images.
> 
> 
> -- 
> 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

Re: Max number of columns in a datagrid?

2018-11-23 Thread Geoff Canyon via use-livecode
I don't remember what-all he did with it, but FileMaker proved to be
remarkably resilient pretty much no matter what he threw at it. The one
limitation back then was that a given file couldn't be more than 32MB(!).

On Fri, Nov 23, 2018 at 4:38 PM Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Geoff Canyon wrote:
>
>  > It's not relevant to the current discussion, but wy back when, I
>  > worked with a guy who had created some monster spreadsheets in Excel
>  > with something like 9,000 columns. It was working, but it was
>  > incredibly slow -- this was running on 68k Macs. Not expecting
>  > success, I suggested he give FileMaker a shot. He did, and amazingly,
>  > not only did it happily handle database definitions with 9,000 fields,
>  > it was not just faster than Excel, it was actually speedy. It had zero
>  > problems, and he built out the entirety of his solution that way.
>
> Did he create a layout in FileMaker with 9,000 fields?
>
> If he had I suspect it would expose the root of the issue as being not
> so much about internal handling of the data, but about rendering it all.
>
> One more reason to remember that spreadsheets are not databases.  Very
> different tools with very different feature focuses and tradeoffs.
>
> --
>   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: Max number of columns in a datagrid?

2018-11-23 Thread Richard Gaskin via use-livecode

Geoff Canyon wrote:

> It's not relevant to the current discussion, but wy back when, I
> worked with a guy who had created some monster spreadsheets in Excel
> with something like 9,000 columns. It was working, but it was
> incredibly slow -- this was running on 68k Macs. Not expecting
> success, I suggested he give FileMaker a shot. He did, and amazingly,
> not only did it happily handle database definitions with 9,000 fields,
> it was not just faster than Excel, it was actually speedy. It had zero
> problems, and he built out the entirety of his solution that way.

Did he create a layout in FileMaker with 9,000 fields?

If he had I suspect it would expose the root of the issue as being not 
so much about internal handling of the data, but about rendering it all.


One more reason to remember that spreadsheets are not databases.  Very 
different tools with very different feature focuses and tradeoffs.


--
 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: LiveCode Server syntax to call function in CGI folder

2018-11-23 Thread Keith Clarke via use-livecode
Thanks Matthias, '’ worked a treat. 

I was overthinking the security aspects and attempting to call the private CGI 
function from ‘across the divide’ in the public_html root rather than include 
the CGI files.

Clearly too much time spent with javascript, where included files are visible 
client-side in the browser (and its dev tools). Now I can see that the included 
LiveCode scripts stay server-side …and private!
 
Best,
Keith

> On 23 Nov 2018, at 20:37, Matthias Rebbe via use-livecode 
>  wrote:
> 
> Do you want to call an .lc file from outside the public_html file?
> If so then
> copy the .lc file  (lets say myscript.lc) to outside of the public_html, for 
> example to /home/custom_scripts.
> 
> Then in your .lc file in public_html use
> 
> include "home/custom_scripts/myscript.lc
> 
> to include the script myscript.lc into your main script.
> 
> Regards,
> 
> Matthias
> 
> 
> Matthias Rebbe
> 
> free tools for Livecoders:
> https://instamaker.dermattes.de
> https://winsignhelper.dermattes.de
> 
>> Am 23.11.2018 um 21:21 schrieb Keith Clarke via use-livecode 
>> :
>> 
>> Folks,
>> Can anyone please steer me to any docs explaining the (relative?) path 
>> syntax needed to traverse from a public file 'public_html/index.lc' to more 
>> private resources in 'public_html/CGI’ folder, to:
>> 1: Require CGI/myFile.lc?  
>> 2: Call myFunction() in CGI/myFile.lc?
>> 
>> The LC Server introductory lessons don’t seem to cover how to split 
>> public/private assets - unless I’m missing something?
>> 
>> Thanks in advance
>> Keith  
>> ___
>> 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 I check to see if an environment variable exists?

2018-11-23 Thread Stephen MacLean via use-livecode
Hi All,

Looking to see how I check to see if my standalone was launch via command line 
with a parameter?

I know that when it’s launched via command line with a parameter in windows, I 
will see a $0 (Name of executable) and $1 for the parameter.

Since this is a dual launch able app, double click and command line with 
parameter I have the following in the main stack:

on openStack

if exists($1) then

put $1 into pState

put "prod" into pMode

runBuildAndPush pState, pMode

end if

end openStack


However, the exists($1) never returns true, even when it should. Which leads to 
to believe that’s not what I want to use.

How would I test to see if the $1 variable exists?

TIA,

Steve MacLean



___
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: Mac Standalone/Pkg Weirdness

2018-11-23 Thread J. Landman Gay via use-livecode

On 11/21/18 11:25 AM, Rick Harrison via use-livecode wrote:

I have a Macintosh stack that I have set the
Application Icon and the Small Application Icon
to .png icons on a card.  They work fine in the IDE.
(MacBook Pro, macOS High Sierra, LC 9.0.1)

...


I copied the package to a USB Thumb-drive.  I then
plugged it into another older iMac running El-Capitan
to test it. The package installs the app just fine.
The app runs fine except that now the ask and answer
dialogs do not display the icons!


Do the images use referenced files or are they actually imported into 
the stack? I've always used imported images.



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


Re: Disable Notification Center

2018-11-23 Thread Ron Metzker via use-livecode
HI BR,

I do not know a way to turn off notifications from within the app. I only know 
how the user can do so.

The easy way to do it, is to go into the Settings app then go to Do Not Disturb 
and turn the button on. Then you can run the app without any interruptions. 
When you are done with the app, turn the Do Not Disturb button off. You can do 
this and still have a time set up when you won’t get any notifications.

Best Regards
Ron

> On Nov 23, 2018, at 11:23 AM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> I looked through all the mobile commands. I do not see way to turn on you top 
> pull down of the notification center on iOS.
> 
> I have a landscape game in Siva Siva app. iOS user complain that if they 
> touch top of the screen this get to notification center pull down / "sheet"
> 
> Is there a way to turn this offer temporarily? I ask this once before, if we 
> don't get answers again… Time for "enhancement" request to the QA center
> 
> 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: LiveCode Server syntax to call function in CGI folder

2018-11-23 Thread Matthias Rebbe via use-livecode
Do you want to call an .lc file from outside the public_html file?
If so then
copy the .lc file  (lets say myscript.lc) to outside of the public_html, for 
example to /home/custom_scripts.

Then in your .lc file in public_html use

include "home/custom_scripts/myscript.lc

to include the script myscript.lc into your main script.

Regards,

Matthias


Matthias Rebbe

free tools for Livecoders:
https://instamaker.dermattes.de
https://winsignhelper.dermattes.de

> Am 23.11.2018 um 21:21 schrieb Keith Clarke via use-livecode 
> :
> 
> Folks,
> Can anyone please steer me to any docs explaining the (relative?) path syntax 
> needed to traverse from a public file 'public_html/index.lc' to more private 
> resources in 'public_html/CGI’ folder, to:
> 1: Require CGI/myFile.lc?  
> 2: Call myFunction() in CGI/myFile.lc?
> 
> The LC Server introductory lessons don’t seem to cover how to split 
> public/private assets - unless I’m missing something?
> 
> Thanks in advance
> Keith  
> ___
> 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

LiveCode Server syntax to call function in CGI folder

2018-11-23 Thread Keith Clarke via use-livecode
Folks,
Can anyone please steer me to any docs explaining the (relative?) path syntax 
needed to traverse from a public file 'public_html/index.lc' to more private 
resources in 'public_html/CGI’ folder, to:
1: Require CGI/myFile.lc?  
2: Call myFunction() in CGI/myFile.lc?

The LC Server introductory lessons don’t seem to cover how to split 
public/private assets - unless I’m missing something?

Thanks in advance
Keith  
___
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 diagnose browser widget JS handlers failing silently?

2018-11-23 Thread Keith Clarke via use-livecode
Thanks for the response, Herman.

In the error state I’m getting, the LC JShandler script parameters are empty 
and so far, I’m having no luck with getting toString(); to stringify javascript 
objects such that LC doesn’t fail silently.

Indeed, your test scripts fail in my situation - so I’m going to have to create 
a simpler test-bed.
Best,
Keith

> On 14 Nov 2018, at 16:34, hh via use-livecode  
> wrote:
> 
> You can use the params to see what arrives.
> 
> Most probably you didn't convert the parameters of the handler
> in the JavaScript to arrays or strings.
> 
> LiveCode expects strings or arrays as params of javaScriptHandlers.
> 
> So "combine" on the LC side and/or ".toString()" on the JS side are
> your friends.
> 
> Example test:
> 
> -- script of the widget (or above it in the message path)
> on JS u,v,w -- a javaScriptHandler of widget "browser"
>  if u is an array then combine u with ":"
>  put u & cr & v & cr & w
> end JS
> 
> on mouseUp
>  do "var x=[1,2,3], y='hello'; " & \
>"liveCode.JS(x, y, x.toString())" in widget "browser"
> end mouseUp
> 
> 
> 
> ___
> 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

Disable Notification Center

2018-11-23 Thread Sannyasin Brahmanathaswami via use-livecode
I looked through all the mobile commands. I do not see way to turn on you top 
pull down of the notification center on iOS.

I have a landscape game in Siva Siva app. iOS user complain that if they touch 
top of the screen this get to notification center pull down / "sheet"

Is there a way to turn this offer temporarily? I ask this once before, if we 
don't get answers again… Time for "enhancement" request to the QA center

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: Max number of columns in a datagrid?

2018-11-23 Thread JJS via use-livecode

well it's incredible big!

Yes Excell and outlook too can being very slow, on my job i have a 
laptop from this year(lenovo) and it's running office 360, it's terrible 
slow. But...it could also be due to the rest of the shitty software we 
have to use like Labware(that's really crying and a pain in the *ss). 
But thay say on calculations that Excell is the top.


Anyway hope you get it figured out.

On 22-11-18 22:36, Geoff Canyon via use-livecode wrote:

It's not relevant to the current discussion, but wy back when, I worked
with a guy who had created some monster spreadsheets in Excel with
something like 9,000 columns. It was working, but it was incredibly slow --
this was running on 68k Macs. Not expecting success, I suggested he give
FileMaker a shot. He did, and amazingly, not only did it happily handle
database definitions with 9,000 fields, it was not just faster than Excel,
it was actually speedy. It had zero problems, and he built out the entirety
of his solution that way.

On Thu, Nov 22, 2018 at 1:05 PM JJS via use-livecode <
use-livecode@lists.runrev.com> wrote:


you mean like this one:


https://www.legamaster.com/products/product/interactive-products/e-screen-interactive-touch-monitors/ptx-9800uhd-e-screen-8713797081610/?no_cache=1=158c87c7f0527df039ce11bc76eae9ab


But who can cope with 1500 columns, most people would stop and lost
track before reaching the 50th

What kind of data is that?


Op 21-11-2018 om 22:39 schreef dunbarxx via use-livecode:

People with wide monitors?



--
Sent from:

http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.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


___
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: OT: iOS Policies

2018-11-23 Thread Colin Holgate via use-livecode
We just got an app removed from Google Play because the metadata included 
references to other works. That’s 6 years after the app was approved for the 
store. It’s not just Apple that do these things. Here’s the Google article on 
what will lead to a rejection:

https://play.google.com/about/storelisting-promotional/metadata/
___
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