Re: PDF-Tools

2019-10-23 Thread hh via use-livecode
PDF-Tools_v109, updated to v110 (Mac only)

[Tested to run with LC 8.1.10/9.0.5/9.5.0
on MacOS 10.12.6/10.13.6/ 10.14.6/10.15.]

Download PDF-Tools v110 from SampleStacks or
http://livecodeshare.runrev.com/stack/951/

Added option to use a SVG Icon on the output pages.

You can set width (resizes proportional), borderwidth,
fillColor, borderColor, x-offset, y-offset and (initial)
position on page: topLeft, topCenter, topRight, botLeft,
botCenter and botRight.

In the stack are the built-in LC-icons (SVG widget) and
additional 969 material-design-cons available. Use your
own icon by setting the iconPath of a SVG widget.

___
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: Slowdown when printing to PDF in a loop

2019-10-23 Thread Terry Judd via use-livecode
Hi Craig - nah, just tried and doesn't work in my situation. I'm creating 
multipage PDFs which requires the use of "print break" between each card, and 
if I don't "close printing" between reports the PDFs are corrupted (I suspect 
only one page of each reports gets printed and then something goes awry). I 
think I'll try automating a batch-based approach.

Thanks for the suggestion though.

Terry...

On 24/10/19, 7:16 am, "use-livecode on behalf of dunbarx--- via use-livecode" 
 wrote:

Terry.
Do this. Should be instantaneous:
on mouseUprepeat with y = 1 to 5put yourPathName && y into jobPathopen 
printing to pdf (jobPath & ".pdf")print this cardend repeatclose printingend 
mouseUp
You should get five PDF's in a flash.
Craig

-Original Message-
From: Terry Judd via use-livecode 
To: How to use LiveCode 
Cc: Terry Judd 
Sent: Wed, Oct 23, 2019 2:58 pm
Subject: Re: Slowdown when printing to PDF in a loop

Hi Craig - yes, I open and close printing for each report. I might be wrong 
(I’ve been using variations of the same printing routine for ages) but I seem 
to recall that I was unable to successfully or reliably create separate reports 
unless I closed printing after each one.

Terry...

Sent from my iPad

> On 24 Oct 2019, at 12:53 am, dunbarx--- via use-livecode 
 wrote:
> 
> Hi.
> Are you repeatedly using "open printing to PDF"?
> Craig
> 
> 
> -Original Message-
> From: Terry Judd via use-livecode 
> To: use-livecode@lists.runrev.com 
> Cc: Terry Judd 
> Sent: Tue, Oct 22, 2019 9:11 pm
> Subject: Slowdown when printing to PDF in a loop
> 
> I'm printing a whole bunch of PDFs (multipage feedback reports generated 
by populating a series of cards with individualised data - mix of text and 
graphics) and it starts off fast and then inevitably slows down - a lot. While 
it might start off printing say 14 reports per minute after a few minutes it's 
down to only 2 or 3. When you're printing 350 reports that obviously takes some 
time. I'm wondering whether there is something I can try to 'clear the pipes' 
every few minutes to speed the process up a bit? I've had some success in the 
past splitting the data up into batches and looping through one batch at a time 
but it would be great (or at least simpler) not having to do that.
> 
> Any ideas? I'm on a Mac BTW, so I'm not sure whether this is a 
cross-platform issue. LC 9.0.5.
> 
> 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
> ___
> 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: Guaranteed crash to desktop!

2019-10-23 Thread Bob Sneidar via use-livecode
Wow! How odd... I'm using the same OS and version. 

Bob S


> On Oct 23, 2019, at 13:42 , Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Bob,
> 
>> Am 23.10.2019 um 22:26 schrieb Bob Sneidar via use-livecode 
>> :
>> 
>> Hi all. 
>> 
>> This is really obscure, but if you want to try it you can. On MacOS open 
>> script editor, then copy the path to a file from the get info dialog. Paste 
>> that part. It has little right arrow icons for the path separators. click 
>> after one of these little gremlins. Backspace. Voila! Crash to Desktop 
>> guaranteed!
> 
> No crash here, can I get my money back? 8-)
> macOS 10.14.6, LC 9.5.0.
> 
>> I suspect the desired behavior would be to convert the wierd path of the 
>> file to a proper path but that is probably expecting too much from the 
>> Script Editor. It doesn't bother me, I just thought it was a curious 
>> behavior. 
>> 
>> Bob S
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://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: Guaranteed crash to desktop!

