Re: Email via IMAP with HTML body from a template

2022-08-10 Thread Charles Warwick via use-livecode
Hi Sean,

There is a sample stack on my website for sending an e-mail with an attachment 
using the MIME library here:

https://downloads.techstrategies.com.au/tsnet/smtpexample.livecode

Does that help at all,

Regards,

Charles

> On 11 Aug 2022, at 2:39 pm, Tom Glod via use-livecode 
>  wrote:
> 
> Sean,
> 
> Try this ..
> 
> edit the script of stack "com.livecode.library.mime"
> 
> there seems to be some documentation there that may help.
> 
> I also found this
> 
> https://livecode.fandom.com/wiki/MimeEncodeAsMIMEMultipartDocument
> 
> Is that your comment? :)
> 
> Hope that helps a bit.
> 
> 
> 
>> On Wed, Aug 10, 2022 at 11:46 PM Sean Cole via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> Hi all,
>> I'm struggling with this still. It's been years (since before Dec 2020) and
>> I just can't get my head around it.
>> I have a template created in Dreamweaver that is a simple bit of HTML body
>> with CSS styling embedded (https://pidigital.co.uk/DeepDiveReport.html).
>> There is also a pdf that needs to be attached.
>> How do I use MimeEncodeAsMIMEMultipartDocument to make it ready to send via
>> tsNetSmtpSync?
>> There are zero tutorials and the dictionary is devoid of any useful
>> information on how to use it. Google turned up nothing. In my previous
>> request back in 2020, Monte, the author of the MIME library, had only
>> referred me on to the RSC docs for MIME which is like looking for a straw
>> in a needle stack. When I asked at one of the 'Firesides' I was told just
>> to use a template and send it. But to send it, it needs to be encoded and
>> that's the bit that is undocumented anywhere.
>> Any help appreciated.
>> ___
>> 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: Email via IMAP with HTML body from a template

2022-08-10 Thread Sean Cole via use-livecode
Hi Tom,

The doc in the script is the same that comes up in the dictionary. No help
when it comes to actually following a series of instructions that are
needed to send an HTML email via tsNetSmtpSync. Basically, it only tells
you the syntax, but with no help on even a few of the necessary parameters
you would need to use to make proper use of it. It's like being handed the
space shuttle and told "there you are, work it out for yourself"!

That is my comment on Fandom. The same I asked of Monte. Neither he nor
anyone else wants to answer those questions it would seem.

pContentA: How do we pre-encode parts including headers?
pMultipartType: What MultiPart types are there?
pParamA: What kind of parameters does ParamA take?

The formatting we get from converting a field to mime
(MimeEncodeFieldAsMimeMultipartDocument - a ridiculously long command name
btw) is horrendous. It's practically unusable, hence why I NEED to find a
way to send HTML by email on behalf of our clients.

On Thu, 11 Aug 2022 at 05:38, Tom Glod via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Sean,
>
> Try this ..
>
> edit the script of stack "com.livecode.library.mime"
>
> there seems to be some documentation there that may help.
>
> I also found this
>
> https://livecode.fandom.com/wiki/MimeEncodeAsMIMEMultipartDocument
>
> Is that your comment? :)
>
> Hope that helps a bit.
>
>
>
> On Wed, Aug 10, 2022 at 11:46 PM Sean Cole via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Hi all,
> >
> > I'm struggling with this still. It's been years (since before Dec 2020)
> and
> > I just can't get my head around it.
> >
> > I have a template created in Dreamweaver that is a simple bit of HTML
> body
> > with CSS styling embedded (https://pidigital.co.uk/DeepDiveReport.html).
> > There is also a pdf that needs to be attached.
> >
> > How do I use MimeEncodeAsMIMEMultipartDocument to make it ready to send
> via
> > tsNetSmtpSync?
> >
> > There are zero tutorials and the dictionary is devoid of any useful
> > information on how to use it. Google turned up nothing. In my previous
> > request back in 2020, Monte, the author of the MIME library, had only
> > referred me on to the RSC docs for MIME which is like looking for a straw
> > in a needle stack. When I asked at one of the 'Firesides' I was told just
> > to use a template and send it. But to send it, it needs to be encoded and
> > that's the bit that is undocumented anywhere.
> >
> > Any help appreciated.
> > ___
> > 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: Email via IMAP with HTML body from a template

2022-08-10 Thread Tom Glod via use-livecode
Sean,

Try this ..

edit the script of stack "com.livecode.library.mime"

there seems to be some documentation there that may help.

I also found this

https://livecode.fandom.com/wiki/MimeEncodeAsMIMEMultipartDocument

Is that your comment? :)

