Re: Visual Studio 2017 to the rescue

2019-06-11 Thread Monte Goulding via use-livecode
Thanks Mark! Will sort it out ASAP

> On 12 Jun 2019, at 8:06 am, Mark Talluto via use-livecode 
>  wrote:
> 
> I reported the bug: https://quality.livecode.com/show_bug.cgi?id=22169 
> 
> 
> -Mark
> 
>> On Jun 10, 2019, at 3:08 PM, Monte Goulding via use-livecode 
>>  wrote:
>> 
>> Yes this does indeed sound like a bug so if you could report it that would 
>> be great.
>> 
>>> On 11 Jun 2019, at 2:11 am, Trevor DeVore via use-livecode 
>>>  wrote:
>>> 
>>> On Mon, Jun 10, 2019 at 10:19 AM Mark Talluto via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
 Hello Friends,
 
 LiveCode 9.5 dp1 is my favorite LiveCode yet. If you are dipping into
 testing it out, I found something that may save you some time.
 
 If you use mergJSONencode and decode on Windows, you need to make sure you
 have installed the Microsoft Visual C++ Redistributable for Visual Studio
 2017. Keep in mind there are both x86 and x64 variants.
>>> 
>>> 
>>> Thanks for pointing this out Mark. Have you filed a bug report? This is
>>> incorrect behavior. I believe they just need to change some compiler flags
>>> to fix it.
>>> 
>>> 
>>> --
>>> Trevor DeVore
>>> ScreenSteps
>>> ___
>>> use-livecode mailing list
>>> use-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: Visual Studio 2017 to the rescue

2019-06-11 Thread Mark Talluto via use-livecode
I reported the bug: https://quality.livecode.com/show_bug.cgi?id=22169 


-Mark

> On Jun 10, 2019, at 3:08 PM, Monte Goulding via use-livecode 
>  wrote:
> 
> Yes this does indeed sound like a bug so if you could report it that would be 
> great.
> 
>> On 11 Jun 2019, at 2:11 am, Trevor DeVore via use-livecode 
>>  wrote:
>> 
>> On Mon, Jun 10, 2019 at 10:19 AM Mark Talluto via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Hello Friends,
>>> 
>>> LiveCode 9.5 dp1 is my favorite LiveCode yet. If you are dipping into
>>> testing it out, I found something that may save you some time.
>>> 
>>> If you use mergJSONencode and decode on Windows, you need to make sure you
>>> have installed the Microsoft Visual C++ Redistributable for Visual Studio
>>> 2017. Keep in mind there are both x86 and x64 variants.
>> 
>> 
>> Thanks for pointing this out Mark. Have you filed a bug report? This is
>> incorrect behavior. I believe they just need to change some compiler flags
>> to fix it.
>> 
>> 
>> --
>> Trevor DeVore
>> ScreenSteps
>> ___
>> use-livecode mailing list
>> use-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: one computer, but not other, cannot use breakpoints of any type under 9.5.0_dp1

2019-06-11 Thread JJS via use-livecode

eerhm, yes of course, how simple can it be ;)

thanks Klaus

Op 11-6-2019 om 22:25 schreef Klaus major-k via use-livecode:

Am 11.06.2019 um 22:13 schrieb JJS via 
use-livecode:

try delete your preferences file and restart LC.
sometimes with strange issues this might help.
LC creates then a new one at start-up
But i don't know exactly where it is located on mac..someone else might jump in


___
use-livecode mailing list
use-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: one computer, but not other, cannot use breakpoints of any type under 9.5.0_dp1

2019-06-11 Thread Klaus major-k via use-livecode
Hi JJS,

> Am 11.06.2019 um 22:13 schrieb JJS via use-livecode 
> :
> 
> try delete your preferences file and restart LC.
> sometimes with strange issues this might help.
> LC creates then a new one at start-up
> But i don't know exactly where it is located on mac..someone else might jump 
> in

simply ask LC -> put the filename of stack "revpreferences"
:-)

> Op 11-6-2019 om 22:08 schreef Dr. Hawkins via use-livecode:
>> Can anyone else confirm this, or see a pattern?
>> 
>> On a mid 2011 iMac, with the latest High Sierra, no breakpoint of any type 
>> is working—not the evil red PCD, not “breakpoint”, nor anything else I can 
>> think of.
>> 
>> On may late 2018 MacBook Pro, latest mohave, they work.
>> 
>> The iMac has also told me a couple of times that it cannot open a file as 
>> “not a stack file”, yet the same stack opens without issue on the MacBook.
>> 
>> I’m also seeing *horrendous* misidentification of objects selected in the 
>> application browser—it just plain gives a different object the clicked on 
>> (perhaps it ignores widgets while counting?).  It’s so bad that I actually 
>> tried project manager again before screaming in horror and remembering why I 
>> hate it . . .
>> —
>> Richard E. Hawkins, Esq.
>> The Hawkins Law Firm
>> 3430 E. Flamingo Rd.
>> Suite 232
>> Las Vegas, NV  89121
>> (702) 508-8462