2019-10-23 Thread Klaus major-k via use-livecode
Hi Bob,

> Am 23.10.2019 um 22:26 schrieb Bob Sneidar via use-livecode 
> :
> 
> Hi all. 
> 
> This is really obscure, but if you want to try it you can. On MacOS open 
> script editor, then copy the path to a file from the get info dialog. Paste 
> that part. It has little right arrow icons for the path separators. click 
> after one of these little gremlins. Backspace. Voila! Crash to Desktop 
> guaranteed!

No crash here, can I get my money back? 8-)
macOS 10.14.6, LC 9.5.0.

> I suspect the desired behavior would be to convert the wierd path of the file 
> to a proper path but that is probably expecting too much from the Script 
> Editor. It doesn't bother me, I just thought it was a curious behavior. 
> 
> Bob S

Best

Klaus

--
Klaus Major
https://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: Death of eSellerate (48-hour, 50%-off) REBIRTH Sale

2019-10-23 Thread Paul Dupuis via use-livecode

On 10/23/2019 8:47 AM, Curry Kenworthy via use-livecode wrote:


Due to the untimely, or at least inconvenient, demise of an old 
electronic friend (eSellerate) as a separate entity, I have migrated 
the addon store to its parent company (Digital River) and updated the 
store links on the livecodeaddons.com web site.


To commemorate this occasion and launch the updated store, I've issued 
a REBIRTH coupon for half-price on any/all available addons.


Coupon Code: rebirth (50%)

Web Page: http://livecodeaddons.com/ (click Store)

Store URL: http://curryk.com/addon-store

Curry K. LiveCode Addons - First and best - Instant delivery!

Reginfo is shown on the order confirmation web page AND email, so 
there's no waiting; get started today.


I'll take down the Coupon Code in approx 2 days. The Reg Guide is now 
text, rather than PDF. Happy coding


Best wishes,

Curry Kenworthy

WordLib: Take charge of MS Word and OpenOffice documents
SpreadLib: "Excel-lent" spreadsheet import/export for LC
http://livecodeaddons.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


Nice deal!


___
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


AW: Signing, Notarizing, and Stapling and macOS versions

2019-10-23 Thread Paul Dupuis via use-livecode

On 10/23/2019 8:49 AM, Paul Dupuis via use-livecode wrote:

LiveCode 9xx is supported on macOS Maveriks (10.9) and up

Catalina (10.15) requires Notarized DMG or App to be allowed to open/run

I have discovered that a Notarized and Stapled DMG works on Catalina 
and Mojave (10.14), but presents an error when trying to open on El 
Capitan (10.11).


Does anyone have a definitive list of macOS versions from 10.9 and up 
by signed - notarized - stapled and what works so I don't have to 
develop one myself? I can not find thi at Apple. 10.12 is min OS to 
"staple" on and 10.13 the min to notarize, but that is form a building 
it, rather than using it.


So far I have: [Signed is "code signed only")
OS    Signed    Notarized    Stapled
10.9    Works    Untested    Fails
10.10
10.11
10.12
10.13
10.14 Works    Works    Works
10.15 Fails    Works    Works

All blanks are untested.


Here are the results for anyone interested:

macOS name    signed notarized stapled
10.9  Mavricks    OK FAIL  FAIL
10.10 Yosemite    OK FAIL  FAIL
10.11 El Capitan  OK     FAIL  FAIL
10.12 Sierra  OK OK    OK
10.13 High Sierra OK OK    OK
10.14 Mojave  OK OK    OK
10.15 Catalina    *  OK    OK

* A signed DMG opens, but any Apps in the DMG present a the notice that 
Apple can't validate the security of the app. A Notarized or Notarized 
and Staples DMG can be opened and any Signed apps (but the Apps 
themselves do not need to be Notarized) can be opened from within the DMG