Hope that helps a bit.



On Wed, Aug 10, 2022 at 11:46 PM Sean Cole via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi all,
>
> I'm struggling with this still. It's been years (since before Dec 2020) and
> I just can't get my head around it.
>
> I have a template created in Dreamweaver that is a simple bit of HTML body
> with CSS styling embedded (https://pidigital.co.uk/DeepDiveReport.html).
> There is also a pdf that needs to be attached.
>
> How do I use MimeEncodeAsMIMEMultipartDocument to make it ready to send via
> tsNetSmtpSync?
>
> There are zero tutorials and the dictionary is devoid of any useful
> information on how to use it. Google turned up nothing. In my previous
> request back in 2020, Monte, the author of the MIME library, had only
> referred me on to the RSC docs for MIME which is like looking for a straw
> in a needle stack. When I asked at one of the 'Firesides' I was told just
> to use a template and send it. But to send it, it needs to be encoded and
> that's the bit that is undocumented anywhere.
>
> Any help appreciated.
> ___
> 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


Email via IMAP with HTML body from a template

2022-08-10 Thread Sean Cole via use-livecode
Hi all,

I'm struggling with this still. It's been years (since before Dec 2020) and
I just can't get my head around it.

I have a template created in Dreamweaver that is a simple bit of HTML body
with CSS styling embedded (https://pidigital.co.uk/DeepDiveReport.html).
There is also a pdf that needs to be attached.

How do I use MimeEncodeAsMIMEMultipartDocument to make it ready to send via
tsNetSmtpSync?

There are zero tutorials and the dictionary is devoid of any useful
information on how to use it. Google turned up nothing. In my previous
request back in 2020, Monte, the author of the MIME library, had only
referred me on to the RSC docs for MIME which is like looking for a straw
in a needle stack. When I asked at one of the 'Firesides' I was told just
to use a template and send it. But to send it, it needs to be encoded and
that's the bit that is undocumented anywhere.

Any help appreciated.
___
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: Datagrid internal error

2022-08-10 Thread Paul Dupuis via use-livecode

On 8/10/2022 5:02 PM, Trevor DeVore via use-livecode wrote:

32,767 is the max for width as well. If there are enough columns it is
possible that the DataGrid is rendering a group that exceeds this limit and
hence the error. The DataGrid works around the limit when rendering rows,
but not when rendering columns.

I suppose a quick test would be to create a DataGrid with 330 columns that
are at least 100 pixels wide and see if you get the same error.



Thank you!


___
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: Datagrid internal error

2022-08-10 Thread Paul Dupuis via use-livecode
I do appreciate the responses. My question was not about the number of 
records, but about the number of COLUMNS and whether there is any 
practical or known limit.


When my code is setting the column names, that list comes from customer 
entered data. I know that each name is less than 255 characters and 
restricts entry of certain characters (previously listed) such as comma, 
[ ], etc. How many names is unknown.


In this specific case of the error I reported, the customer is not in a 
position to be able to help much (if at all). Since it is customer data 
dependent, we are not able to reproduce the error in the IDE. SO my very 
specific questions was: Has any one seen an error like the one I 
reported (copied again below) OR know of any issues/limits when setting 
the dgProp["columns"] property of a Datagrid?


A customer encountered the following execution error (below) in our app 
(built on Livecode 9.6.7, MacOS 12.5). This error is occurring in the 
scripts for the Datagrid itself, rather than our code. At the end, it is 
one of our handler, "populateMe", where line 139 is where the error starts.


Line 139 set the dgProp["columns"] of grp "rwMatrixObj_DataGrid" to 
tColumnNames


tColumnNames is a variable containing a list of text lines that are 
customer entered column names, so they could be ANYTHING (up to 255 
chars, no control characters, including DEL (127)) that a user could 
type or paste into a field, including words in any language using Unicode.


As the executionContexts data does not contain the actual values of the 
variable tColumnNames when the error occurs, does ANYONE have any idea 
what tColumnNames might contain that could produce the error(s) show below?


Technical information:
Property: value is not a number: (Line 11, column 1)
Object: can't set object property: (Line 11, column 5)
set: can't set property: (Line 11, column 1)
Handler: error in statement: LayoutControl (Line 11, column 1)
Object ID: stack "RevDataGridLibraryBehaviorsDefaultHeaderButtonBehavior"
-
repeat: error in statement: (Line 5066, column 1)
Handler: error in statement: _table.ResizeHeaders (Line 5052, column 1)
Object ID: stack "RevDataGridLibraryBehaviorsDataGridButtonBehavior"
-
Handler: error in statement: _table.ResizeColumns (Line 4967, column 1)
Object ID: stack "RevDataGridLibraryBehaviorsDataGridButtonBehavior"
-
Handler: error in statement: _table.CreateColumns (Line 4737, column 1)
Object ID: stack "RevDataGridLibraryBehaviorsDataGridButtonBehavior"
-
Handler: error in statement: _table.RegenerateColumns (Line 4538, column 1)
Object ID: stack "RevDataGridLibraryBehaviorsDataGridButtonBehavior"
-
switch: error in statement: (Line 6150, column 1)
Handler: error in statement: dgProps (Line 5553, column 1)
Object ID: stack "RevDataGridLibraryBehaviorsDataGridButtonBehavior"
-
set: can't set property: (Line 5529, column 1)
Handler: error in statement: dgProp (Line 5529, column 1)
Object ID: stack "RevDataGridLibraryBehaviorsDataGridButtonBehavior"
-
set: can't set property: (Line 139, column 1)
if-then: error in statement: (Line 139, column 1)
Handler: error in statement: populateMe (Line 138, column 1)
Object: group "Table" of card "FrequencyReport" of stack "FreqReport.rwtl"
Object ID: group id 1162 of card id 1002 of stack 
"/Applications/HyperRESEARCH 4.5.4/Components/Tools/FreqReport.rwtl"



___
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: Datagrid internal error

2022-08-10 Thread Trevor DeVore via use-livecode
32,767 is the max for width as well. If there are enough columns it is
possible that the DataGrid is rendering a group that exceeds this limit and
hence the error. The DataGrid works around the limit when rendering rows,
but not when rendering columns.

I suppose a quick test would be to create a DataGrid with 330 columns that
are at least 100 pixels wide and see if you get the same error.

-- 
Trevor DeVore
ScreenSteps

On Mon, Aug 8, 2022 at 12:36 PM Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Paul,
>
> The max height of a field is 32,767 pixels. This can be hard to quantify
> especially on mobile with the cornucopia of screen resolutions. I would
> imagine that this limit also applies to groups as well. I got bit on this
> when the app worked in the IDE but failed on some devices.
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
> Behalf
> Of Paul Dupuis via use-livecode
> Sent: Monday, August 08, 2022 12:39 PM
> To: use-livecode@lists.runrev.com
> Cc: Paul Dupuis
> Subject: Re: Datagrid internal error
>
> On 8/8/2022 12:26 PM, Paul Dupuis via use-livecode wrote:
> > A customer encountered the following execution error (below) in our
> > app (built on Livecode 9.6.7, MacOS 12.5). This error is occurring in
> > the scrips for the Datagrid itself, rather than our code. At the end,
> > it is one of our handler, "populateMe", where line 139 is where the
> > error starts.
> > Line 139 set the dgProp["columns"] of grp "rwMatrixObj_DataGrid" to
> > tColumnNames
> >
>
> For example, some information from the customer suggest they are working
> with a VERY large dataset, so the length of the list in TColumnNames could
> be quit long - perhaps hundreds of lines. Is there a practical limit on the
> number of columns a Datagrid can be set to?
>
>
> ___
> 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: Windows standalone settings

2022-08-10 Thread Bob Sneidar via use-livecode
I do only because I have a special case where I grabbled a 32 bit windows PC to 
serve mySQL and Spiceworks, and to host my SQL Socket Agent. 

Bob S


> On Aug 10, 2022, at 13:14 , J. Landman Gay via use-livecode 
>  wrote:
> 
> Does anyone still build for Windows x86 or is x86-64 sufficient now?
> 
> Also, what UAC execution level do you set? Default, highest avialable, etc.?
> 
> -- 
> 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: Datagrid internal error

2022-08-10 Thread Craig Newman via use-livecode
Paul.

All I saw was this:

"I believe there is a property you set, after which you programmatically 
control the population of the datagrid. I am in a hurry so I can't look it up 
right now, but it is in the datagrid API in livecode lessons. 

Which is why I mentioned that the bulk of the thread must not have come to me.

Craig
___
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: Datagrid internal error

2022-08-10 Thread Bob Sneidar via use-livecode
Well the question came up if there was some limit on the number of records, and 
controlling the population of the datagrid would solve that. As far as the 
number of columns, I suspect there may be a limit on the number of *displayed* 
columns, and probably an issue with what characters are allowed for column 
names. Those things I am unsure of. 

Is it necessary to display *all* the data in the array, or can you use the 
datagrid as a sort of index to an array that is in memory, only populating the 
columns you need? 

The datagrid library is not protected, so if your app in the IDE throws an 
error and drops you into the datagrid library script in the debugger (mine 
does), then you can poke around in the debugger to see where things are going 
awry. 

Bob S


> On Aug 10, 2022, at 13:27 , Paul Dupuis via use-livecode 
>  wrote:
> 
> I'm sorry, I don;t see what setting the dgData or dgText or dgNuberofRecords 
> has to do with my original post - I get an internal Datagird script error 
> when setting the names of the columns (see original post)


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


Re: [ANN] Release 9.6.9 RC-1

2022-08-10 Thread Mark Talluto via use-livecode


> On Aug 10, 2022, at 9:11 AM, panagiotis merakos via use-livecode 
>  wrote:
> 
> Dear list members,
> 
> We are pleased to announce the release of LiveCode 9.6.9 RC-1.
> 
> LiveCode 9.6.9 RC-1 comes with more than 30 bugfixes, including support for
> Android API 31, which is now a requirement for submitting new apps to the
> Google Play Store.
> 
> You can find more details on the bug fixes and improvements of this new
> release here:
> 
> https://livecode.com/android-api-31-support/
> 
> Note: This maintenance pre-release will break from convention slightly in
> that there will definitely be an RC-2 with further bug fixes. This RC-1
> release is being made due to the change in API level requirement for the
> Play Store recently made by Google.
> 
> You can find the release in your LiveCode account area or get it via the
> automatic updater.
> 
> Enjoy!
> 
> Kind regards
> The LiveCode Team


Thank you for this update.


Best regards,
Mark Talluto


appli.io 
livecloud.io 
nursenotes.net 
canelasoftware.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: Datagrid internal error

2022-08-10 Thread Paul Dupuis via use-livecode
I'm sorry, I don;t see what setting the dgData or dgText or 
dgNuberofRecords has to do with my original post - I get an internal 
Datagird script error when setting the names of the columns (see 
original post)


On 8/10/2022 11:11 AM, Bob Sneidar via use-livecode wrote:

I was referring to dgNumberOfRecords

• get the dgNumberOfRecords
• set the dgNumberOfRecords of group "DataGrid" to 20
• Getting the dgNumberOfRecords is the same as getting the 
dgNumberOfLines. Setting the dgNumberOfRecords has a special significance 
however. If you set the dgNumberOfRecords then you are telling the data grid 
that you know how many total records there are and you are going to supply the 
data for each record on an as-needed basis. This is useful when you have data 
in a database cursor that you would like to feed into the data grid.
After setting this property the data grid will send the GetDataForLine message 
to the data grid whenever it needs to display data for a particular line. You 
can define this command in the data grid script or elsewhere in the hierarchy. 
The definition is as follows:

command GetDataForLine pLine, @pDataA
   
end GetDataForLine


You should fill pDataA with the appropriate data based on the line of data 
being requested. pDataA should not have a numeric index. It is the array that 
would be assigned to one of the numeric indexes if you were assigning the 
dgData property.

Bob S



On Aug 10, 2022, at 06:51 , Craig Newman via use-livecode 
 wrote:

This seems like a fragment of a longer thread, but the “dgText” and the 
“dgData” are the two methods I use to extract, process and reload the content 
of a data grid.

Craig


On Aug 9, 2022, at 11:09 AM, Bob Sneidar via use-livecode 
 wrote:

I believe there is a property you set, after which you programmatically control 
the population of the datagrid. I am in a hurry so I can't look it up right 
now, but it is in the datagrid API in livecode lessons.

Bob S



On Aug 9, 2022, at 05:09 , Paul Dupuis via use-livecode 
 wrote:

I can only image that the customer entered a name with some characters that 
Datagrid has a problem with as a column name OR that the shear number of 
columns (as the customer is working with a very large dataset) exceeds some 
practical Datagrid limit, but what would that be?


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


___
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: Windows standalone settings

2022-08-10 Thread Paul Dupuis via use-livecode

On 8/10/2022 4:14 PM, J. Landman Gay via use-livecode wrote:

Does anyone still build for Windows x86 or is x86-64 sufficient now?

Also, what UAC execution level do you set? Default, highest avialable, 
etc.?




I still build for 32 bit windows as it still works and is the lowest 
common denominator - it works on all windows systems. I leave the UAC at 
Default for our apps but Admin for our Installer (built in Livecode like 
our apps)


___
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


Windows standalone settings

2022-08-10 Thread J. Landman Gay via use-livecode

Does anyone still build for Windows x86 or is x86-64 sufficient now?

Also, what UAC execution level do you set? Default, highest avialable, etc.?

--
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: Getting the visible rect of a stack with fullscreenmode "showall"

2022-08-10 Thread Brian Milby via use-livecode
The handler you probably need to look at is in card 1002 (index) called 
setBackground (line 104).  The effective working screenrect is going to report 
device pixels.  To actually know the relative rect from the card’s perspective 
you have to translate to the card coordinates.  I may not have used the most 
efficient method, but you should be able to follow it.

Thanks,
Brian

Sent from my iPhone

> On Aug 10, 2022, at 12:08 PM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Bob,
> 
>> Am 10.08.2022 um 18:04 schrieb Bob Sneidar via use-livecode 
>> :
>> 
>> Wait, there is a more effectiver working screenrect than the effective one?? 
>> ;-P
> 
> yes, but it is R-rated! 8-)
> 
>> Bob S
>> 
 On Aug 10, 2022, at 08:44 , Klaus major-k via use-livecode 
  wrote:
>>> ah, yes, "the effectiver working screenrect"! 8-)
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
> 
> 
> ___
> 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: iPhone simulators