Best

Klaus

--
Klaus Major
http://www.major-k.de
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: one computer, but not other, cannot use breakpoints of any type under 9.5.0_dp1

2019-06-11 Thread JJS via use-livecode

try delete your preferences file and restart LC.

sometimes with strange issues this might help.

LC creates then a new one at start-up

But i don't know exactly where it is located on mac..someone else might 
jump in


Op 11-6-2019 om 22:08 schreef Dr. Hawkins via use-livecode:

Can anyone else confirm this, or see a pattern?

On a mid 2011 iMac, with the latest High Sierra, no breakpoint of any type is 
working—not the evil red PCD, not “breakpoint”, nor anything else I can think 
of.

On may late 2018 MacBook Pro, latest mohave, they work.

The iMac has also told me a couple of times that it cannot open a file as “not 
a stack file”, yet the same stack opens without issue on the MacBook.

I’m also seeing *horrendous* misidentification of objects selected in the 
application browser—it just plain gives a different object the clicked on 
(perhaps it ignores widgets while counting?).  It’s so bad that I actually 
tried project manager again before screaming in horror and remembering why I 
hate it . . .
—
Richard E. Hawkins, Esq.
The Hawkins Law Firm
3430 E. Flamingo Rd.
Suite 232
Las Vegas, NV  89121
(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


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

one computer, but not other, cannot use breakpoints of any type under 9.5.0_dp1

2019-06-11 Thread Dr. Hawkins via use-livecode
Can anyone else confirm this, or see a pattern?

On a mid 2011 iMac, with the latest High Sierra, no breakpoint of any type is 
working—not the evil red PCD, not “breakpoint”, nor anything else I can think 
of.

On may late 2018 MacBook Pro, latest mohave, they work.

The iMac has also told me a couple of times that it cannot open a file as “not 
a stack file”, yet the same stack opens without issue on the MacBook.

I’m also seeing *horrendous* misidentification of objects selected in the 
application browser—it just plain gives a different object the clicked on 
(perhaps it ignores widgets while counting?).  It’s so bad that I actually 
tried project manager again before screaming in horror and remembering why I 
hate it . . .
— 
Richard E. Hawkins, Esq.
The Hawkins Law Firm
3430 E. Flamingo Rd.
Suite 232
Las Vegas, NV  89121
(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: Why does this not work ?

2019-06-11 Thread Dar Scott Consulting via use-livecode
I think this is important. 
Perhaps related is why this is an execution error.

> On Jun 11, 2019, at 2:18 AM, Alex Tweedly via use-livecode 
>  wrote:
> 
> Thank you Peter and Mark.
> 
> I guess I see it now - though it's still against *my* intuition :-)
> 
> Thanks
> 
> Alex.
> 
> On 11/06/2019 03:24, Peter Bogdanoff via use-livecode wrote:
>> I think that 'item 1 of t1’ has to be resolved to an object reference before 
>> it can be used with the vis property. The earlier lines are doing that, but 
>> not the last.
>> 
>> It seems that LiveCode has gotten stricter with this in recent versions, 
>> requiring “of me” or such when referring directly to a control. Some later 
>> version of 8.1 was breaking my existing scripts for this very reason.
>> 
>> Peter
>> 
>>> On Jun 10, 2019, at 8:44 PM, Alex Tweedly via use-livecode 
>>>  wrote:
>>> 
>>> OK, this code produces an error - but I can't see why (and I worry about 
>>> that :-)
>>> 
>>> I have a field inside a group inside a group ,
>>> 
>>> and the following code :
>>> 
 on mouseup
local tName, t1, t2
put the long name of fld "F" into tName
put tName & ",12,13" into t1
put "t1" && t1  after msg
 
put item 1 of t1 into t2
set the vis of t2 to TRUE
put "t2 was OK"  after msg
 
set the vis of (item 1 of t1) to TRUE
put "using parens OK"  after msg
 
set the vis of item 1 of t1 to TRUE   -- this line fails !!
put "here"  after msg
 
 end mouseup
>>> that line fails, with the error message
>>> 
 button "Button": execution error at line 14 (Chunk: error in object 
 expression) near "field "F" of group id 1005 of group id 1007 of card id 
 1002 of stack "/Users/alextweedly/Dropbox 
 (Personal)/Apps/objectchunk.livecode"
 
>>> I just cant see why that doesn't work :-)
>>> 
>>> If I use parentheses, or if copy the first item over to a different 
>>> variable), then it is all OK. But doing it directly (AFAICT) should work, 
>>> and doesn't. What am I misunderstanding ?
>>> 
>>> Thanks
>>> 
>>> Alex.
>>> 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-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: GhostScript and LC