What this means for anyone distributing macOS apps outside the MacApp 
store is that you probably need to offer 2 different DNG downloads for 
macOS users:
a signed (or even unsigned DMG (with your signed App in it) for 10-9 
through 10.11

and
a signed, notarized, (and optionally stapled), DMG with your code signed 
app in it for 10.12 through 10.15


OR you could do the 1st for 10.9 through 10.14 and just a separate one 
for 10.15.



___
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


Guaranteed crash to desktop!

2019-10-23 Thread Bob Sneidar via use-livecode
Hi all. 

This is really obscure, but if you want to try it you can. On MacOS open script 
editor, then copy the path to a file from the get info dialog. Paste that part. 
It has little right arrow icons for the path separators. click after one of 
these little gremlins. Backspace. Voila! Crash to Desktop guaranteed!

I suspect the desired behavior would be to convert the wierd path of the file 
to a proper path but that is probably expecting too much from the Script 
Editor. It doesn't bother me, I just thought it was a curious behavior. 

Bob S


___
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: Slowdown when printing to PDF in a loop

2019-10-23 Thread dunbarx--- via use-livecode
Terry.
Do this. Should be instantaneous:
on mouseUprepeat with y = 1 to 5put yourPathName && y into jobPathopen printing 
to pdf (jobPath & ".pdf")print this cardend repeatclose printingend mouseUp
You should get five PDF's in a flash.
Craig

-Original Message-
From: Terry Judd via use-livecode 
To: How to use LiveCode 
Cc: Terry Judd 
Sent: Wed, Oct 23, 2019 2:58 pm
Subject: Re: Slowdown when printing to PDF in a loop

Hi Craig - yes, I open and close printing for each report. I might be wrong 
(I’ve been using variations of the same printing routine for ages) but I seem 
to recall that I was unable to successfully or reliably create separate reports 
unless I closed printing after each one.

Terry...

Sent from my iPad

> On 24 Oct 2019, at 12:53 am, dunbarx--- via use-livecode 
>  wrote:
> 
> Hi.
> Are you repeatedly using "open printing to PDF"?
> Craig
> 
> 
> -Original Message-
> From: Terry Judd via use-livecode 
> To: use-livecode@lists.runrev.com 
> Cc: Terry Judd 
> Sent: Tue, Oct 22, 2019 9:11 pm
> Subject: Slowdown when printing to PDF in a loop
> 
> I'm printing a whole bunch of PDFs (multipage feedback reports generated by 
> populating a series of cards with individualised data - mix of text and 
> graphics) and it starts off fast and then inevitably slows down - a lot. 
> While it might start off printing say 14 reports per minute after a few 
> minutes it's down to only 2 or 3. When you're printing 350 reports that 
> obviously takes some time. I'm wondering whether there is something I can try 
> to 'clear the pipes' every few minutes to speed the process up a bit? I've 
> had some success in the past splitting the data up into batches and looping 
> through one batch at a time but it would be great (or at least simpler) not 
> having to do that.
> 
> Any ideas? I'm on a Mac BTW, so I'm not sure whether this is a cross-platform 
> issue. LC 9.0.5.
> 
> 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
> ___
> 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: Slowdown when printing to PDF in a loop

2019-10-23 Thread Terry Judd via use-livecode
Hi Craig - yes, I open and close printing for each report. I might be wrong 
(I’ve been using variations of the same printing routine for ages) but I seem 
to recall that I was unable to successfully or reliably create separate reports 
unless I closed printing after each one.

Terry...

Sent from my iPad

> On 24 Oct 2019, at 12:53 am, dunbarx--- via use-livecode 
>  wrote:
> 
> Hi.
> Are you repeatedly using "open printing to PDF"?
> Craig
> 
> 
> -Original Message-
> From: Terry Judd via use-livecode 
> To: use-livecode@lists.runrev.com 
> Cc: Terry Judd 
> Sent: Tue, Oct 22, 2019 9:11 pm
> Subject: Slowdown when printing to PDF in a loop
> 
> I'm printing a whole bunch of PDFs (multipage feedback reports generated by 
> populating a series of cards with individualised data - mix of text and 
> graphics) and it starts off fast and then inevitably slows down - a lot. 
> While it might start off printing say 14 reports per minute after a few 
> minutes it's down to only 2 or 3. When you're printing 350 reports that 
> obviously takes some time. I'm wondering whether there is something I can try 
> to 'clear the pipes' every few minutes to speed the process up a bit? I've 
> had some success in the past splitting the data up into batches and looping 
> through one batch at a time but it would be great (or at least simpler) not 
> having to do that.
> 
> Any ideas? I'm on a Mac BTW, so I'm not sure whether this is a cross-platform 
> issue. LC 9.0.5.
> 
> 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
> ___
> 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: RE Video Player LiveCode on Windows