2022-08-10 Thread Klaus major-k via use-livecode
Hi Jaques,

> Am 10.08.2022 um 19:23 schrieb J. Landman Gay via use-livecode 
> :
> 
> If I remember right you can have an iPhone and an iPad simulator open at the 
> same time and choose between them, but if you want two of the same type then 
> it doesn't work.

yep, came to the same conclusion.
A good candidate for an "enhancement request". :-)

> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On August 10, 2022 11:39:54 AM Klaus major-k via use-livecode
>> 
>> Does not seem possible in the moment...
>> Looks like only the first opened simulator is being addressed by LC.

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


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

2022-08-10 Thread J. Landman Gay via use-livecode
If I remember right you can have an iPhone and an iPad simulator open at 
the same time and choose between them, but if you want two of the same type 
then it doesn't work.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 10, 2022 11:39:54 AM Klaus major-k via use-livecode


Does not seem possible in the moment...
Looks like only the first opened simulator is being addressed by LC.




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


Re: iPhone simulators

2022-08-10 Thread Klaus major-k via use-livecode
Hi Panos,

> Am 10.08.2022 um 18:28 schrieb panagiotis m via use-livecode 
> :
> 
> Hello Klaus,
> 
> The suggested approach is to make sure the desired simulator device is
> already up and running. And then, in the Test Target menu, choose "iPhone
> Simulator 15.2" or ""iPad Simulator 15.2", and click Test.
> 
> PS: To change a device, click on the Simulator app menu Hardware -> Device
> -> iPhone X.Y etc