2019-06-11 Thread Matthias Rebbe via use-livecode
We are using Ghostscript and PDFtk Server (https://www.pdflabs.com 
) on Windows 7/10 to create and combine 2 PDFs and 
password protect them using LC´s  shell() function.
Works w/o a problem for years now.


Matthias Rebbe

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

> Am 11.06.2019 um 12:37 schrieb Earp Robert J. via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> We have an .eps file that we create within a LC project and would like to 
> save it in .pdf format rather than having to do a manual conversion using 
> Acrobat or whatever.  It has been suggested that GhostScript should be looked 
> at.  Has anybody moused around with calling GhostScript from within LC ?
> 
> Thanks, Bob….
> 
> Bob Earp - White Rock, British Columbia
> ___
> use-livecode mailing list
> use-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

GhostScript and LC

2019-06-11 Thread Earp Robert J. via use-livecode
We have an .eps file that we create within a LC project and would like to save 
it in .pdf format rather than having to do a manual conversion using Acrobat or 
whatever.  It has been suggested that GhostScript should be looked at.  Has 
anybody moused around with calling GhostScript from within LC ?

Thanks, Bob….

Bob Earp - White Rock, British Columbia
___
use-livecode mailing list
use-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: Why does this not work ?

2019-06-11 Thread Alex Tweedly via use-livecode

Thank you Peter and Mark.

I guess I see it now - though it's still against *my* intuition :-)

Thanks

Alex.

On 11/06/2019 03:24, Peter Bogdanoff via use-livecode wrote:

I think that 'item 1 of t1’ has to be resolved to an object reference before it 
can be used with the vis property. The earlier lines are doing that, but not 
the last.

It seems that LiveCode has gotten stricter with this in recent versions, 
requiring “of me” or such when referring directly to a control. Some later 
version of 8.1 was breaking my existing scripts for this very reason.

Peter


On Jun 10, 2019, at 8:44 PM, Alex Tweedly via use-livecode 
 wrote:

OK, this code produces an error - but I can't see why (and I worry about that 
:-)

I have a field inside a group inside a group ,

and the following code :


on mouseup
local tName, t1, t2
put the long name of fld "F" into tName
put tName & ",12,13" into t1
put "t1" && t1  after msg

put item 1 of t1 into t2
set the vis of t2 to TRUE
put "t2 was OK"  after msg

set the vis of (item 1 of t1) to TRUE
put "using parens OK"  after msg

set the vis of item 1 of t1 to TRUE   -- this line fails !!
put "here"  after msg

end mouseup

that line fails, with the error message


button "Button": execution error at line 14 (Chunk: error in object expression) near "field 
"F" of group id 1005 of group id 1007 of card id 1002 of stack "/Users/alextweedly/Dropbox 
(Personal)/Apps/objectchunk.livecode"


I just cant see why that doesn't work :-)

If I use parentheses, or if copy the first item over to a different variable), 
then it is all OK. But doing it directly (AFAICT) should work, and doesn't. 
What am I misunderstanding ?

Thanks

Alex.



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


___
use-livecode mailing list
use-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: Why does this not work ?

2019-06-11 Thread Mark Waddingham via use-livecode

On 2019-06-11 02:44, Alex Tweedly via use-livecode wrote:

on mouseup
   local tName, t1, t2
   put the long name of fld "F" into tName
   put tName & ",12,13" into t1
   put "t1" && t1  after msg

   put item 1 of t1 into t2
   set the vis of t2 to TRUE
   put "t2 was OK"  after msg

   set the vis of (item 1 of t1) to TRUE
   put "using parens OK"  after msg

   set the vis of item 1 of t1 to TRUE   -- this line fails !!
   put "here"  after msg

end mouseup

that line fails, with the error message

button "Button": execution error at line 14 (Chunk: error in object 
expression) near "field "F" of group id 1005 of group id 1007 of card 
id 1002 of stack "/Users/alextweedly/Dropbox 
(Personal)/Apps/objectchunk.livecode"




I just cant see why that doesn't work :-)

If I use parentheses, or if copy the first item over to a different
variable), then it is all OK. But doing it directly (AFAICT) should
work, and doesn't. What am I misunderstanding ?


The engine assumes that if you are manipulating a property of a string 
chunk, then you want to manipulate the part of the target object the 
string chunk describes, and not dereference the chunk as an object to 
set the property on.


i.e. in the case above the failing line is attempting to set the visible 
property of the first item of the content of control referenced with 
chunk ",12,13" -- and the latter is not a valid control 
chunk.


Warmest Regards,

Mark

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create 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