2019-10-23 Thread J. Landman Gay via use-livecode
I don't think this is a player problem, it's a script editor issue. The 
slowdown has been reported before, mostly on Windows, but yesterday I had 
the identical problem on Mac. Editing slows to a crawl until finally the 
IDE locks up and you're forced to force quit.


To avoid losing work, restart LC when you see the editor begin to be 
unresponsive. That's not a great solution but it solves things for a while.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 23, 2019 11:31:11 AM "R.H. via use-livecode" 
 wrote:



@ Paul Dupuis

Thank you very much, Paul, for your detailed answer. I removed my other
Codec package and installed the LAV package as recommended by you. It works
well! Great. All the videos I have in MP4, etc. are playing now. This makes
me happy.

But the other biggest problem:

My IDE starts hanging (Windows 64, Version Indy 9.05 and 9.5) when working
with the player and being in edit mode, mainly using the script editor.
This happens all the time. There is no exact recipe. After some time, I
already notice LC is slowing down (it takes long time for anything to
happen) , and soon after that all freezes, and then I have to force-quit
and restart all over again.

As long as the user mode is on and as long as the player is just playing,
it seems to be ok . Except, of course, there is a huge bug list that you
mentioned.

If anybody else has experienced hanging/freezing LiveCode using the player
in edit mode, I would then create a but report because I could not find a
similar report there. Unfortunately, there is no very clear recipe yet.

Roland
___
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: RE Video Player LiveCode on Windows

2019-10-23 Thread Paul Dupuis via use-livecode

I concur with Peter's suggestion.

Using LC9.0.5 RELEASE, I have not seen crashes when editing stacks with 
player objects or changing player properties. LC9.0.5rc1 and LC9.5.0 
RELEASE have bugs that can crash the IDE while debugging.


However, in our two applications that use the player object, the player 
is generally not set to any video (filename is empty) while editing.


-- Paul

On 10/23/2019 12:43 PM, Peter Bogdanoff via use-livecode wrote:

Roland,

You might try setting filename of the player to empty before going to edit mode 
(catching the editScript message). In the past, if a player couldn’t find the 
referenced file it often causes LC to freeze or slow way down, similarly to 
what you’re reporting.

Peter Bogdanoff
ArtsInteractive



On Oct 23, 2019, at 12:28 PM, R.H. via use-livecode 
 wrote:

@ Paul Dupuis

Thank you very much, Paul, for your detailed answer. I removed my other
Codec package and installed the LAV package as recommended by you. It works
well! Great. All the videos I have in MP4, etc. are playing now. This makes
me happy.

But the other biggest problem:

My IDE starts hanging (Windows 64, Version Indy 9.05 and 9.5) when working
with the player and being in edit mode, mainly using the script editor.
This happens all the time. There is no exact recipe. After some time, I
already notice LC is slowing down (it takes long time for anything to
happen) , and soon after that all freezes, and then I have to force-quit
and restart all over again.

As long as the user mode is on and as long as the player is just playing,
it seems to be ok . Except, of course, there is a huge bug list that you
mentioned.

If anybody else has experienced hanging/freezing LiveCode using the player
in edit mode, I would then create a but report because I could not find a
similar report there. Unfortunately, there is no very clear recipe yet.

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


Function to return Default Adapter Info

2019-10-23 Thread Bob Sneidar via use-livecode
Hi all. 

Now works with Windows! Also, I realized that it's possible to get a new DHCP 
lease, in which case any prior connections would be invalid, so now the 
function returns the default adapter IP and MAC address on the fist line, and 
the default router IP and MAC address on the second line. If this isn't the 
same between sessions, the network has changed, so reset your connection. 
Enjoy! 