yes, I know this, that was not my question.

Supposed I opened two iPhone simulators (macOS 12.5, Xcode 13.2.1) in the 
simulator app,
in the LC menu there is only ONE entry named "iPhone Simulator 15.2".

My question is if we can test the app in one of the two simulators directly?
Means can we specifically address one of the open simulators?

Does not seem possible in the moment...
Looks like only the first opened simulator is being addressed by LC.

> Note this might be slightly different depending on the version of your
> Simulator app, which depends on the Xcode version, which depends on your
> MacOS version :)

Go figure!? 8-)

> Cheers,
> Panos
> 
> On Wed, 10 Aug 2022 at 19:08, Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hi all,
>> 
>> we can open several different iPhone and iPad simulators on the Mac via
>> Xcode.
>> 
>> However in the "Test Target" menu of LC we only see one generic "iPhone
>> Simulator 15.2" resp. "iPad Simulator 15.2".
>> 
>> Is there a way to select one of the open simulators directly?
>> Know what I mean? Thanks in advance!

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


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

2022-08-10 Thread panagiotis m via use-livecode
Hello Klaus,

The suggested approach is to make sure the desired simulator device is
already up and running. And then, in the Test Target menu, choose "iPhone
Simulator 15.2" or ""iPad Simulator 15.2", and click Test.