function getDefaultNetwork pMode
   -- leave pMode empty for just IP and MAC info. Pass "Detail" to get more info
   if the platform contains "WIN" then 
  set hideConsoleWindows to true
  put "netsh interface ip show config" into tShellCommand
  put shell(tShellCommand) into tDefaultAdapter
  
  -- if pMode is detail just return these results
  if pMode is "Detail" then return tDefaultAdapter
  
  -- get the default adapter and Gateway IP addresses
  put lineOffset("IP Address:", tDefaultAdapter) into tIPAddressLine
  put word -1 of line tIPAddressLine of tDefaultAdapter into tLocalIPAddress
  put lineOffset("Default Gateway:", tDefaultAdapter)  into tGWAddressLine
  put word -1 of line tGWAddressLine of tDefaultAdapter into tGWIPAddress
  
  -- get the default adapter and gateway MAC addresses
  put "ipconfig /all" into tShellCommand
  put shell(tShellCommand) into tConfigData
  put lineOffset(tLocalIPAddress, tConfigData) -3 into tLocalMACLine
  put word -1 of line tLocalMACLine of tConfigData into tLocalMACAddress
  put "arp -a" into tShellCommand
  put shell(tShellCommand) into tArpData
  put lineOffset(tGWIPAddress, tArpData) into tGWMACAddressLine
  put word 2 of line tGWMACAddressLine of tArpData into tGWMACAddress
  
  put tLocalIPAddress && tLocalMACAddress & cr & \
tGWIPAddress && tGWMACAddress into tCurrentAdapterInfo
   else
  -- first we need to get the default adapter
  put "route get default" into tShellCommand
  put shell(tShellCommand) into tDefaultAdapter
  put lineOffset("Interface: ", tDefaultAdapter) into tInterfaceLine
  
  if tInterfaceLine = 0 then 
 return "ERROR: No default interface found!"
  end if
  
  -- now we need the detail of the interface
  put word 2 of line tInterfaceLine of tDefaultAdapter into 
tDefaultInterface
  put "ipconfig getpacket " & tDefaultInterface into tShellCommand
  put shell(tShellCommand) into tInterfaceDetail
  
  -- if we didn't specifically ask for the interface and router MAC 
addresses, return here
  if pMode is "Detail" then return tInterfaceDetail
  
  -- now we get  the interface MAC address
  put lineOffset("chaddr", tInterfaceDetail) into tInterfaceMACLine
  put word -1 of line tInterfaceMACLine of tInterfaceDetail into 
tDefaultMACAddress
  
  -- and the IP address
  put lineOffset("yiaddr", tInterfaceDetail) into tInterfaceIPLine
  put word -1 of line tInterfaceIPLine of tInterfaceDetail into 
tDefaultIPAddress
  
  -- next we get the router IP address
  put lineOffset("router (ip_mult): ", tInterfaceDetail) into tRouterLine
  put word 3 of line tRouterLine of tInterfaceDetail into tRouterIPAddress
  put char 2 to -2 of tRouterIPAddress into tRouterIPAddress
  
  -- next we get the MAC address of the router interface
  put "arp " & tRouterIPAddress into tShellCommand
  put shell(tShellCommand) into tArpReply
  put word 4 of tArpReply into tRouterMACAddress
  
  -- finally we return the MAC addresses of the default interface and the 
router interface
  put tDefaultIPAddress && tDefaultMACAddress & cr & \
tRouterIPAddress && tRouterMACAddress into tCurrentAdapterInfo
   end if
   
   return tCurrentAdapterInfo
end getDefaultNetwork
___
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: RE Video Player LiveCode on Windows

2019-10-23 Thread Peter Bogdanoff via use-livecode
Roland,

You might try setting filename of the player to empty before going to edit mode 
(catching the editScript message). In the past, if a player couldn’t find the 
referenced file it often causes LC to freeze or slow way down, similarly to 
what you’re reporting.

Peter Bogdanoff
ArtsInteractive


> On Oct 23, 2019, at 12:28 PM, R.H. via use-livecode 
>  wrote:
> 
> @ Paul Dupuis
> 
> Thank you very much, Paul, for your detailed answer. I removed my other
> Codec package and installed the LAV package as recommended by you. It works
> well! Great. All the videos I have in MP4, etc. are playing now. This makes
> me happy.
> 
> But the other biggest problem:
> 
> My IDE starts hanging (Windows 64, Version Indy 9.05 and 9.5) when working
> with the player and being in edit mode, mainly using the script editor.
> This happens all the time. There is no exact recipe. After some time, I
> already notice LC is slowing down (it takes long time for anything to
> happen) , and soon after that all freezes, and then I have to force-quit
> and restart all over again.
> 
> As long as the user mode is on and as long as the player is just playing,
> it seems to be ok . Except, of course, there is a huge bug list that you
> mentioned.
> 
> If anybody else has experienced hanging/freezing LiveCode using the player
> in edit mode, I would then create a but report because I could not find a
> similar report there. Unfortunately, there is no very clear recipe yet.
> 
> Roland
> ___
> 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 Video Player LiveCode on Windows

2019-10-23 Thread R.H. via use-livecode
@ Paul Dupuis

Thank you very much, Paul, for your detailed answer. I removed my other
Codec package and installed the LAV package as recommended by you. It works
well! Great. All the videos I have in MP4, etc. are playing now. This makes
me happy.

But the other biggest problem:

My IDE starts hanging (Windows 64, Version Indy 9.05 and 9.5) when working
with the player and being in edit mode, mainly using the script editor.
This happens all the time. There is no exact recipe. After some time, I
already notice LC is slowing down (it takes long time for anything to
happen) , and soon after that all freezes, and then I have to force-quit
and restart all over again.

As long as the user mode is on and as long as the player is just playing,
it seems to be ok . Except, of course, there is a huge bug list that you
mentioned.

If anybody else has experienced hanging/freezing LiveCode using the player
in edit mode, I would then create a but report because I could not find a
similar report there. Unfortunately, there is no very clear recipe yet.

Roland
___
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 Command Line Silent Option

2019-10-23 Thread Bob Sneidar via use-livecode
Whoops! Never mind. Read dictionary FIRST, not LAST. 

To prevent a console window from appearing when the shell command is executed, 
set the hideConsoleWindows property to true.


Bob S

> On Oct 23, 2019, at 09:05 , Bob Sneidar via use-livecode 
>  wrote:
> 
> Hi all. 
> 
> Shell is great, but on Windows when a shell call is made it shows a command 
> window briefly. This has the effect of freaking end users right out of their 
> minds. For all they know, hackers are breaking in and stealing all their 
> secrets. 
> 
> Is there a way to run shell commands without that annoying window popping up? 
> If not, I can submit a feature request, because without that shell on Windows 
> is a complete no go. 
> 
> Bob S
> 
> 
> ___
> 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 Command Line Silent Option

2019-10-23 Thread Bob Sneidar via use-livecode
Thanks Klaus yer too fast for me. :-)

Bob S 

> On Oct 23, 2019, at 09:08 , Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Bob,
> 
>> Am 23.10.2019 um 18:05 schrieb Bob Sneidar via use-livecode 
>> :
>> 
>> Hi all. 
>> 
>> Shell is great, but on Windows when a shell call is made it shows a command 
>> window briefly. This has the effect of freaking end users right out of their 
>> minds. For all they know, hackers are breaking in and stealing all their 
>> secrets. 
>> 
>> Is there a way to run shell commands without that annoying window popping 
>> up? If not, I can submit a feature request, because without that shell on 
>> Windows is a complete no go. 
> 
> ...
> set the hideconsolewindows to TRUE
> ## Do you Win shell stuff here...
> ...
> 
>> Bob S
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major


___
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 Command Line Silent Option

2019-10-23 Thread Klaus major-k via use-livecode
Hi Bob,

> Am 23.10.2019 um 18:05 schrieb Bob Sneidar via use-livecode 
> :
> 
> Hi all. 
> 
> Shell is great, but on Windows when a shell call is made it shows a command 
> window briefly. This has the effect of freaking end users right out of their 
> minds. For all they know, hackers are breaking in and stealing all their 
> secrets. 
> 
> Is there a way to run shell commands without that annoying window popping up? 
> If not, I can submit a feature request, because without that shell on Windows 
> is a complete no go. 

...
set the hideconsolewindows to TRUE
## Do you Win shell stuff here...
...

> Bob S

Best

Klaus

--
Klaus Major
https://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


Windows Command Line Silent Option

2019-10-23 Thread Bob Sneidar via use-livecode
Hi all. 