PS: To change a device, click on the Simulator app menu Hardware -> Device
-> iPhone X.Y etc

Note this might be slightly different depending on the version of your
Simulator app, which depends on the Xcode version, which depends on your
MacOS version :)

Cheers,
Panos

On Wed, 10 Aug 2022 at 19:08, Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi all,
>
> we can open several different iPhone and iPad simulators on the Mac via
> Xcode.
>
> However in the "Test Target" menu of LC we only see one generic "iPhone
> Simulator 15.2"
> resp. "iPad Simulator 15.2".
>
> Is there a way to select one of the open simulators directly?
> Know what I mean? Thanks in advance!
>
>
> Best
>
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
>
> ___
> 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


[ANN] Release 9.6.9 RC-1

2022-08-10 Thread panagiotis merakos via use-livecode
Dear list members,

We are pleased to announce the release of LiveCode 9.6.9 RC-1.

LiveCode 9.6.9 RC-1 comes with more than 30 bugfixes, including support for
Android API 31, which is now a requirement for submitting new apps to the
Google Play Store.

You can find more details on the bug fixes and improvements of this new
release here:

https://livecode.com/android-api-31-support/

Note: This maintenance pre-release will break from convention slightly in
that there will definitely be an RC-2 with further bug fixes. This RC-1
release is being made due to the change in API level requirement for the
Play Store recently made by Google.

You can find the release in your LiveCode account area or get it via the
automatic updater.

Enjoy!

Kind regards
The LiveCode Team

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


Re: Getting the visible rect of a stack with fullscreenmode "showall"

2022-08-10 Thread Klaus major-k via use-livecode
Hi Bob,

> Am 10.08.2022 um 18:04 schrieb Bob Sneidar via use-livecode 
> :
> 
> Wait, there is a more effectiver working screenrect than the effective one?? 
> ;-P

yes, but it is R-rated! 8-)

> Bob S
> 
>> On Aug 10, 2022, at 08:44 , Klaus major-k via use-livecode 
>>  wrote:
>> ah, yes, "the effectiver working screenrect"! 8-)

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
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


iPhone simulators

2022-08-10 Thread Klaus major-k via use-livecode
Hi all,

we can open several different iPhone and iPad simulators on the Mac via Xcode.

However in the "Test Target" menu of LC we only see one generic "iPhone 
Simulator 15.2"
resp. "iPad Simulator 15.2".

Is there a way to select one of the open simulators directly?
Know what I mean? Thanks in advance!


Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


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


Re: Getting the visible rect of a stack with fullscreenmode "showall"

2022-08-10 Thread Bob Sneidar via use-livecode
Wait, there is a more effectiver working screenrect than the effective one?? ;-P

Bob S


> On Aug 10, 2022, at 08:44 , Klaus major-k via use-livecode 
>  wrote:
> 
> ah, yes, "the effectiver working screenrect"! 8-)


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


Re: Getting the visible rect of a stack with fullscreenmode "showall"

2022-08-10 Thread Klaus major-k via use-livecode
Hi Brian,