Shell is great, but on Windows when a shell call is made it shows a command 
window briefly. This has the effect of freaking end users right out of their 
minds. For all they know, hackers are breaking in and stealing all their 
secrets. 

Is there a way to run shell commands without that annoying window popping up? 
If not, I can submit a feature request, because without that shell on Windows 
is a complete no go. 

Bob S


___
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: Possible solution to determine if default network has changed (MacOS only for now)

2019-10-23 Thread Bob Sneidar via use-livecode
Yeah, I won't be able to accomodate load balancing and failover, but the vast 
majority of situations where the network has changed and LC and sqlYoga doesn't 
know about it should be taken care of. 

Essentially my strategy is to save the node and router MAC addresses in a 
property of the database utilities behavior button I use, then check it each 
time I attempt to open a connection to the SQL database. This in addition to 
checking the availability of the SQL database by telnetting to it with the SQL 
port used. 

All this to preclude the issue where attempting to connect to a non-responsive 
SQL server ends up causing a 1 minute delay because apparently that's the 
timeout. 

Bob S


> On Oct 22, 2019, at 17:13 , Alex Tweedly via use-livecode 
>  wrote:
> 
> Beware CARP !!   (or, very similarly, HSRP or VRRP).
> 
> In essence, there are a number of routers, which share a single MAC address - 
> and it is passed between them (so there is always one active router and only 
> it responds to the shared MAC address). Meanwhile they each use their own MAC 
> address to run their routing protocols, and the HSRP.
> 
> Gives fast, easy and transparent fail-over (but with some pitfalls), so AFAIK 
> not very widely used.
> 
> Alex.
> 
> P.S.  within Cisco, the engineering name for this was CRAP - but pressure 
> form the marketing guys changed it, initally to CARP, and then to HSRP before 
> it was released.


___
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: Slowdown when printing to PDF in a loop

2019-10-23 Thread dunbarx--- via use-livecode
Hi.
Are you repeatedly using "open printing to PDF"?
Craig


-Original Message-
From: Terry Judd via use-livecode 
To: use-livecode@lists.runrev.com 
Cc: Terry Judd 
Sent: Tue, Oct 22, 2019 9:11 pm
Subject: Slowdown when printing to PDF in a loop

I'm printing a whole bunch of PDFs (multipage feedback reports generated by 
populating a series of cards with individualised data - mix of text and 
graphics) and it starts off fast and then inevitably slows down - a lot. While 
it might start off printing say 14 reports per minute after a few minutes it's 
down to only 2 or 3. When you're printing 350 reports that obviously takes some 
time. I'm wondering whether there is something I can try to 'clear the pipes' 
every few minutes to speed the process up a bit? I've had some success in the 
past splitting the data up into batches and looping through one batch at a time 
but it would be great (or at least simpler) not having to do that.

Any ideas? I'm on a Mac BTW, so I'm not sure whether this is a cross-platform 
issue. LC 9.0.5.

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
___
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: My old man vs LC Standalone

2019-10-23 Thread Lagi Pittas via use-livecode
One other thing about that - it doesn't have to be a thieving hacker.
I wrote a invoicing system for a company years ago (Foxpro for DOS ) and
years later I got
a phone call saying the system was coming up "I'm Melting " - I could't
for the life of me
remember why I put that message in. Went to the company and some "clever
sod" was cleaning up the hard disk and deleted some of the
"unused" files in the data directory.

Personally I think your time is wasted putting any protection in other than
name and email and address (say) tied to the system
and if they have been messed with - It's the user either trying to run it
on his laptop (let him) or somebody has taken a copy.
Then wait three months and then tell them there is an error "call this
number" - if it's the user he will phone  for help.
If its a thief - just offer him an "upgrade".

That is how Microsoft ate Lotus's lunch back in the day was $495

Although Multiplan (the precursor of Excel) had protection - Excel did not
(in fact the whole of office did not)
you just put in a serial code or one from a serial code generator. This
allowed Microsoft to get office in the hands of
students and others who did not have the money to spend.
Years later everybody with a "illegal" copy was offered an amnesty and
"upgraded" to a legitimate version of office for £65 if memory serves.

The upshot is EVERYTHING can be broken. Back in the apple 2 days it was
more fun to crack the disk protection than play some of the games.
The disk protection routines got so clever that one of the disk copier
utilities built in a 6502 emulator so you could single step the code of the
bootloaders
and patch that part of the disk.