> Am 10.08.2022 um 17:35 schrieb Brian Milby via use-livecode 
> :
> 
> Check out this repository:
> https://github.com/bwmilby/mobileDemo
> 
> It has logging that shows various rects when changing modes.  I can look 
> later to try to give a more concise answer.

ah, yes, "the effectiver working screenrect"! 8-)

Will take a deeper look at your stack later, thanks!

> Thanks,
> Brian

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


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


Re: Getting the visible rect of a stack with fullscreenmode "showall"

2022-08-10 Thread Brian Milby via use-livecode
Check out this repository:
https://github.com/bwmilby/mobileDemo

It has logging that shows various rects when changing modes.  I can look later 
to try to give a more concise answer.

Thanks,
Brian

Sent from my iPhone

> On Aug 10, 2022, at 11:00 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi all,
> 
> the subject says it all...
> 
> How can we get the the visible rect of a stack running
> on mobile with fullscreenmode "showall"?
> Know what I mean?
> 
> Thank you for any hint!
> 
> 
> Best
> 
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
> 
> 
> ___
> 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: Datagrid internal error

2022-08-10 Thread Bob Sneidar via use-livecode
I was referring to dgNumberOfRecords

• get the dgNumberOfRecords
• set the dgNumberOfRecords of group "DataGrid" to 20
• Getting the dgNumberOfRecords is the same as getting the 
dgNumberOfLines. Setting the dgNumberOfRecords has a special significance 
however. If you set the dgNumberOfRecords then you are telling the data grid 
that you know how many total records there are and you are going to supply the 
data for each record on an as-needed basis. This is useful when you have data 
in a database cursor that you would like to feed into the data grid.
After setting this property the data grid will send the GetDataForLine message 
to the data grid whenever it needs to display data for a particular line. You 
can define this command in the data grid script or elsewhere in the hierarchy. 
The definition is as follows:

command GetDataForLine pLine, @pDataA
  
end GetDataForLine

You should fill pDataA with the appropriate data based on the line of data 
being requested. pDataA should not have a numeric index. It is the array that 
would be assigned to one of the numeric indexes if you were assigning the 
dgData property.

Bob S


> On Aug 10, 2022, at 06:51 , Craig Newman via use-livecode 
>  wrote:
> 
> This seems like a fragment of a longer thread, but the “dgText” and the 
> “dgData” are the two methods I use to extract, process and reload the content 
> of a data grid.
> 
> Craig
> 
>> On Aug 9, 2022, at 11:09 AM, Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> I believe there is a property you set, after which you programmatically 
>> control the population of the datagrid. I am in a hurry so I can't look it 
>> up right now, but it is in the datagrid API in livecode lessons. 
>> 
>> Bob S
>> 
>> 
>>> On Aug 9, 2022, at 05:09 , Paul Dupuis via use-livecode 
>>>  wrote:
>>> 
>>> I can only image that the customer entered a name with some characters that 
>>> Datagrid has a problem with as a column name OR that the shear number of 
>>> columns (as the customer is working with a very large dataset) exceeds some 
>>> practical Datagrid limit, but what would that be?
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Getting the visible rect of a stack with fullscreenmode "showall"

2022-08-10 Thread Klaus major-k via use-livecode
Hi all,

the subject says it all...

How can we get the the visible rect of a stack running
on mobile with fullscreenmode "showall"?
Know what I mean?

Thank you for any hint!


Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
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: Datagrid internal error

2022-08-10 Thread Craig Newman via use-livecode
This seems like a fragment of a longer thread, but the “dgText” and the 
“dgData” are the two methods I use to extract, process and reload the content 
of a data grid.

Craig

> On Aug 9, 2022, at 11:09 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I believe there is a property you set, after which you programmatically 
> control the population of the datagrid. I am in a hurry so I can't look it up 
> right now, but it is in the datagrid API in livecode lessons. 
> 
> Bob S
> 
> 
>> On Aug 9, 2022, at 05:09 , Paul Dupuis via use-livecode 
>>  wrote:
>> 
>> I can only image that the customer entered a name with some characters that 
>> Datagrid has a problem with as a column name OR that the shear number of 
>> columns (as the customer is working with a very large dataset) exceeds some 
>> practical Datagrid limit, but what would that be?
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
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