Finally we got "Snapshot" that was hardware that allowed the saving of all
the memory to disk (later copied for the spectrum and c64)

Happy days ...
https://www.bigmessowires.com/2015/08/27/apple-ii-copy-protection/
https://news.ycombinator.com/item?id=17256709
https://mirrors.apple2.org.za/Apple%20II%20Documentation%20Project/Books/Beneath%20Apple%20DOS.pdf



Regards Lagi


On Wed, 23 Oct 2019 at 11:17, Keith Martin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 22 Oct 2019, at 4:02, kee nethery via use-livecode wrote:
>
> > it would look for Hypercard itself on their disk and start erasing
> > stuff in it
>
> I applaud the ingenuity and totally understand the reasons for her doing
> that, but it should be said that damaging *other* software – beyond
> the stack itself – on purpose is a questionable tactic that feels like
> revenge, especially if it's designed to be silent. It is the actions of
> a virus! Not the best grounds to be standing on if this came out and
> lawyers got involved, even if the victim was clearly a thieving hacker.
>
> However, fascinating idea and impressive dedication.
>
> k
> ___
> 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


Signing, Notarizing, and Stapling and macOS versions

2019-10-23 Thread Paul Dupuis via use-livecode

LiveCode 9xx is supported on macOS Maveriks (10.9) and up

Catalina (10.15) requires Notarized DMG or App to be allowed to open/run

I have discovered that a Notarized and Stapled DMG works on Catalina and 
Mojave (10.14), but presents an error when trying to open on El Capitan 
(10.11).


Does anyone have a definitive list of macOS versions from 10.9 and up by 
signed - notarized - stapled and what works so I don't have to develop 
one myself? I can not find thi at Apple. 10.12 is min OS to "staple" on 
and 10.13 the min to notarize, but that is form a building it, rather 
than using it.


So far I have: [Signed is "code signed only")
OS    Signed    Notarized    Stapled
10.9    Works    Untested    Fails
10.10
10.11
10.12
10.13
10.14 Works    Works    Works
10.15 Fails    Works    Works

All blanks are untested.


___
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


Death of eSellerate (48-hour, 50%-off) REBIRTH Sale

2019-10-23 Thread Curry Kenworthy via use-livecode



Due to the untimely, or at least inconvenient, demise of an old 
electronic friend (eSellerate) as a separate entity, I have migrated the 
addon store to its parent company (Digital River) and updated the store 
links on the livecodeaddons.com web site.


To commemorate this occasion and launch the updated store, I've issued a 
REBIRTH coupon for half-price on any/all available addons.


Coupon Code: rebirth (50%)

Web Page: http://livecodeaddons.com/ (click Store)

Store URL: http://curryk.com/addon-store

Curry K. LiveCode Addons - First and best - Instant delivery!

Reginfo is shown on the order confirmation web page AND email, so 
there's no waiting; get started today.


I'll take down the Coupon Code in approx 2 days. The Reg Guide is now 
text, rather than PDF. Happy coding


Best wishes,

Curry Kenworthy

WordLib: Take charge of MS Word and OpenOffice documents
SpreadLib: "Excel-lent" spreadsheet import/export for LC
http://livecodeaddons.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: My old man vs LC Standalone

2019-10-23 Thread Keith Martin via use-livecode

On 22 Oct 2019, at 4:02, kee nethery via use-livecode wrote:

it would look for Hypercard itself on their disk and start erasing 
stuff in it


I applaud the ingenuity and totally understand the reasons for her doing 
that, but it should be said that damaging *other* software – beyond 
the stack itself – on purpose is a questionable tactic that feels like 
revenge, especially if it's designed to be silent. It is the actions of 
a virus! Not the best grounds to be standing on if this came out and 
lawyers got involved, even if the victim was clearly a thieving hacker.


However, fascinating idea and impressive dedication.

k
___
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: My old man vs LC Standalone

2019-10-23 Thread Keith Martin via use-livecode

On 22 Oct 2019, at 20:47, Tom Glod via use-livecode wrote:


i am counting on
his limited willingness to put hours into it.


Either way, it will be absolutely fascinating to read about the outcome. 
Good luck!


k

___
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