Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-02 Thread Tiemo Hollmann TB via use-livecode
Hello,

I have a standard scrolling list field with multiple lines of text. I copy
the text by:

*set the clipboarddata["text"] to fld "List"*

The User now can past the text into MS Excel on Windows. With LC 6 the text
was pasted into Excel line by line, as it showed up in LC. In LC 8.1.2 the
text is pasted with an extra space line between each two lines.

I checked the line ends in both versions. There is only one "LF"
(byteToNum=10) at the end of each line and it looks the same in both
versions.

What has changed in LC 8 to cause such a different behavior? Is this again a
Unicode thing what I don't understand? I already tried different
clipboarddata keys, without success.

It can't be an Excel option, because I tested it with the same Excel version
on the same machine.

Any idea, what has to be changed to get the same clipboard result as in LC
6?

Thank you

Tiemo

 

 

___
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: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-08 Thread Tiemo Hollmann TB via use-livecode
Hi Paul,

I test your approach, but when running the code in the DIE, LiveCode crashes 
immediatly. When debugging the code, it doesn't crashes, but stops at setting 
the rawclipboarddata with an error "clipboard is not locked".
This happens anyhow, if I am using "lock clipboard" or not.  I'll file it
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Paul Hibbert via use-livecode
Gesendet: Dienstag, 7. Februar 2017 22:11
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Paul Hibbert <p...@livecode.org>
Betreff: Re: Different result in LC 6 to LC 8 when copying field text into 
Excel?

Tiemo,

I’m not sure if this will help because I’m testing on Mac, but I did a little 
bit of experimenting with the new ‘rawClipboardData’, it allows plain text to 
be copied out of LC, just to prove it, here’s a button script copied via my now 
modified Script Buddy plugin…

on mouseUp
   local tClip

   if the selectedText is empty then
  set the clipBoardData["text"] to fld “myTextField"
   else
  copy the selectedText
   end if
   
   if the altKey is down then -- Convert the clipBoard to plain text
  put the clipBoardData["text"] into tClip
  lock the clipBoard
  ## Use some code lifted from the LiveCode Dictionary…
  set the rawClipBoardData to empty -- Clear ALL ClipboardData
  if the platform is "Linux" then set the 
rawClipboardData["text/plain;charset=utf-8"] \
to textEncode(tClip, "UTF-8" ) -- Linux
  if the platform is "Win32" then set the rawClipboardData["CF_UNICODE"] \
to textEncode(tClip, "UTF-16" ) -- Windows
  if the platform is "MacOS" then set the 
rawClipboardData["public.utf8-plain-text"] \
to textEncode(tClip, "UTF-8" ) -- OSX
  unlock the clipboard
   end if
end mouseUp

At last, no extra line spacing! :-)

Normally when I paste from LC into Mail I see extra line spacing, and I would 
have to copy and paste via a plain text editor to remove it. Emptying the 
clipBoard and setting the rawClipboardData as above seems to work, on Mac at 
least, hopefully it should work with Excel on Windows too.

Paul




> On Feb 3, 2017, at 6:25 AM, Tiemo Hollmann TB via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Can anybody on Windows with LC 8 confirm this:
> 
> - create a new stack
> - create a scrolling list field
> - enter three lines of text, each with one word
> - enter into the message box: *set the clipboarddata["text"] to fld 1*
> - open MS Excel (in my case Windows 10, Excel 2013)
> - paste
> - see an extra empty line between each line of text
> 
> Pasted in a text editor there are no extra lines and up to LC 7 there 
> also was no extra line in Excel.
> 
> Can anybody confirm this behavior or even has an idea for a workaround?
> 
> Thanks
> Tiemo
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
> Auftrag von Tiemo Hollmann TB via use-livecode
> Gesendet: Donnerstag, 2. Februar 2017 12:13
> An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
> Cc: Tiemo Hollmann TB <toolb...@kestner.de>
> Betreff: Different result in LC 6 to LC 8 when copying field text into 
> Excel?
> 
> Hello,
> 
> I have a standard scrolling list field with multiple lines of text. I 
> copy the text by:
> 
> *set the clipboarddata["text"] to fld "List"*
> 
> The User now can past the text into MS Excel on Windows. With LC 6 the 
> text was pasted into Excel line by line, as it showed up in LC. In LC 
> 8.1.2 the text is pasted with an extra space line between each two lines.
> 
> I checked the line ends in both versions. There is only one "LF"
> (byteToNum=10) at the end of each line and it looks the same in both 
> versions.
> 
> What has changed in LC 8 to cause such a different behavior? Is this 
> again a Unicode thing what I don't understand? I already tried 
> different clipboarddata keys, without success.
> 
> It can't be an Excel option, because I tested it with the same Excel 
> version on the same machine.
> 
> Any idea, what has to be changed to get the same clipboard result as 
> in LC 6?
> 
> Thank you
> 
> Tiemo
> 
> 
> 
> 
> 
> ___
> 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-

AW: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-08 Thread Tiemo Hollmann TB via use-livecode
Paul,
I tested a little bit more and this code works for me:
on mouseUp
   lock clipboard
   set the rawClipBoardData to empty
   set the rawClipboardData["CF_UNICODETEXT"] to textEncode(fld 1, "UTF-16" )
   unlock clipboard
end mouseUp

and the IDE doesn't crashes anymore.
BTW. The rawclipboarddata key is supposed to be ["CF_UNICODETEXT"] and not 
["CF_UNICODE"] as the docs say.

Thanks for your help
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Tiemo Hollmann TB via use-livecode
Gesendet: Mittwoch, 8. Februar 2017 09:33
An: 'How to use LiveCode' <use-livecode@lists.runrev.com>
Cc: Tiemo Hollmann TB <toolb...@kestner.de>
Betreff: AW: Different result in LC 6 to LC 8 when copying field text into 
Excel?

Hi Paul,

I test your approach, but when running the code in the DIE, LiveCode crashes 
immediatly. When debugging the code, it doesn't crashes, but stops at setting 
the rawclipboarddata with an error "clipboard is not locked".
This happens anyhow, if I am using "lock clipboard" or not.  I'll file it Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Paul Hibbert via use-livecode
Gesendet: Dienstag, 7. Februar 2017 22:11
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Paul Hibbert <p...@livecode.org>
Betreff: Re: Different result in LC 6 to LC 8 when copying field text into 
Excel?

Tiemo,

I’m not sure if this will help because I’m testing on Mac, but I did a little 
bit of experimenting with the new ‘rawClipboardData’, it allows plain text to 
be copied out of LC, just to prove it, here’s a button script copied via my now 
modified Script Buddy plugin…

on mouseUp
   local tClip

   if the selectedText is empty then
  set the clipBoardData["text"] to fld “myTextField"
   else
  copy the selectedText
   end if
   
   if the altKey is down then -- Convert the clipBoard to plain text
  put the clipBoardData["text"] into tClip
  lock the clipBoard
  ## Use some code lifted from the LiveCode Dictionary…
  set the rawClipBoardData to empty -- Clear ALL ClipboardData
  if the platform is "Linux" then set the 
rawClipboardData["text/plain;charset=utf-8"] \
to textEncode(tClip, "UTF-8" ) -- Linux
  if the platform is "Win32" then set the rawClipboardData["CF_UNICODE"] \
to textEncode(tClip, "UTF-16" ) -- Windows
  if the platform is "MacOS" then set the 
rawClipboardData["public.utf8-plain-text"] \
to textEncode(tClip, "UTF-8" ) -- OSX
  unlock the clipboard
   end if
end mouseUp

At last, no extra line spacing! :-)

Normally when I paste from LC into Mail I see extra line spacing, and I would 
have to copy and paste via a plain text editor to remove it. Emptying the 
clipBoard and setting the rawClipboardData as above seems to work, on Mac at 
least, hopefully it should work with Excel on Windows too.

Paul




> On Feb 3, 2017, at 6:25 AM, Tiemo Hollmann TB via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Can anybody on Windows with LC 8 confirm this:
> 
> - create a new stack
> - create a scrolling list field
> - enter three lines of text, each with one word
> - enter into the message box: *set the clipboarddata["text"] to fld 1*
> - open MS Excel (in my case Windows 10, Excel 2013)
> - paste
> - see an extra empty line between each line of text
> 
> Pasted in a text editor there are no extra lines and up to LC 7 there 
> also was no extra line in Excel.
> 
> Can anybody confirm this behavior or even has an idea for a workaround?
> 
> Thanks
> Tiemo
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
> Auftrag von Tiemo Hollmann TB via use-livecode
> Gesendet: Donnerstag, 2. Februar 2017 12:13
> An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
> Cc: Tiemo Hollmann TB <toolb...@kestner.de>
> Betreff: Different result in LC 6 to LC 8 when copying field text into 
> Excel?
> 
> Hello,
> 
> I have a standard scrolling list field with multiple lines of text. I 
> copy the text by:
> 
> *set the clipboarddata["text"] to fld "List"*
> 
> The User now can past the text into MS Excel on Windows. With LC 6 the 
> text was pasted into Excel line by line, as it showed up in LC. In LC
> 8.1.2 the text is pasted with an extra space line between each two lines.
> 
> I checked the line ends in both versions. There is only one "LF"
> (byteToNum=10) at the end of each line and it looks the same in both 
> version

AW: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-03 Thread Tiemo Hollmann TB via use-livecode
Can anybody on Windows with LC 8 confirm this:

- create a new stack
- create a scrolling list field
- enter three lines of text, each with one word
- enter into the message box: *set the clipboarddata["text"] to fld 1*
- open MS Excel (in my case Windows 10, Excel 2013)
- paste
- see an extra empty line between each line of text

Pasted in a text editor there are no extra lines and up to LC 7 there also
was no extra line in Excel.

Can anybody confirm this behavior or even has an idea for a workaround?

Thanks
Tiemo



-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB via use-livecode
Gesendet: Donnerstag, 2. Februar 2017 12:13
An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
Cc: Tiemo Hollmann TB <toolb...@kestner.de>
Betreff: Different result in LC 6 to LC 8 when copying field text into
Excel?

Hello,

I have a standard scrolling list field with multiple lines of text. I copy
the text by:

*set the clipboarddata["text"] to fld "List"*

The User now can past the text into MS Excel on Windows. With LC 6 the text
was pasted into Excel line by line, as it showed up in LC. In LC 8.1.2 the
text is pasted with an extra space line between each two lines.

I checked the line ends in both versions. There is only one "LF"
(byteToNum=10) at the end of each line and it looks the same in both
versions.

What has changed in LC 8 to cause such a different behavior? Is this again a
Unicode thing what I don't understand? I already tried different
clipboarddata keys, without success.

It can't be an Excel option, because I tested it with the same Excel version
on the same machine.

Any idea, what has to be changed to get the same clipboard result as in LC
6?

Thank you

Tiemo

 

 

___
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


AW: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-03 Thread Tiemo Hollmann TB via use-livecode
the headquarter could confirm this interaction to Excel bug and pointed me
to the workaround with "paste special as text"
Tiemo 

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB via use-livecode
Gesendet: Freitag, 3. Februar 2017 15:26
An: 'How to use LiveCode' <use-livecode@lists.runrev.com>
Cc: Tiemo Hollmann TB <toolb...@kestner.de>
Betreff: AW: Different result in LC 6 to LC 8 when copying field text into
Excel?

Can anybody on Windows with LC 8 confirm this:

- create a new stack
- create a scrolling list field
- enter three lines of text, each with one word
- enter into the message box: *set the clipboarddata["text"] to fld 1*
- open MS Excel (in my case Windows 10, Excel 2013)
- paste
- see an extra empty line between each line of text

Pasted in a text editor there are no extra lines and up to LC 7 there also
was no extra line in Excel.

Can anybody confirm this behavior or even has an idea for a workaround?

Thanks
Tiemo



-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB via use-livecode
Gesendet: Donnerstag, 2. Februar 2017 12:13
An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
Cc: Tiemo Hollmann TB <toolb...@kestner.de>
Betreff: Different result in LC 6 to LC 8 when copying field text into
Excel?

Hello,

I have a standard scrolling list field with multiple lines of text. I copy
the text by:

*set the clipboarddata["text"] to fld "List"*

The User now can past the text into MS Excel on Windows. With LC 6 the text
was pasted into Excel line by line, as it showed up in LC. In LC 8.1.2 the
text is pasted with an extra space line between each two lines.

I checked the line ends in both versions. There is only one "LF"
(byteToNum=10) at the end of each line and it looks the same in both
versions.

What has changed in LC 8 to cause such a different behavior? Is this again a
Unicode thing what I don't understand? I already tried different
clipboarddata keys, without success.

It can't be an Excel option, because I tested it with the same Excel version
on the same machine.

Any idea, what has to be changed to get the same clipboard result as in LC
6?

Thank you

Tiemo

 

 

___
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


AW: Boring but important - selling a download product for Windows

2017-01-23 Thread Tiemo Hollmann TB via use-livecode
Hi Graham,
I do it just this way - creating a signed installer, zip it and upload it for 
download. Offering an installer exe without having zipped it, will always be 
detected as potentially harmful. The remaining support is for users, who don't 
know how to handle a zip file
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Graham Samuel via use-livecode
Gesendet: Sonntag, 22. Januar 2017 20:59
An: How to use LiveCode 
Cc: Graham Samuel 
Betreff: Re: Boring but important - selling a download product for Windows

Well Roger, I agree with you - that’s why I went all the way with code signing 
and creating an installer. But the Norton Catch-22 ("not many people have used 
this software so we’re going to delete it until more people have used it…”) a 
small developer is in an impossible position, it seems to me. And even Google 
Chrome is hostile to .exe files even if they’re code signed. That’s why I was 
looking for any other solution. Is there a better way?

Graham

BTW none of these problems seem to exist on the Mac. Code signing is enough to 
make an installer acceptable to OSX.



> On 22 Jan 2017, at 16:06, Roger Eller via use-livecode 
>  wrote:
> 
> I tend to disagree with the consensus to use zip files on Windows.  
> Nothing screams UNPROFESSIONAL more than not having an installer that 
> is standard for the platform you are installing to.
> 
> ~Roger
> 
> On Jan 22, 2017 8:06 AM, "Richmond Mathewson via use-livecode" < 
> use-livecode@lists.runrev.com> wrote:
> 
>> How about downloading a zip file from a DropBox account?
>> 
>> Richmond.
>> 
>> On 1/22/17 2:59 pm, Graham Samuel via use-livecode wrote:
>> 
>>> Just to report on how this method worked for me: I chose to have a 
>>> web page from which the zipped file is downloaded. This worked fine, 
>>> but not without warnings. The browser of choice, Chrome, offered to 
>>> discard the file, but this was easy to ignore; then either when the 
>>> zipped file was an installer or when it was just the original 
>>> standalone, Norton intervened to prevent it running, but at least 
>>> gave an option to “Run this program anyway”. So I do need to put a 
>>> number of warnings on my web site, but at least it is less painful than 
>>> before.
>>> 
>>> In another mail in this thread, answering Richmond, I speculate that 
>>> the zip file could be delivered via an email attachment. I tried 
>>> this, and although it seemed to get rid of Chrome’s objection (I was 
>>> using webmail via Chrome), Norton made the same intervention. So 
>>> that path is probably not worth going down.
>>> 
>>> Anyway this method certainly improves things, so that’s the one I’m 
>>> going to use. Pity that code signing doesn’t just sweep this all 
>>> away, but I suppose to really help naive users there should also be 
>>> a kind of “harmlessness certificate”, which AFAIK doesn’t exist.
>>> 
>>> Graham
>>> 
>>> On 21 Jan 2017, at 23:37, Graham Samuel via use-livecode <
 use-livecode@lists.runrev.com> wrote:
 
 Wow, Jacque, that is such a great idea. Too late where I am to try 
 it out tonight, but I will certainly try it tomorrow.
 
 Thanks so much
 
 Graham
 
 On 21 Jan 2017, at 20:59, J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
> On 1/21/17 1:43 PM, Graham Samuel via use-livecode wrote:
> 
>> My question is, what do other people do about this? If you 
>> generate a new desktop program for Windows and try to sell it as 
>> a download, how can you strip away all this nonsense for the average 
>> purchaser?
>> 
> One of my clients said she'd had it with Windows installers and 
> now ships the product as a zip file. The user is instructed to 
> move the app folder out of the zip folder. This is just about the 
> only hitch in the process, because Windows presents the zip folder 
> as a regular folder and users think they can just double-click the app 
> inside the zip archive.
> 
> Other than instructing naive Windows users to drag the app folder 
> out of the zip archive, there have been virtually no other issues. 
> The signed app itself works fine without interference from the OS.
> 
> Windows users have become used to installers and expect them, but 
> if your app is self-contained and doesn't require changing 
> registry keys or other OS-level stuff, it works pretty well. I 
> know that's not what you asked, but that's how we solved it.
> 
> --
> 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, 

AW: can't open file on web server

2017-01-27 Thread Tiemo Hollmann TB via use-livecode
Hi Malte,
thanks, that worked.
Perhaps an issue fort he docs
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Malte Brill via use-livecode
Gesendet: Donnerstag, 26. Januar 2017 13:36
An: use-livecode@lists.runrev.com
Cc: Malte Brill 
Betreff: Re: can't open file on web server

Hi Tiemo,

did you try the URL directly without using the binfile keyword?

put URL „http://www.somServer/someImage.jpg 
“ into img „myImage“ ? This works here. If 
you are using either the file or binfile keyword you are indicating file access 
to the engine, which might work with a UNC path, not if the protocoll for 
transmission is http though. 

Hope that helps,

Malte

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


___
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

can't open file on web server

2017-01-26 Thread Tiemo Hollmann TB via use-livecode
Hello,

I have a field "MediaFileLink", the content is a URL to an image on a web
server like "http://myServer/myPath/myImage.jpg;

this works in IDE:

*set the filename of img "productimage" to field "MediaFileLink"*

This works not in IDE:

*put URL ("binfile:" & field "MediaFileLink) into image "productimage"*

Also not hard coded:

*put URL ("binfile:http://myServer/myPath/myImage.jpg;) into image
"productimage"*

I get as a result "can't open file"

 

Any idea, why those images can't be opened by LiveCode with the keyword URL
(I am not aware of having locked those images on the server) and why it
works by setting the filename?

Thanks

Tiemo

 

 

 

 

___
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: AW: AW: Why do I still need MacToISO, when working with UTF-8?

2017-01-17 Thread Tiemo Hollmann TB via use-livecode
Yep.
And no, I didn't tested textEncode(myFile,"CP1252")
Tiemo



-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Kay C Lan via use-livecode
Gesendet: Mittwoch, 18. Januar 2017 05:36
An: How to use LiveCode 
Cc: Kay C Lan 
Betreff: Re: AW: AW: Why do I still need MacToISO, when working with UTF-8?

On Tue, Jan 17, 2017 at 1:24 AM, Mark Waddingham via use-livecode
 wrote:
>
> However, the 'endpoints' (i.e. where the developer can 'see' encoded 
> text output - e.g. when writing to a file, or encoding for a URL) had 
> to remain as before otherwise all existing applications using anything 
> other than ASCII text would have broken when moving from 6.7 -> 7.0.
>
But isn't that the point of Tiemo's confusion - his scripts broke when
moving to 7.0! Prior to 7.0 he didn't have to do anything, it all 'just
worked'. When he moved to 7.0 where 'unicode' was suppose to 'just work' on
all platforms, he's used textEncode/textDecode to/from
UTF8 and it's not working for him (on Mac), instead he's found macToISO
(MacRoman to Latin 1) is working for him, which seems to be a step
backwards.

There must be something more hidden in his scripts or PHP.

I wonder if he replaced macToISO(myFile) with
textEncode(myFile,"CP1252") he'd get the same result. If so, it may suggest
that everything is expecting Latin 1, not unicode.

___
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


AW: What has changed in MacOS 10.12 in handling code pages?

2017-01-18 Thread Tiemo Hollmann TB via use-livecode
Hi Kay C,
Good guess, but it's a stack with the old standard LC font Tahoma, which was
installed on my machine with OS X 10.11 and still is installed in 10.12. The
issue also occurs in answer dialogs, where I havn't (can't) explicitely set
the font.
And the problem only occurs in standalones of <= 2013. The same program
compilied with one of the next versions of >= 2014 looks fine, without
having changed anything with fonts. So the issue is solved for my current
development, but is a great annoyance for all my customers out there with
old versions, because this bug makes my program unusable for all of them.
Tiemo




-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Kay C Lan via use-livecode
Gesendet: Mittwoch, 18. Januar 2017 06:25
An: How to use LiveCode 
Cc: Kay C Lan 
Betreff: Re: What has changed in MacOS 10.12 in handling code pages?

I was thinking that this might have something to do with the installed fonts
you have and maybe some sort of substitution if the font you used with your
pre-10.12 install is not available with your new install.

Interestingly I've just done a test and got a rather unusual result when
trying to test this theory.

In LC 6.6.5 on OS X 10.11.6 I created a new stack, dragged a field onto it
(i.e. no font specified for the field) and then in the msg
box:

put the effective textFont of field 1
--the result is 'Lucidia Grande'

In LC 9.0.0 dp4 on the same machine if I do the same thing the result is
'(Text)'

If I go into the LC 9 Object Inspector to set the Font of the newly created
field there are a bunch of entries at the top, which you don't get in 6.6.5,
like:
(Default)
(System)
(Text)
(Styled Text)

If I choose a specific font then understandably doing:
put the effective textFont of field 1
-- result is whatever specific font I've chosen.

In the Dictionary the LC6 entry differs from the LC9 entry but both contain
this statement:

On Mac OS systems, if the specified font isn't available, the system font
(which is set in the Appearance control panel and specifies the font used
for menus) is used.

I think that is an old reference to the Classic OS as there is no such thing
as an Appearance Control Panel anymore and you can't set the font of menus.

I'm still leaning towards what fonts you have installed, maybe 10.12 handles
substitution differently than 10.11 and earlier. And somewhere along the way
LC has changed the way it handles and reports situations where no font is
specified - as there are obviously now more default possibilities and the
Dictionary doesn't explain how you might end up with (Default) as opposed to
(Text)

___
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


AW: Another naive question about code signing

2017-01-16 Thread Tiemo Hollmann TB via use-livecode
Hi Graham,
as I understand you, you are concerned, why there are still warnings, though 
you have signed your installer. That is standard since Win 7. The "only" 
difference is, that the warnings show the text "... of the trusted developer 
xy" instead of "... of unknown developer". But you can't get rid of the 
warnings. Actually the "warnings" are just a request if you are a human being 
and really want to install the wanted software, so that no bot can install a 
software "under the hood" without notice.

Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Graham Samuel via use-livecode
Gesendet: Sonntag, 15. Januar 2017 17:40
An: How to use LiveCode 
Cc: Graham Samuel 
Betreff: Re: Another naive question about code signing

Matthias, I took your advice. I don’t use tsnet so that wasn’t a difficulty for 
me. So what I did was to sign the standalone (this was Windows, so it was a 
.exe file), then create the installer and sign that. I used Ksign for these 
processes.

I then went through the process of downloading and running the installer and 
was disappointed to see a few warnings, both from Windows and from Norton, 
concerning the installer. Eventually I did the install and started the program 
itself, and Windows did report that it was from a trusted publisher.

Is this the best that I can get, or have I missed a step somewhere? Where I’m 
at at the moment, I think the process could still scare users.

If you’ve got time perhaps you can clarify this for me further - I’d be 
grateful.

TIA

Graham

> On 14 Jan 2017, at 23:04, Matthias Rebbe via use-livecode 
>  wrote:
> 
> Graham,
> 
> first you have to sign the standalone with all externals. If you are using 
> Ksign.exe then just add the folder,which contains the standalone and its 
> subfolders, in Ksign.
> Please be aware that if your standalone make use of the tsNet external,then 
> you have to change the file attributes of tsnet.dll to be writable before you 
> codesign it. Otherwise Ksign.exe will not be able to sign the tsnet.dll.
> tsnet.dll by default is read only. At least if the Windows standalone is 
> created  on Mac.
> 
> After you have signed the standalone and its externals create the installer 
> and codesign that exe again. 
> 
> That´s how i am doing it.
> 
> Regards,
> 
> Matthias
> 
> 
> 
>> Am 14.01.2017 um 19:47 schrieb Graham Samuel via use-livecode 
>> >:
>> 
>> Having taken a lot of advice from this list and after a delay getting 
>> certificates, I’m about to do some actual code signing for an app that has a 
>> Windows and a Mac version. I am so unsure about the process that i don’t 
>> understand whether I apply the process (let’s say with Ksign for Windows) to 
>> the installer or the app itself.
>> 
>> In my case the installer installs additional files apart from the executable 
>> (all neatly packaged up in the Mac version of course, but separate in the 
>> Windows one). Since an installer is itself executable, I suppose starting an 
>> installer will generate those irritating warnings (yes, I know, they are for 
>> my users’ benefit, but still…) - on that basis, should the installer be 
>> signed? Or should I codesign everything, executables, additional files 
>> (these can be stacks, which are in some sense executable) and the installer 
>> too? I think the latter, but I’m not sure.
>> 
>> This must be blindingly obvious to everyone else, but it is not easy to get 
>> a simple answer from the internet. Of course I will just do it and see what 
>> happens, but I would be glad to understand what ‘normal practice’ might be.
>> 
>> Graham
>> ___
>> 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

Why do I still need MacToISO, when working with UTF-8?

2017-01-16 Thread Tiemo Hollmann TB via use-livecode
Hello,

Probably my knowledge about code sets is too limited. My thinking was, that
UTF-8 includes the same characters above ASCII 128 independent of the
platform and makes data transfer between different platform compatible
without conversion of a char set. Migrating a LC 6 program to LC 8 I just
recently needed an extra MacToISO(), before passing a text from my UTF-8 LC
8  program via PHP to a UTF-8 MySQL db on a Unix server.

 

Now my German Umlaute don't get corrupted in the MySQL db and everything is
fine, but I would like to understand the technical background. Why do I
still need MacToISO() in LC 8 on a Mac and even worse, I didn't needed it in
LC 6 in the same program. What am I missing here?

 

Thanks for rerailing me

Tiemo

 

 

 

___
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: Why do I still need MacToISO, when working with UTF-8?

2017-01-16 Thread Tiemo Hollmann TB via use-livecode
Hi Mark,

as a simplified pseudo code it looks like this:

*put fld "name" into myName*
-- ...
*open file myFile for binary write*
*write myName to file myFile*
*close file myFile*
-- ...
*open file myFile for binary read*
*read from file myFile until EOF*
*close file myFile*
*put it into myName*
-- ...
*if the platform is "MacOS" then put macToISO(theName) into theName*
*put URL ("http://myUser:myPW@myURL; & "mySQL.php?" & URLEncode(theName))
into rslt*
-- mySQL.php writes to a MySQL db, where theName column is encoded as
"utf8_general_ci"
-- ...
Without macToISO on a Mac client theName enters corrupted in the mySQL db

Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Mark Waddingham via use-livecode
Gesendet: Montag, 16. Januar 2017 14:45
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Mark Waddingham <m...@livecode.com>
Betreff: Re: Why do I still need MacToISO, when working with UTF-8?

Hi Tiemo,

On 2017-01-16 11:57, Tiemo Hollmann TB via use-livecode wrote:
> Now my German Umlaute don't get corrupted in the MySQL db and 
> everything is fine, but I would like to understand the technical 
> background. Why do I still need MacToISO() in LC 8 on a Mac and even 
> worse, I didn't needed it in LC 6 in the same program. What am I 
> missing here?

Can you explain (with code examples if possible) what you are calling
MacToIso() on, and how you are using its output?

It isn't entirely clear exactly what steps you are taking in your previous
email and it sounds like the problem is at the point of LC's communication
with PHP, rather than within LC.

Thanks in advance!

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


___
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: AW: Why do I still need MacToISO, when working with UTF-8?

2017-01-16 Thread Tiemo Hollmann TB via use-livecode
Hi Mark,
thank you for taking your time and clarifying. I wasn't aware that the
internal format on a Mac client is MacRoman. I thought it would be a
"neutral" UTF-8 format.
Thanks
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Mark Waddingham via use-livecode
Gesendet: Montag, 16. Januar 2017 17:42
An: How to use LiveCode 
Cc: Mark Waddingham 
Betreff: Re: AW: Why do I still need MacToISO, when working with UTF-8?

Hi Tiemo,

Okay so, I'm assuming that all this code is running on the Mac client...

> *put fld "name" into myName*

At this point myName contains a (text) string - thus encoding issues don't
exist (you should think of text strings in memory as being stored in an
'encoding neutral' format).

> *open file myFile for binary write*
> *write myName to file myFile*
> *close file myFile*

This piece of code will open a file on disk in the native encoding of the
platform - so MacRoman. It will convert this from the internal encoding to
MacRoman on writing. Thus your text file will be a MacRoman encoded text
file.

> *open file myFile for binary read*
> *read from file myFile until EOF*
> *close file myFile*
> *put it into myName*

This piece of code will read from a file on disk and assume that it is in
the native encoding of the platform - so, in this case, MacRoman. It will
convert the content of the file from that to the internal encoding.

Up to this point - because you saved and loaded the file on the same
platform the content of myName should be as you expect -- unchanged.

> *if the platform is "MacOS" then put macToISO(theName) into theName*

When run on Mac this line will execute and do the following:

1) Convert theName to a binary string - this uses the native platform
encoding (MacRoman)
2) Map each byte from the MacRoman code index to the ISO Latin-1 code
index

This essentially converts theName from a text string to a binary string
encoded in Latin-1.

> *put URL ("http://myUser:myPW@myURL; & "mySQL.php?" &
> URLEncode(theName))
> into rslt*

This line constructs the URL - it is making the assumption that PHP (at the
other end) will interpret the bytes after the '?' as representing
Latin-1 encoded text.

> Without macToISO on a Mac client theName enters corrupted in the mySQL 
> db

This is most likely because PHP is defaulting to 8859-1 or Latin-1 as the
encoding used in URLEncoded fields in a URL. If you don't do MacToIso, then
you will be passing up MacRoman encoded text (URLencoded) to PHP, which can
happily be decoded as Latin-1 or 8859-1 (Latin-1 is a superset of 8859-1),
but with some chars (such as accented letters) in different places.

What you need to do here is explicitly UTF8 encode theName before passing it
to URLEncode, then explicitly decode it as UTF8 on the PHP side (or set a
property in PHP which changes the default assumption about URLs - I
apologise for not being more accurate here, my knowledge of PHP is a little
stale these days!).

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


___
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: Why do I still need MacToISO, when working with UTF-8?

2017-01-16 Thread Tiemo Hollmann TB via use-livecode
This is what I originally tested first (see my original post), but it didn't
worked. The Umlaute (coming from a Mac client) entered the mySQL db
corrupted. I don't know, if I could configure anything in my PHP or my db
different to make this solution work. But since everything worked always
fine with a windows client, I didn't wanted to change anything in my PHP or
MySQL and so the MacToISO() conversion on a Mac client is a good solution
for my case.
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Mark Waddingham via use-livecode
Gesendet: Montag, 16. Januar 2017 18:30
An: How to use LiveCode 
Cc: Mark Waddingham 
Betreff: Re: Why do I still need MacToISO, when working with UTF-8?

Hi Matthias,

On 2017-01-16 18:25, Matthias Rebbe via use-livecode wrote:
> It would have been nice if you had also put some sample code for how 
> to UTF8 encode the string.
> That would have made your explanations complete. ;)

Sure - here is how I'd slightly adjust Tiemo's code:

*put fld "name" into myName*
-- ...
*open file myFile for binary write*
*write textEncode(myName, "utf8") to file myFile* *close file myFile*
-- ...
*open file myFile for binary read*
*read from file myFile until EOF*
*close file myFile*
*put textDecode(it, "utf8") into myName*
-- ...
*put URL ("http://myUser:myPW@myURL; & "mySQL.php?" &
URLEncode(textEncode(theName, "utf8"))) into rslt*
-- mySQL.php writes to a MySQL db, where theName column is encoded as
"utf8_general_ci"

The missing piece here is PHP configuration on the other side. I'm assuming
that PHP is doing the following:
1) URLDecode the part after '?' into bytes
2) Interpret the bytes as Latin-1 encoded text
3) Passing the text string to the appropriate MySQL function
4) The MySQL function is converting the text string to UTF-8

This may or may not be the case. If 'theName' is encoded as UTF8 before
being URLEncode, all that needs to be checked is that the PHP (on the other
end) is decoding it into a string as UTF-8 before passing it to MySQL.

Warmest egards,

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


___
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


What has changed in MacOS 10.12 in handling code pages?

2017-01-17 Thread Tiemo Hollmann TB via use-livecode
Hello,

while testing my migration to LC 8 and successfully solved the MacToISO
issue, I now encounter that the old LC 6 standalone version of my program
shows all Umlaute corrupted in all LC screens, This affects all buttons and
field, where Umlaute are used. The weired thing is, that this is a program,
which runs since years without any issues with Umlaute. Without having
changed anything, just migrated from OS X 10.11 to MacOS 10.12 all Umlaute
are shown corrupted in LC standalone (nothing with ext. files, PHP or MySQL,
just pure LC), which worked fine up to now.

Is there anything known, that Apple has changed something general, what
would cause such a behavior in LC, or any other idea what to look for?

Thanks

Tiemo

You glad guys in the US, getting along with just 128 ASCII codes.

 

 

___
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: What has changed in MacOS 10.12 in handling code pages?

2017-01-17 Thread Tiemo Hollmann TB via use-livecode
Isn't that crazy? We are logging year 2017 and are still struggling with
code pages, as far as you are not American, as in 1987 or 1997 or 2007 and
probably still in 2027 and 2037.
Who was so short brained to invent ASCII?
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Malte Brill via use-livecode
Gesendet: Dienstag, 17. Januar 2017 12:43
An: use-livecode@lists.runrev.com
Cc: Malte Brill 
Betreff: Re: What has changed in MacOS 10.12 in handling code pages? 

Hi Tiemo,

I do not know what changed, but I see the same. Earliest version to fix this
is 6.7.6 as far as I can tell.

Cheers,

Malte


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


___
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: What has changed in MacOS 10.12 in handling code pages?

2017-01-17 Thread Tiemo Hollmann TB via use-livecode
Obviously it is the LC roulette, which version you have created your
standalone
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Klaus major-k via use-livecode
Gesendet: Dienstag, 17. Januar 2017 12:51
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Klaus major-k <kl...@major-k.de>
Betreff: Re: What has changed in MacOS 10.12 in handling code pages?

Hi Tiemo,

> Am 17.01.2017 um 11:07 schrieb Tiemo Hollmann TB via use-livecode
<use-livecode@lists.runrev.com>:
> 
> Hello,
> 
> while testing my migration to LC 8 and successfully solved the 
> MacToISO issue, I now encounter that the old LC 6 standalone version 
> of my program shows all Umlaute corrupted in all LC screens, This 
> affects all buttons and field, where Umlaute are used. The weired 
> thing is, that this is a program, which runs since years without any 
> issues with Umlaute. Without having changed anything, just migrated 
> from OS X 10.11 to MacOS 10.12 all Umlaute are shown corrupted in LC 
> standalone (nothing with ext. files, PHP or MySQL, just pure LC), which
worked fine up to now.
> 
> Is there anything known, that Apple has changed something general, 
> what would cause such a behavior in LC, or any other idea what to look
for?

just tested an old standalone (The Exporter), built with LC 5.5.x and all
Umlauts are correctly displayed in buttons and fields.

I'm on macOS 10.12.2.

> Thanks
> 
> Tiemo

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


___
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: What has changed in MacOS 10.12 in handling code pages?

2017-01-20 Thread Tiemo Hollmann TB via use-livecode
Sure, for me it is natural and I do those checks myself.

But not for most of my customers, who partially just know, where to turn
on/off their computer. Even in the system requirements I never write (as
most do) MIN OS X 10.x, but OS X 10.x to 10.y. But at last nobody ever reads
that or cares about that. They are just upset, if my software doesn't run
anymore on a new system, while "all other software runs fine" ...
So it's always my problem. But not to tell about development for Android...
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Kay C Lan via use-livecode
Gesendet: Freitag, 20. Januar 2017 13:15
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Kay C Lan <lan.kc.macm...@gmail.com>
Betreff: Re: What has changed in MacOS 10.12 in handling code pages?

On Wed, Jan 18, 2017 at 3:58 PM, Tiemo Hollmann TB via use-livecode
<use-livecode@lists.runrev.com> wrote:
>So the issue is solved for my current
> development, but is a great annoyance for all my customers out there 
>with  old versions, because this bug makes my program unusable for all of
them.

So isn't that normal software evolution? With every OS X upgrade most
software vendors have to tweak their product to make it compatible with the
latest and greatest. I usually wait until OS x.2 before scanning the
websites of my most needed software to confirm they are compatible before
I'll consider upgrading my OS.

I think some software developers bank on this 'need to update' to maintain a
revenue stream.

Granted, having fonts display abnormally isn't something I've ever heard of
before.

___
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


I need help with UTF-8

2017-01-12 Thread Tiemo Hollmann TB via use-livecode
Hello,

 

I am migrating a LC 6 program to LC 8 and shortly before release, after I
thought I have made all hurdles I am again lost with Mac - LC 8 - PHP -
MySQL -UTF-8 and German Umlaute (the MySQL name field is "utf8_general_ci"
coded):

Scenario 1 (without local file):

-  Entering a name with Umlaute in LC: ok

-  Checking the name in LC: ok

-  Passing the name to PHP and writing it to a MySQL db: ok

This works fine, without any changes in LC 6 and LC 8

 

Scenario 2 (with local file, without textencode):

-  Entering a name with Umlaute in LC: ok

-  Writing it to a local file

-  Reading it from a local file

-  Checking the name in LC: ok

-  Passing the name to PHP and writing it to a MySQL db: corrupted

This works fine in LC 6 on Win and Mac. In LC 8 on Windows it is also ok,
but running the program on MacOS 10.12, the Umlaute enter the MySQL database
corrupted.

 

Scenario 3 (textEncode before passing to PHP):

-  Entering a name with Umlaute in LC

-  Writing it to a local file

-  Reading it from a local file

-  textEncode() the content for the file: coruppted

-  Passing the name to PHP and writing it to a MySQL db: coruppted

 

Scenario 4 (textEncode/Decode for local file and PHP):

-  Entering a name with Umlaute in LC

-  textEncode() the content for the file: coruppted

-  Writing it to a local file

-  Reading it from a local file

-  textDecode() the content from the file: corrupted

-  Alternativily additional: textEncode() the content from the file:
corrupted

-  Passing the name to PHP and writing it to a MySQL db: coruppted

 

It seems that I still havn't understood UTF-8 handling in LC

Where is my fault? And why is it working on Windows and not on Mac?

Thanks for any help!

Tiemo

 

 

 

 

 

 

 

 

___
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: I need help with UTF-8

2017-01-13 Thread Tiemo Hollmann TB via use-livecode
Hi Kay C,

I have checked the db data directly with phpMyAdmin and additionally with a
LC Client connected to my db.
Both show, that the Umlaute are correct, when having written it directly to
the db from a LC field input, but are corrupted, when having written it
first to a local file and then read it from the file and written it to the
MySQL.

The PHP and MySQL part was made by a third party and my knowledge is very
limited to this part. I can see that the db field is coded in
"utf8_general_ci" but in the PHP I don't find any differentiation between
Windows and Mac.

The db Client is my LC program. I am not aware of having set the LC program
to any charset (though it is pretty old and complex). How could I set the
client to a special charset? What syntax could I search for?

Thank you

Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Kay C Lan via use-livecode
Gesendet: Freitag, 13. Januar 2017 04:56
An: How to use LiveCode 
Cc: Kay C Lan 
Betreff: Re: I need help with UTF-8

We may need to see your actual scripts to determine where the problem may
be. Also, how do you know that your MySQL db data is corrupt?
What program are you using to look at it? How was the db set up in the first
place; what character set and collation? Is it possible that your Windows db
Client is set to UTF8 whilst your Mac db Client is set to MacRoman?

___
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


AW: I need help with UTF-8

2017-01-13 Thread Tiemo Hollmann TB via use-livecode
I think I found the solution by adding a macToISO() conversion to the string
passing to the PHP.
I have no idea, why this wasn't necessary in LC 6, probably I will never
fully understand the LC UTF mechanism
Thanks for caring
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB via use-livecode
Gesendet: Freitag, 13. Januar 2017 09:58
An: 'How to use LiveCode' <use-livecode@lists.runrev.com>
Cc: Tiemo Hollmann TB <toolb...@kestner.de>
Betreff: AW: I need help with UTF-8

Hi Kay C,

I have checked the db data directly with phpMyAdmin and additionally with a
LC Client connected to my db.
Both show, that the Umlaute are correct, when having written it directly to
the db from a LC field input, but are corrupted, when having written it
first to a local file and then read it from the file and written it to the
MySQL.

The PHP and MySQL part was made by a third party and my knowledge is very
limited to this part. I can see that the db field is coded in
"utf8_general_ci" but in the PHP I don't find any differentiation between
Windows and Mac.

The db Client is my LC program. I am not aware of having set the LC program
to any charset (though it is pretty old and complex). How could I set the
client to a special charset? What syntax could I search for?

Thank you

Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Kay C Lan via use-livecode
Gesendet: Freitag, 13. Januar 2017 04:56
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Kay C Lan <lan.kc.macm...@gmail.com>
Betreff: Re: I need help with UTF-8

We may need to see your actual scripts to determine where the problem may
be. Also, how do you know that your MySQL db data is corrupt?
What program are you using to look at it? How was the db set up in the first
place; what character set and collation? Is it possible that your Windows db
Client is set to UTF8 whilst your Mac db Client is set to MacRoman?

___
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


Codesigning issue with revxml.bundle in LC 8

2017-01-05 Thread Tiemo Hollmann TB via use-livecode
Hello,

On MacOS Sierra I am just trying to codesign a new version with LC 8.1.2 of
an old program, which I have codesigned successfully in the past.

I do the codesigning manually via terminal like: codesign -s
"myCertificateName" --deep --force myApp

Today I get the error "resource forke, Finder information, or similar
detritus not allowed In subcomponent: revxml.bundle" What does it want me to
do?

In the past I need to delete manually the plist of the rev bundles, then it
worked. Today I get the same error with/without the revxml plist. Any idea,
what is going wrong here? I have no clue, if it is Sierra, LC 8, the rev
bundle or whatever. Any help appreciated

Tiemo

 

 

 

___
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: Codesigning issue with revxml.bundle in LC 8

2017-01-05 Thread Tiemo Hollmann TB via use-livecode
Hi Mark,

thank you for that helpful link.
After I gave rwx permission to the files with chmod I could successfully use
xattr -cr, whereafter I could "successfully" codesign my app without error.
But verifying the codesigning with spctl it shows me the error "a sealed
resource is missing or invalid" It doesn't show any hint, what resource is
missing. (I have a valentinadb, some rev bundles and some files included in
my app bundle).
Has anybody any idea on how to drill down what is missing here (what was no
problem on OS X 10.11)?
Any hints appreciated
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Mark Waddingham via use-livecode
Gesendet: Donnerstag, 5. Januar 2017 12:53
An: How to use LiveCode 
Cc: Mark Waddingham 
Betreff: Re: Codesigning issue with revxml.bundle in LC 8

Hi Tiemo,

> On MacOS Sierra I am just trying to codesign a new version with LC
> 8.1.2 of
> an old program, which I have codesigned successfully in the past.
> 
> I do the codesigning manually via terminal like: codesign -s 
> "myCertificateName" --deep --force myApp
> 
> Today I get the error "resource forke, Finder information, or similar 
> detritus not allowed In subcomponent: revxml.bundle" What does it want 
> me to do?

I think this is this problem:



Try doing:

   xattr -cr myApp

Before running codesign and see if it works. This command should clear out
any extended attributes on all files in your app bundle.

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


___
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: Codesigning issue with revxml.bundle in LC 8

2017-01-05 Thread Tiemo Hollmann TB via use-livecode
Hi Trevor,

yesss! It works, now the validation with spctl is valid. I didn't got any 
confirmation or feedback of you program, beside of a light "plop", if this is 
correct, then it worked :)

Just for my interest, what are you doing different with "sealed resources" as 
the native codesign?

Thank you for sharing you tool!

Tiemo



-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Trevor DeVore via use-livecode
Gesendet: Donnerstag, 5. Januar 2017 16:34
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Trevor DeVore <li...@mangomultimedia.com>
Betreff: Re: Codesigning issue with revxml.bundle in LC 8

On Thu, Jan 5, 2017 at 7:40 AM, Tiemo Hollmann TB via use-livecode < 
use-livecode@lists.runrev.com> wrote:

> thank you for that helpful link.
> After I gave rwx permission to the files with chmod I could 
> successfully use xattr -cr, whereafter I could "successfully" codesign 
> my app without error.
> But verifying the codesigning with spctl it shows me the error "a 
> sealed resource is missing or invalid" It doesn't show any hint, what 
> resource is missing. (I have a valentinadb, some rev bundles and some 
> files included in my app bundle).
> Has anybody any idea on how to drill down what is missing here (what 
> was no problem on OS X 10.11)?
> Any hints appreciated
>

Tiemo,

You might try signing the application using the script only stack that I posted 
here:’

https://gist.github.com/trevordevore/3e91724c4573690b691510d2e2dcd2a7

Does that work for you?

--
Trevor DeVore
ScreenSteps
www.screensteps.com-www.clarify-it.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

LC 8.1.2 Abnormal dialogs in standalone builder

2017-01-09 Thread Tiemo Hollmann TB via use-livecode
Hello,

 

LC 8.1.2 Win & Mac: sometimes I don't get the  "saved successfully" dialog
at the (successful) end of the standalone building process, but some other
dialogs. In a few cases I got the "do you want to save your changes, if not
they get lost" dialog, which usually comes at the beginning of the build
process. Strange to say, but these non standard dialogs don't have any
buttons to answer (just the message text), but I can hit return and they
vanish. In one case an answer dialog of my stack script appeared, which
usually comes up, after the whole program has run thru, but also without any
buttons.

 

Is this only me, or shall I file a bug?

 

Tiemo

 

 

 

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

2017-01-10 Thread Tiemo Hollmann TB via use-livecode
Hi Bill,

I have also experienced signings without error, which actually failed. After 
signing you should always verify the signing via terminal with:
spctl -a -t exec -vv 
so you don't need to make the way with your server.
Tiemo



-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
William Prothero via use-livecode
Gesendet: Dienstag, 10. Januar 2017 04:18
An: Use-livecode Use-livecode 
Cc: William Prothero 
Betreff: Re: Signing Problems

Folks:
Never mind…. Signing is such a pain. I think I’ve got it, though. Careful 
reading of the instructions always seems to win the day, in the end.
Bill

> On Jan 9, 2017, at 1:53 PM, William Prothero via use-livecode 
>  wrote:
> 
> Anybody:
> I’m trying to sign an App with AppWrapper 3, and it indicates that the app is 
> being signed successfully, but when I load it to my server, then download it, 
> I get the security alert.
> 
> I’m on OSX 10.11.6 and tried with Livecode versions 8.1.2 and 9.0.0 (dp4). 
> I’m wondering if these version will sign ok.
> 
> Any hints or info would be very helpful.
> 
> Thanks,
> Bill
> 
> 
> 
> William A. Prothero
> http://earthlearningsolution.org/
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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

differences between text/imagedata of image in LC6/8

2017-03-24 Thread Tiemo Hollmann TB via use-livecode
Hello,

in an old program I obviously tried to be very technically over correct when
copying an image and did:

1.   set the imagedata of img 2 to the imagedata of img 1

This worked up to LC 6.7. In LC8/9 I get a corrupted image (black and
stripes) in the target image.

What works in LC8/9 is

2.   set the text of img 2 to the text of img 1

and

3.   put img 1 into img 2

What is the correct syntax today? Is solution 2 and 3 the same and just an
alias (what it seems to me) or are there differences in details I do not
see?

And is there any explanation why the upward compatibility of solution 1 is
broken?

Thanks

Tiemo

 

 

 

 

 

 

 

___
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: differences between text/imagedata of image in LC6/8

2017-03-24 Thread Tiemo Hollmann TB via use-livecode
Thank you for the comprehensive explanation!
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Mark Waddingham via use-livecode
Gesendet: Freitag, 24. März 2017 11:58
An: How to use LiveCode 
Cc: Mark Waddingham 
Betreff: Re: differences between text/imagedata of image in LC6/8

Hi Tiemo,

> in an old program I obviously tried to be very technically over 
> correct when copying an image and did:
> 
> 1.   set the imagedata of img 2 to the imagedata of img 1
> 
> This worked up to LC 6.7. In LC8/9 I get a corrupted image (black and
> stripes) in the target image.

The imageData of an image is the extracted color values for the pixels in
the image. Specifically, it is a sequence of bytes with each pixel
represented as xRGB. These are the bytes which are applied to the screen
when the image is rendered and does not include any alpha data (which is
specified using the alphaData property). To set the imageData you need to
set the width and height of the field first.

> What works in LC8/9 is
> 
> 2.   set the text of img 2 to the text of img 1
> 
> and
> 
> 3.   put img 1 into img 2

Both of these do the same thing - (3) is short hand for (1).

The 'text' of an image is the original image data from a format such as PNG,
GIF etc.
i.e. the content of a PNG file or GIF file.

> What is the correct syntax today? Is solution 2 and 3 the same and 
> just an alias (what it seems to me) or are there differences in 
> details I do not see?

In general, (2) or (3) is better than (1) as (1) is considered an 'image
editing'
operation and as such will cause a recompression of the data in some
fashion. Also
(2) and (3) will automatically set the size, and alpha channel of the image
appropriately.

> And is there any explanation why the upward compatibility of solution 
> 1 is broken?

If there is a difference here then it is a bug - although please do check
that the width/height of the image is the same, and also transfer across
alphaData too.

I'd recommend using (2) or (3) - or, indeed, using referenced files instead.
The engine will automatically cache referenced images and share the
underlying decompressed data.
i.e.

set the filename of image 1 to "foo"
set the filename of image 2 to "foo"

Will first resolve "foo" as an absolute path, load that image file into a
cache if not already present and attach the decompressed image data to the
image object. Then, when the second image's filename is set, it will find
the image is already in the cache and just use the decompressed image data
attached to that file in the cache.
i.e. The two images share the same pixel data in memory.

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


___
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: where does the standalonebuilder saves the substacks in an Mac OS App?

2017-03-27 Thread Tiemo Hollmann TB via use-livecode
Hello,
"Apple requires" - Is this only a "best practise" guideline or what will happen 
if you don't care? I have an old application just migrated to LC 8, where I am 
running an independent stack file in that old dir("Contents/MacOS"), and it is 
running fine on MacOS 10.12.3
Is there any Apple link about that or are there any informations, into which 
issue you can run, if you put files into the old dir? If you integrate 
Valentina, they also keep one file in that directory.
Thanks for any info
Tiemo


On 3/14/17 6:58 PM, Matthias Rebbe via use-livecode wrote:
> is it correct when the standalone settings of an stack are set to move 
> substacks into individual stack files that under Mac OS X the 
> substacks in an compiled app (e.g. test.app) are stored
>
> in 'test.app/Contents/Resources/_MacOS/‘ instead of being stored in 
> 'test.app/Contents/MacOS/'

Yes, Apple required that change a while ago.

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

AW: where does the standalonebuilder saves the substacks in an Mac OS App?

2017-03-28 Thread Tiemo Hollmann TB via use-livecode
Creating a standalone on MacOS 10.12 with LC 8.1.3, LiveCode puts the file
"revsecurity.dylib" into "my.app/Contents/MacOS/"
As you say, this would be against the rules of Apple. Is this a bug? Or is
it still arbitrary, where to put your files?
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von J. Landman Gay via use-livecode
Gesendet: Montag, 27. März 2017 20:31
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: J. Landman Gay <jac...@hyperactivesw.com>
Betreff: Re: where does the standalonebuilder saves the substacks in an Mac
OS App?

I think that's right, Apple enforces this rule.

The standalone builder will move files to a Resources folder when it builds
the app. For backward compatibility, scripts that reference the engine
folder are redirected to the Resources folder automatically.

On 3/27/17 1:22 PM, Bob Sneidar via use-livecode wrote:
> To my understanding, it's a requirement in accordance with Apple's 
> sandboxing policies, if you want an executable to be able to make 
> changes to files inside the executable bundle. The way it's supposed 
> to work, no application is allowed to write or modify anything in the 
> old location where the actual application binary resides, but in the 
> new location they can.
>
> As an administrative user I am able to copy files to both locations, 
> but sandboxing is not about folder permissions. It's about executable 
> permissions and it's baked into the OS so no one can (ostensibly) 
> change it.
>
> That is my understanding at least. I've not dug in enough to know for 
> certain.
>
> Bob S
>
>
>> On Mar 27, 2017, at 09:45 , Tiemo Hollmann TB via use-livecode 
>> <use-livecode@lists.runrev.com> wrote:
>>
>> Hello, "Apple requires" - Is this only a "best practise" guideline or 
>> what will happen if you don't care? I have an old application just 
>> migrated to LC 8, where I am running an independent stack file in 
>> that old dir("Contents/MacOS"), and it is running fine on MacOS
>> 10.12.3 Is there any Apple link about that or are there any 
>> informations, into which issue you can run, if you put files into the 
>> old dir? If you integrate Valentina, they also keep one file in that 
>> directory. Thanks for any info Tiemo
>
>
> ___ 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
>


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


shell("netstat -i") has getting slow on MacOS10.x

2017-03-30 Thread Tiemo Hollmann TB via use-livecode
Hello,

I am not sure where to start searching and I am not good under the hood of
Macs.

I am retrieving MAC addresses:

put "netstat -I" into myShell

put shell(myShell) into tRes

In former times that has taken "a few" seconds, now it takes around 20
seconds. First I tested, if it was a slowdown of LC 8/9, but in LC 6.7.10 it
is almost the same 20 secs. I am not sure, when the decrease actually
happened, but if it is not LC then it must be an issue of one of the latest
MacOSs.

Has anybody any idea, if I can optimize anything in the performance of this
shell request? Could it be any permission issue in the new OS? Anything I
could workaround, or do I have to take this shell call as it is?

Thanks for any ideas

Tiemo

 

 

 

___
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: shell("netstat -i") has getting slow on MacOS10.x

2017-03-30 Thread Tiemo Hollmann TB via use-livecode
Thank you for your ideas! I will give it a try
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Marc Siskin via use-livecode
Gesendet: Donnerstag, 30. März 2017 15:23
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Marc Siskin <msis...@andrew.cmu.edu>
Betreff: Re: shell("netstat -i") has getting slow on MacOS10.x

Tiemo,

You may need to use two commands if you need the information from both Macs and 
PCs.

On the Mac, "networksetup -listallhardwareports” in the shell should give you a 
report that looks like this:
MLRCTBHUB:~ msiskin$ networksetup -listallhardwareports

Hardware Port: Thunderbolt Ethernet Slot 2
Device: en6
Ethernet Address: 00:10:74:b8:02:fd

Hardware Port: Thunderbolt FireWire
Device: fw0
Ethernet Address: 00:0a:27:02:00:6d:57:03

Hardware Port: Wi-Fi
Device: en0
Ethernet Address: f4:5c:89:9e:70:d7

Hardware Port: Bluetooth PAN
Device: en3
Ethernet Address: 7c:d1:c3:9a:1b:cd

Hardware Port: Thunderbolt 1
Device: en1
Ethernet Address: 6a:00:01:b2:92:70

Hardware Port: Thunderbolt 2
Device: en2
Ethernet Address: 6a:00:01:b2:92:71

Hardware Port: Thunderbolt Bridge
Device: bridge0
Ethernet Address: 00:10:74:b8:02:fd

VLAN Configurations
===
MLRCTBHUB:~ msiskin$

On PCs, you may be able to use the command “getmac” in a shell which should 
give you a report that looks like this:


C:\>getmac
Physical AddressTransport Name
=== ==
2C-3F-45-02-1B-32   \Device\Tcpip_{7E49B486-120A-4BC2-2114-B345A4D5C5}
10-13-17-BC-12-48   Media disconnected
22-B3-C5-30-76-78   \Device\Tcpip_{213E8D2A-1DBE-4240-8301-BE6F3EACAF9D}
00-05-2A-3C-78-00   \Device\Tcpip_{F01E3FC2-A5A1-6940-D1A1-C7521AEC4296}
2C-23-45-14-23-AD   Media disconnected
C:\>

Now I haven’t tried this on PCs, so your milage may vary.  But the macOS 
version does work.

Good luck,
Marc


On Mar 30, 2017, at 8:40 AM, Tiemo Hollmann TB via use-livecode 
<use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote:

Hi Marc,
I need the MAC addresses from all network adapters. How can you narrow the 
scope of this request?
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Marc Siskin via use-livecode
Gesendet: Donnerstag, 30. März 2017 14:15
An: How to use LiveCode 
<use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>>
Cc: Marc Siskin <msis...@andrew.cmu.edu<mailto:msis...@andrew.cmu.edu>>
Betreff: Re: shell("netstat -i") has getting slow on MacOS10.x

Tiemo,

I ran the command directly on my Macos 12.4 laptop and it took about 20 seconds 
to generate the entire listing.

Is there specific information you are looking to obtain?  You may be able to 
narrow the scope of the request and generate it faster.

Marc Siskin

On Mar 30, 2017, at 7:57 AM, Tiemo Hollmann TB via use-livecode 
<use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com><mailto:use-livecode@lists.runrev.com>>
 wrote:

Hello,

I am not sure where to start searching and I am not good under the hood of Macs.

I am retrieving MAC addresses:

put "netstat -I" into myShell

put shell(myShell) into tRes

In former times that has taken "a few" seconds, now it takes around 20 seconds. 
First I tested, if it was a slowdown of LC 8/9, but in LC 6.7.10 it is almost 
the same 20 secs. I am not sure, when the decrease actually happened, but if it 
is not LC then it must be an issue of one of the latest MacOSs.

Has anybody any idea, if I can optimize anything in the performance of this 
shell request? Could it be any permission issue in the new OS? Anything I could 
workaround, or do I have to take this shell call as it is?

Thanks for any ideas

Tiemo







___
use-livecode mailing list
use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com><mailto: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

---
Marc Siskin
Manager, Modern Language Resource Center Carnegie Mellon University 
msis...@andrew.cmu.edu<mailto:msis...@andrew.cmu.edu>



___
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

--

AW: shell("netstat -i") has getting slow on MacOS10.x

2017-03-30 Thread Tiemo Hollmann TB via use-livecode
Hi Marc,
I need the MAC addresses from all network adapters. How can you narrow the
scope of this request?
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Marc Siskin via use-livecode
Gesendet: Donnerstag, 30. März 2017 14:15
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Marc Siskin <msis...@andrew.cmu.edu>
Betreff: Re: shell("netstat -i") has getting slow on MacOS10.x

Tiemo,

I ran the command directly on my Macos 12.4 laptop and it took about 20
seconds to generate the entire listing.

Is there specific information you are looking to obtain?  You may be able to
narrow the scope of the request and generate it faster.

Marc Siskin

On Mar 30, 2017, at 7:57 AM, Tiemo Hollmann TB via use-livecode
<use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote:

Hello,

I am not sure where to start searching and I am not good under the hood of
Macs.

I am retrieving MAC addresses:

put "netstat -I" into myShell

put shell(myShell) into tRes

In former times that has taken "a few" seconds, now it takes around 20
seconds. First I tested, if it was a slowdown of LC 8/9, but in LC 6.7.10 it
is almost the same 20 secs. I am not sure, when the decrease actually
happened, but if it is not LC then it must be an issue of one of the latest
MacOSs.

Has anybody any idea, if I can optimize anything in the performance of this
shell request? Could it be any permission issue in the new OS? Anything I
could workaround, or do I have to take this shell call as it is?

Thanks for any ideas

Tiemo







___
use-livecode mailing list
use-livecode@lists.runrev.com<mailto: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

---
Marc Siskin
Manager, Modern Language Resource Center Carnegie Mellon University
msis...@andrew.cmu.edu<mailto:msis...@andrew.cmu.edu>



___
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


AW: shell("netstat -i") has getting slow on MacOS10.x

2017-03-30 Thread Tiemo Hollmann TB via use-livecode
Yes, using ifconfig  I get exact 1 MAC (see Ken Rays script as
Klaus pointed out). I don't see a parameter to get all at once, but I could
perhaps call ifconfig 4 times with  lo0, en0,en1 and fw0. Or I
will try to use "networksetup -listallhardwareports”, as Marc pointed out
Don't ask me why I need exactly these 4 interfaces. The old function,
working with netstat is made by an external programmer and I have to get
exact the same results as the old function has provided, so I need these 4
interfaces.
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Bob Sneidar via use-livecode
Gesendet: Donnerstag, 30. März 2017 18:52
An: How to use LiveCode 
Cc: Bob Sneidar 
Betreff: Re: shell("netstat -i") has getting slow on MacOS10.x

That works great for the default adapter. I think Tiemo is looking for a way
to enumerate ALL adapter mac addresses. I have like 24 entries using
netstat. Some are ipv6 addresses, others ipv4, and still others have no mac
address at all. Of course I am using Parallels and have 2 physical network
adapters and a couple virtual ones. 

Bob S


> On Mar 30, 2017, at 09:06 , Klaus major-k via use-livecode
 wrote:
> 
> using this script from Ken Ray:
> 
> took 30 millisecs on my Mac Mini, macOS 10.12.4 and LC 9 dp6.  :-)
> 
>> Tiemo
> 
> 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


___
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: shell("netstat -i") has getting slow on MacOS10.x

2017-03-30 Thread Tiemo Hollmann TB via use-livecode
:)  you are right!

So I think I'll manage to replace the old and slow function using "netstat" by 
"ifconfig" as well as by "networksetup"
I have no idea, why the external programmer choose "netstat" at that time 
(2009). Does anybody see any pitfalls, why "ifconfig" or "networksetup" could 
return other results (after filtering, sorting etc.) or why I shouldn't use one 
of them? Are these commands the same available as netstat in modern Oss (> 
10.9)? networksetup seems to be the easiest solution and is fast as ifconfig.

Thanks for any advice
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Mike Bonner via use-livecode
Gesendet: Donnerstag, 30. März 2017 20:02
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Mike Bonner <bonnm...@gmail.com>
Betreff: Re: shell("netstat -i") has getting slow on MacOS10.x

If you call it with no arguments, doesn't it list them all?  I'll have to get 
my mac running again so I can test this stuff.

On Thu, Mar 30, 2017 at 11:52 AM, Tiemo Hollmann TB via use-livecode < 
use-livecode@lists.runrev.com> wrote:

> Yes, using ifconfig  I get exact 1 MAC (see Ken Rays script 
> as Klaus pointed out). I don't see a parameter to get all at once, but 
> I could perhaps call ifconfig 4 times with  lo0, en0,en1 
> and fw0. Or I will try to use "networksetup -listallhardwareports”, as 
> Marc pointed out Don't ask me why I need exactly these 4 interfaces. 
> The old function, working with netstat is made by an external 
> programmer and I have to get exact the same results as the old 
> function has provided, so I need these 4 interfaces.
> Tiemo
>
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
> Auftrag von Bob Sneidar via use-livecode
> Gesendet: Donnerstag, 30. März 2017 18:52
> An: How to use LiveCode <use-livecode@lists.runrev.com>
> Cc: Bob Sneidar <bobsnei...@iotecdigital.com>
> Betreff: Re: shell("netstat -i") has getting slow on MacOS10.x
>
> That works great for the default adapter. I think Tiemo is looking for 
> a way to enumerate ALL adapter mac addresses. I have like 24 entries 
> using netstat. Some are ipv6 addresses, others ipv4, and still others 
> have no mac address at all. Of course I am using Parallels and have 2 
> physical network adapters and a couple virtual ones.
>
> Bob S
>
>
> > On Mar 30, 2017, at 09:06 , Klaus major-k via use-livecode
> <use-livecode@lists.runrev.com> wrote:
> >
> > using this script from Ken Ray:
> > <http://www.sonsothunder.com/devres/livecode/tips/env001.htm>
> > took 30 millisecs on my Mac Mini, macOS 10.12.4 and LC 9 dp6.  :-)
> >
> >> Tiemo
> >
> > 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
>
>
> ___
> 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

AW: New Iteration of cleanASCII

2017-03-23 Thread Tiemo Hollmann TB via use-livecode
Hi Bob, nice function.
Just for my interest, what is the function of the leading "break" in the
switch control structure? It doesn't seem to bother, but any advantage?
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Bob Sneidar via use-livecode
Gesendet: Mittwoch, 22. März 2017 23:21
An: How to use LiveCode 
Cc: Bob Sneidar 
Betreff: Re: New Iteration of cleanASCII

cleanASCII(pString, pModeList, pCustomChars)

Belay my last. I refactored the whole thing to be much more robust. Pass a
string, a modelist and a custom list. This will act as a simple regex
character filter for any string you pass it. (Great for filtering out
hidden/non-printing characters!) If you only pass it a string and no
arguements, it will return uppercase, lowercase, numbers and spaces. 

The modelist can be any items in
"tabs,newlines,returns,spaces,numbers,lowercase,uppercase,symbols,custom".
If the modelist contains "custom" then pass any other characters you want to
include in pCustomList. 

Modifications welcome, but remember this is just a character by character
filter and NOT a full blown regex replacement. That would put me in the
funny farm for sure. 

Bob S


function cleanASCII pString, pModeList, pCustomChars
   if pModeList is empty then
  put " 0-9a-zA-Z" into tAllowedChars
   end if
   
   repeat for each item pMode in pModeList
  switch
break
 case "tabs" is in pMode
put "\t" after tAllowedChars
break
 case "newlines" is in pMode
put "\n" after tAllowedChars
break
 case "returns" is in pMode
put "\r" after tAllowedChars
break
 case "spaces" is in pMode
put " " after tAllowedChars
break
 case "numbers" is in pMode
put "0-9" after tAllowedChars
break
 case "lowercase" is in pMode
put "a-z" after tAllowedChars
break
 case "uppercase" is in pMode
put "A-Z" after tAllowedChars
break
 case "symbols" is in pMode
put "!#$%&'()*+,./:;<=>?@[\\_`{|}~^-" after tAllowedChars
break
 case pMode is "custom"
put pCustomChars after tAllowedChars
break
  end switch
   end repeat
   
   put "[" & tAllowedChars & "]" into tMatchText
   
   repeat for each character theChar in pString
  if matchtext(theChar, tMatchText) is true then
 put theChar after cleanString
  end if
   end repeat
   
   return cleanString
end cleanASCII

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


specialFolderPath("resources") on Mac with trailing slash

2017-03-29 Thread Tiemo Hollmann TB via use-livecode
Hello,

LC 8.1.3: getting the specialFolderPath("resources") comes on Mac & Win
without trailing slash.

On Win I also don't get a trailing slash in a standalone.

BUT in a MacOS 10.12 standalone I get a trailing slash!

Is this a wanted "feature" which I have to script around, or is this a bug I
should file?

What do you think?

Tiemo

 

 

 

___
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: specialFolderPath("resources") on Mac with trailing slash

2017-03-29 Thread Tiemo Hollmann TB via use-livecode
Thanks for the quick answer :)
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von panagiotis merakos via use-livecode
Gesendet: Mittwoch, 29. März 2017 10:49
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: panagiotis merakos <merak...@gmail.com>
Betreff: Re: specialFolderPath("resources") on Mac with trailing slash

Hi Tiemo,

This is a bug, which will be fixed in LiveCode 8.1.4 RC-1:

http://quality.livecode.com/show_bug.cgi?id=18619

Best,
Panos
--

On Wed, Mar 29, 2017 at 9:43 AM, Tiemo Hollmann TB via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hello,
>
> LC 8.1.3: getting the specialFolderPath("resources") comes on Mac & 
> Win without trailing slash.
>
> On Win I also don't get a trailing slash in a standalone.
>
> BUT in a MacOS 10.12 standalone I get a trailing slash!
>
> Is this a wanted "feature" which I have to script around, or is this a 
> bug I should file?
>
> What do you think?
>
> Tiemo
>
>
>
>
>
>
>
> ___
> 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


could you please make a quick test for me?

2017-03-31 Thread Tiemo Hollmann TB via use-livecode
Hello,

I am replacing an old very slow function (netstat) to retrieve MAC addresses
with another fast function (networksetup). I am replacing a part of a
licensing system in a live program out in the market, so I have to be sure,
to get exactly the same result from the new function. It has to be the same
list of MAC addresses and the same sequence of MAC addresses.

Since I only have one Mac, I would like to ask you to test my two functions
in a small test program and send me the results in a PM by email. (just copy
the two result fields and the kind of Mac you have into an email). So I hope
I can verify that the results look the same on different Macs and different
configurations.

You can download my test program here:
https://www.dropbox.com/s/puhlnw2mgx5tknk/myMACs.livecode?dl=0

The function is for Mac Only and MacOS > 10.8

Thank you for your help

Tiemo

 

 

 

 

___
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: AW: tsneterr: (6) could not resolve host - can anyone else test this?

2017-03-16 Thread Tiemo Hollmann TB via use-livecode
Panos from LC solved the mystery. In my URL the password has a special
character, which can't be handled in 8.1.2 and 8.1.3 on Windows. When doing
urlencode(myPW), it also works in 8.1.3
The why is not known
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Paul Richards via use-livecode
Gesendet: Donnerstag, 16. März 2017 15:22
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Paul Richards <p...@smarttsoftware.co.uk>
Betreff: RE: AW: tsneterr: (6) could not resolve host - can anyone else test
this?

LC 8.1.3  - Windows 10 64Bit - Works for me 

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Charles Warwick via use-livecode
Sent: 16 March 2017 10:11
To: use-livecode@lists.runrev.com
Cc: Charles Warwick <char...@techstrategies.com.au>
Subject: Re: AW: tsneterr: (6) could not resolve host - can anyone else test
this?

I have not been able to replicate this issue here, but I am using an older
version of Windows.

Is there anyone that can try this on various versions of Windows to see if
this problem is specific to Win 10?

Try typing the following into the message box:

put URL
"http://test_auth:test_p...@downloads.techstrategies.com.au/test_auth/;

If it is successful, you should see "Authentication successful." appear in
the message box.

Thanks,

Charles


On 16/03/2017 6:31 PM, Charles Warwick via use-livecode wrote:
> Hi Tiemo,
>
> I have not heard of this issue before but will see if I can reproduce 
> it and get back to you.
>
> A workaround would be to use the tsNetGetSync function directly so 
> that you can specify the user/pass separately like this:
>
> --
> local tHeaders, tOutHeaders, tResultCode, tBytes, tSettings put 
> "public" into tSettings["username"] put "myPW" into 
> tSettings["password"] put 
> tsNetGetSync("http://www.myHost/mypath/my.txt;, tHeaders, tOutHeaders, 
> tResultCode, tBytes, tSettings) into tResult
> --
>
> Hope that helps,
>
> Cheers,
>
> Charles
>
>
> On 16/03/2017 1:00 AM, Tiemo Hollmann TB via use-livecode wrote:
>> Forgot to say: Windows 10
>>
>> -Ursprüngliche Nachricht-
>> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
>> Auftrag von Tiemo Hollmann TB via use-livecode
>> Gesendet: Mittwoch, 15. März 2017 16:00
>> An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
>> Cc: Tiemo Hollmann TB <toolb...@kestner.de>
>> Betreff: tsneterr: (6) could not resolve host
>>
>> Hello,
>>
>> using LC 8.1.2 / 8.1.3 I get an "tsneterr: (6) could not resolve host:
>> public" when trying to access a file in a web server directory with 
>> user and password protection
>>
>> put URL "http://public:myPW@www.myHost/mypath/my.txt; into tResult
>>
>> when opening the same file in a not pw protected directory, 
>> everything is fine and I get the content of the file
>>
>> Testing the same with 8.1 or 9.0 dp 4 it works also with the pw 
>> protected dir, like it should.
>>
>> Is this a known issue with tsnet? Any workarounds?
>>
>> Thanks
>>
>> Tiemo
>>
>>
>>
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


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

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


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


OT: are chars above ascii 126 allowed in system passwords?

2017-03-21 Thread Tiemo Hollmann TB via use-livecode
Hello,

I have not much knowledge in server administration. My LiveCode program
establishes a http connection. In case there is a network proxy server, the
user can enter the proxy server credentials in my program to get access to
the internet. That works ok so far, but my password field can’t handle
German Umlaute äüö and ß (rawKeyCodes 223 and above). From time to time I
get a customer feedback that they can’t get thru the proxy even after having
entered the credentials in my program. Since they were not sure about their
network topography and didn’t wanted to tell me their pw, I still don’t
know, if it didn’t worked because they had perhaps Umlaute in their pw or
because of any other (network) reason. Before I start fiddling around to get
these characters as valid chars I wanted to ask, if somebody knows, if these
characters are allowed in system passwords (of proxy servers, etc.) at all.
If not I can just go on without these special characters and search for
other issues.

Thanks for any experience

Tiemo

 

 

 

___
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


WEIRD: code changes the code instead of a field

2017-03-21 Thread Tiemo Hollmann TB via use-livecode
Hello,

LC 9.0, dp4, Win10: Fiddling around creating a password field I am
encountering a very weird phenomenon. Stepping thru my code with the
debugger my code modifies my code instead of a field. Recipie:

-  Create a new stack

-  Create a new field

-  Put the code into the field:

 

on keyDown pKey

put numToChar(42) into the selectedChunk -- numToChar(42): "*"

end keyDown

 

-  Apply the code

-  Set a breakpoint (red dot) at the only statement

-  Switch to browse tool and enter one character into the field

-  Use the "step into" for executing the code

-  See what happened to your code?

-  The complete line of code is replaced by an asterisk! Funny huh?

 

Any comments?

Tiemo

 

 

 

___
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: WEIRD: code changes the code instead of a field

2017-03-21 Thread Tiemo Hollmann TB via use-livecode
Hi Klaus,
it's not an issue of numToChar (happens similar with numToNativeChar) but
probably of the IDE/Debugger, who thinks that the selectedChunk is my code.
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Klaus major-k via use-livecode
Gesendet: Dienstag, 21. März 2017 12:12
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Klaus major-k <kl...@major-k.de>
Betreff: Re: WEIRD: code changes the code instead of a field

Hi Tiemo,

> Am 21.03.2017 um 11:49 schrieb Tiemo Hollmann TB via use-livecode
<use-livecode@lists.runrev.com>:
> 
> Hello,
> 
> LC 9.0, dp4, Win10: Fiddling around creating a password field I am 
> encountering a very weird phenomenon. Stepping thru my code with the 
> debugger my code modifies my code instead of a field. Recipie:
> 
> -  Create a new stack
> -  Create a new field
> -  Put the code into the field:
> 
> on keyDown pKey
>put numToChar(42) into the selectedChunk -- numToChar(42): "*"
> end keyDown
> 
> -  Apply the code
> -  Set a breakpoint (red dot) at the only statement
> -  Switch to browse tool and enter one character into the field
> -  Use the "step into" for executing the code
> -  See what happened to your code?
> -  The complete line of code is replaced by an asterisk! Funny
huh?
> 
> Any comments?
> 
> Tiemo

"numtochar" and "chartonum" have been deprecated since version 7.x of
Liveocde!
So please try again with "NumtoNativeChar" and maybe also LC 9 dp6. :-)


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


___
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


Password field code to share?

2017-03-21 Thread Tiemo Hollmann TB via use-livecode
Hello,

there have been several solutions for password fields around the community
(Eric Chatonet, .), but all I have seen so far are not complete (e.g. no
copy/paste) or safe in handling or not fully handling all chars. The most
comprehensive solution I have seen is based on the input of "rawKeyDown the
Key" getting the chars, replacing them by asterisk or bullets and storing
the clear password in a custom property. But that solution has a pitfall, it
doesn't works with non standard ASCII characters, like German umlaute,
because  you can't  retrieve the original char from numToChar(theKey) for
theses non standard ASCII chars.

Before inventing the wheel again, I wanted to ask, if anybody has a
sophisticated piece of code for handling a password field willing to share?
"Ask password" is not a solution for my case because the password field is
part of a form.

 

Thanks

Tiemo

 

 

 

___
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: Password field code to share?

2017-03-21 Thread Tiemo Hollmann TB via use-livecode
Hi Trevor,
thanks for sharing this smart solution.
Did you ever had any issues loading the font on any platform or is that a
near 100% reliable approach?
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Trevor DeVore via use-livecode
Gesendet: Dienstag, 21. März 2017 13:16
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Trevor DeVore <li...@mangomultimedia.com>
Betreff: Re: Password field code to share?

On Tue, Mar 21, 2017 at 4:48 AM Tiemo Hollmann TB via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> there have been several solutions for password fields around the 
> community (Eric Chatonet, .), but all I have seen so far are not 
> complete (e.g. no
> copy/paste) or safe in handling or not fully handling all chars. The 
> most comprehensive solution I have seen is based on the input of 
> "rawKeyDown the Key" getting the chars, replacing them by asterisk or 
> bullets and storing the clear password in a custom property. But that 
> solution has a pitfall, it doesn't works with non standard ASCII 
> characters, like German umlaute, because  you can't  retrieve the 
> original char from numToChar(theKey) for theses non standard ASCII 
> chars.
>
> Before inventing the wheel again, I wanted to ask, if anybody has a 
> sophisticated piece of code for handling a password field willing to
share?
> "Ask password" is not a solution for my case because the password 
> field is part of a form.


I use a custom font that displays all characters as a bullet. Benefit is
that you continue to access the text property of the field to get the
password. I use some code to prevent cut/copy and filter certain types of
input. You can tweak as necessary. I have a tutorial with links and an
explanation:

http://revolution.screenstepslive.com/s/revolution/m/how-to/l/249-creating-a
-password-field

--
Trevor DeVore
___
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


tsneterr: (6) could not resolve host

2017-03-15 Thread Tiemo Hollmann TB via use-livecode
Hello,

using LC 8.1.2 / 8.1.3 I get an "tsneterr: (6) could not resolve host:
public" when trying to access a file in a web server directory with user and
password protection

put URL "http://public:myPW@www.myHost/mypath/my.txt; into tResult

when opening the same file in a not pw protected directory, everything is
fine and I get the content of the file

Testing the same with 8.1 or 9.0 dp 4 it works also with the pw protected
dir, like it should.

Is this a known issue with tsnet? Any workarounds?

Thanks

Tiemo

 

 

 

 

___
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: AW: tsneterr: (6) could not resolve host - can anyone else test this?

2017-03-17 Thread Tiemo Hollmann TB via use-livecode
FYI. I have used the "#" sign in a URL PW, which is not allowed in a URL
string, as Charles pointed out. Only because of an incorrect handling in the
curl library as part of tsnet, my program has worked over the years.
Urlencode(myPW) will do it for the future. So, better never use "#" in a
URL!
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB via use-livecode
Gesendet: Donnerstag, 16. März 2017 18:00
An: 'How to use LiveCode' <use-livecode@lists.runrev.com>
Cc: Tiemo Hollmann TB <toolb...@kestner.de>
Betreff: AW: AW: tsneterr: (6) could not resolve host - can anyone else test
this?

Panos from LC solved the mystery. In my URL the password has a special
character, which can't be handled in 8.1.2 and 8.1.3 on Windows. When doing
urlencode(myPW), it also works in 8.1.3 The why is not known Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Paul Richards via use-livecode
Gesendet: Donnerstag, 16. März 2017 15:22
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Paul Richards <p...@smarttsoftware.co.uk>
Betreff: RE: AW: tsneterr: (6) could not resolve host - can anyone else test
this?

LC 8.1.3  - Windows 10 64Bit - Works for me 

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Charles Warwick via use-livecode
Sent: 16 March 2017 10:11
To: use-livecode@lists.runrev.com
Cc: Charles Warwick <char...@techstrategies.com.au>
Subject: Re: AW: tsneterr: (6) could not resolve host - can anyone else test
this?

I have not been able to replicate this issue here, but I am using an older
version of Windows.

Is there anyone that can try this on various versions of Windows to see if
this problem is specific to Win 10?

Try typing the following into the message box:

put URL
"http://test_auth:test_p...@downloads.techstrategies.com.au/test_auth/;

If it is successful, you should see "Authentication successful." appear in
the message box.

Thanks,

Charles


On 16/03/2017 6:31 PM, Charles Warwick via use-livecode wrote:
> Hi Tiemo,
>
> I have not heard of this issue before but will see if I can reproduce 
> it and get back to you.
>
> A workaround would be to use the tsNetGetSync function directly so 
> that you can specify the user/pass separately like this:
>
> --
> local tHeaders, tOutHeaders, tResultCode, tBytes, tSettings put 
> "public" into tSettings["username"] put "myPW" into 
> tSettings["password"] put 
> tsNetGetSync("http://www.myHost/mypath/my.txt;, tHeaders, tOutHeaders, 
> tResultCode, tBytes, tSettings) into tResult
> --
>
> Hope that helps,
>
> Cheers,
>
> Charles
>
>
> On 16/03/2017 1:00 AM, Tiemo Hollmann TB via use-livecode wrote:
>> Forgot to say: Windows 10
>>
>> -Ursprüngliche Nachricht-
>> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
>> Auftrag von Tiemo Hollmann TB via use-livecode
>> Gesendet: Mittwoch, 15. März 2017 16:00
>> An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
>> Cc: Tiemo Hollmann TB <toolb...@kestner.de>
>> Betreff: tsneterr: (6) could not resolve host
>>
>> Hello,
>>
>> using LC 8.1.2 / 8.1.3 I get an "tsneterr: (6) could not resolve host:
>> public" when trying to access a file in a web server directory with 
>> user and password protection
>>
>> put URL "http://public:myPW@www.myHost/mypath/my.txt; into tResult
>>
>> when opening the same file in a not pw protected directory, 
>> everything is fine and I get the content of the file
>>
>> Testing the same with 8.1 or 9.0 dp 4 it works also with the pw 
>> protected dir, like it should.
>>
>> Is this a known issue with tsnet? Any workarounds?
>>
>> Thanks
>>
>> Tiemo
>>
>>
>>
>>
>>
>> ___
>> 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 

AW: AW: tsneterr: (6) could not resolve host - can anyone else test this?

2017-03-16 Thread Tiemo Hollmann TB via use-livecode
Hi Charles,

this test URL works for me also in 8.1.3
my URL still doesn't works in 8.1.3 (but in 9.0 and older versions) - what
happened to tsnet in 8.1.3?
your workaround with tsNetGetSync also works with my URL in 8.1.3 - whats
the difference under the hood to put URL?
interesting results!
thanks!

Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Charles Warwick via use-livecode
Gesendet: Donnerstag, 16. März 2017 11:11
An: use-livecode@lists.runrev.com
Cc: Charles Warwick <char...@techstrategies.com.au>
Betreff: Re: AW: tsneterr: (6) could not resolve host - can anyone else test
this?

I have not been able to replicate this issue here, but I am using an older
version of Windows.

Is there anyone that can try this on various versions of Windows to see if
this problem is specific to Win 10?

Try typing the following into the message box:

put URL
"http://test_auth:test_p...@downloads.techstrategies.com.au/test_auth/;

If it is successful, you should see "Authentication successful." appear in
the message box.

Thanks,

Charles


On 16/03/2017 6:31 PM, Charles Warwick via use-livecode wrote:
> Hi Tiemo,
>
> I have not heard of this issue before but will see if I can reproduce 
> it and get back to you.
>
> A workaround would be to use the tsNetGetSync function directly so 
> that you can specify the user/pass separately like this:
>
> --
> local tHeaders, tOutHeaders, tResultCode, tBytes, tSettings put 
> "public" into tSettings["username"] put "myPW" into 
> tSettings["password"] put 
> tsNetGetSync("http://www.myHost/mypath/my.txt;, tHeaders, tOutHeaders, 
> tResultCode, tBytes, tSettings) into tResult
> --
>
> Hope that helps,
>
> Cheers,
>
> Charles
>
>
> On 16/03/2017 1:00 AM, Tiemo Hollmann TB via use-livecode wrote:
>> Forgot to say: Windows 10
>>
>> -Ursprüngliche Nachricht-
>> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
>> Auftrag von Tiemo Hollmann TB via use-livecode
>> Gesendet: Mittwoch, 15. März 2017 16:00
>> An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
>> Cc: Tiemo Hollmann TB <toolb...@kestner.de>
>> Betreff: tsneterr: (6) could not resolve host
>>
>> Hello,
>>
>> using LC 8.1.2 / 8.1.3 I get an "tsneterr: (6) could not resolve host:
>> public" when trying to access a file in a web server directory with 
>> user and password protection
>>
>> put URL "http://public:myPW@www.myHost/mypath/my.txt; into tResult
>>
>> when opening the same file in a not pw protected directory, 
>> everything is fine and I get the content of the file
>>
>> Testing the same with 8.1 or 9.0 dp 4 it works also with the pw 
>> protected dir, like it should.
>>
>> Is this a known issue with tsnet? Any workarounds?
>>
>> Thanks
>>
>> Tiemo
>>
>>
>>
>>
>>
>> ___
>> 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


AW: WEIRD: code changes the code instead of a field

2017-03-22 Thread Tiemo Hollmann TB via use-livecode
Hi Jacque,
I have filed this bug with an easy one liner recipe, but now have seen, that
it is known since 2013 in the QC.
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von J. Landman Gay via use-livecode
Gesendet: Dienstag, 21. März 2017 15:15
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: J. Landman Gay <jac...@hyperactivesw.com>
Betreff: Re: WEIRD: code changes the code instead of a field

There's a problem with the script editor losing track of the defaultstack
during debugging. I see it when it tells me that it can't find a control on
the card I'm looking at. It's applying all references to itself.

I haven't been able to get a consistent recipe to report the problem but
since you have one, it would be great if you could submit a report.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com



On March 21, 2017 5:53:07 AM Tiemo Hollmann TB via use-livecode
<use-livecode@lists.runrev.com> wrote:

> Hello,
>
> LC 9.0, dp4, Win10: Fiddling around creating a password field I am 
> encountering a very weird phenomenon. Stepping thru my code with the 
> debugger my code modifies my code instead of a field. Recipie:
>
> -  Create a new stack
>
> -  Create a new field
>
> -  Put the code into the field:
>
>
>
> on keyDown pKey
>
> put numToChar(42) into the selectedChunk -- numToChar(42): "*"
>
> end keyDown
>
>
>
> -  Apply the code
>
> -  Set a breakpoint (red dot) at the only statement
>
> -  Switch to browse tool and enter one character into the field
>
> -  Use the "step into" for executing the code
>
> -  See what happened to your code?
>
> -  The complete line of code is replaced by an asterisk! Funny
huh?
>
>
>
> Any comments?
>
> Tiemo
>
>
>
>
>
>
>
> ___
> 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


AW: rawKeyUp/Down give different keys for same char since LC 8

2017-03-22 Thread Tiemo Hollmann TB via use-livecode
Hi Mark,

I have been using the rawkey handlers for handling a password field, but since 
this seems to be unreliable for German characters I will rework my password 
field with Trevors "passwordFont" approach.

Thanks
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Mark Waddingham via use-livecode
Gesendet: Dienstag, 21. März 2017 19:03
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Mark Waddingham <m...@livecode.com>
Betreff: Re: rawKeyUp/Down give different keys for same char since LC 8

Hi Tiemo,

On 2017-03-21 17:40, Tiemo Hollmann TB via use-livecode wrote:
> Testing on Win 10, IDE: up to LC 6.7 special chars, as German Umlaute 
> gave the same key in rawKeyUp and rawKeyDown, e.g.
> 
> ä = 39, ü = 59, ö = 96, ß = 91
> 
> in LC 8 and 9 the rawKeyUp are still the same, but in rawKeyDown I now
> get:
> 
> ä = 228, ü = 252, ö = 246, ß = 223
> 
> Is there any plausible explanation or reason why this had to be 
> changed, or is this a bug?

This looks like a bug to me - the key codes in rawKeyDown and rawKeyUp should 
match and be the code of the key, not the translated character.

Out of interest, what are you using the rawKey messages for?

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


___
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: Producing a list of duplicates

2017-03-22 Thread Tiemo Hollmann TB via use-livecode
I would just
- Sort the list by email
- Looping thru the list
- Comparing the current email with the previous
- putting duplicates after the variable
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Skip Kimpel via use-livecode
Gesendet: Mittwoch, 22. März 2017 12:42
An: How to use LiveCode 
Cc: Skip Kimpel 
Betreff: Producing a list of duplicates

Anybody have a good method for searching a list of items for duplicates and
listing those duplicates in a variable?

I have a bunch of data records that contain email addresses. I need to
search through that list and produce an list so those duplicates can be
acted upon.

As always, your input is greatly appreciated!

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


AW: tsneterr: (6) could not resolve host

2017-03-15 Thread Tiemo Hollmann TB via use-livecode
Forgot to say: Windows 10

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB via use-livecode
Gesendet: Mittwoch, 15. März 2017 16:00
An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
Cc: Tiemo Hollmann TB <toolb...@kestner.de>
Betreff: tsneterr: (6) could not resolve host

Hello,

using LC 8.1.2 / 8.1.3 I get an "tsneterr: (6) could not resolve host:
public" when trying to access a file in a web server directory with user and
password protection

put URL "http://public:myPW@www.myHost/mypath/my.txt; into tResult

when opening the same file in a not pw protected directory, everything is
fine and I get the content of the file

Testing the same with 8.1 or 9.0 dp 4 it works also with the pw protected
dir, like it should.

Is this a known issue with tsnet? Any workarounds?

Thanks

Tiemo

 

 

 

 

___
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


AW: when is LC 8.1.4 to be expected?

2017-04-03 Thread Tiemo Hollmann TB via use-livecode
Thanks Panos, I won't spread such rumors!
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von panagiotis merakos via use-livecode
Gesendet: Montag, 3. April 2017 11:56
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: panagiotis merakos <panos.mera...@livecode.com>
Betreff: Re: when is LC 8.1.4 to be expected?

Hi Tiemo,

This is just an off_the_record_rumor:

We would like/expect to release 8.1.4 RC-1 within this week :)

Best regards,
Panos
--

On Mon, Apr 3, 2017 at 9:47 AM, Tiemo Hollmann TB via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hello headquarter,
>
> I am just releasing a new version and the only remaining bug is the 
> wrong windows systemVersion in 8.1.3.
>
> That's why I would like to know, if 8.1.4 is shortly to be expected 
> and it would be worth for me to wait a few days or if it still is 
> unscheduled and I'll go with the wrong systemversion.
>
> Thanks for any rumors off the records :)
>
> Tiemo
>
>
>
>
>
> ___
> 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
>



--
Panagiotis Merakos <panos.mera...@livecode.com> LiveCode Software Developer

Everyone Can Create Apps <https://livecode.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


Is there a technical difference between a RC and stable release?

2017-04-05 Thread Tiemo Hollmann TB via use-livecode
Hello,

I know about the life cycle dp - rc - stable release.

What I actually don't know, is there any "technical" difference behind the
scenes between a RC and a stable release? Is a RC just an approval state for
any feedback from us and could go 1:1 into a stable release, if there are no
serious new bugs? In other words, if I test my app with a RC and don't see
any bugs, which affect my app, would it be the same for me to use a RC for
an indy production, as a stable release or is there any technical difference
behind the scenes or reason for not to use a RC?

Thanks

Tiemo

 

 

 

 

___
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: Is there a technical difference between a RC and stable release?

2017-04-05 Thread Tiemo Hollmann TB via use-livecode
Hi Mark,
thank you for your helpful and clarifying explanation!
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Mark Waddingham via use-livecode
Gesendet: Mittwoch, 5. April 2017 09:20
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Mark Waddingham <m...@livecode.com>
Betreff: Re: Is there a technical difference between a RC and stable
release?

Hi Tiemo,

On 2017-04-05 08:25, Tiemo Hollmann TB via use-livecode wrote:
> What I actually don't know, is there any "technical" difference behind 
> the scenes between a RC and a stable release? Is a RC just an approval 
> state for any feedback from us and could go 1:1 into a stable release, 
> if there are no serious new bugs? In other words, if I test my app 
> with a RC and don't see any bugs, which affect my app, would it be the 
> same for me to use a RC for an indy production, as a stable release or 
> is there any technical difference behind the scenes or reason for not 
> to use a RC?

A stable release is 'just' a renaming of the last RC of any sequence of
releases for a given version - however, an RC might contain a regression
(introduced in the RC) in which case there will be another RC either fixing
the regression or reverting the patch which caused the regression.

In maintenance releases we try quite hard to minimize the impact of any
change which is made, so the general risk of regressions during an RC cycle
should be quite low.

So, in general, if a build of your app with an RC goes through your usual
testing procedures fine; then there should be no harm in using it in a
production release.

Indeed, people using RCs in production is actually very helpful for us as it
increases general test coverage, increasing the chance of finding any
regressions (which actually affect production code) in it.

Hope this helps,

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


___
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


standalone build: "checking directory exists" takes up to 2 min

2017-04-05 Thread Tiemo Hollmann TB via use-livecode
Hello,

LC 8.1 – 8.1.4 and 9.0. I am on Win 10. The stack file source as well as the
standalone build directory is located on a windows server.

When building a standalone für my (complex) main application on the server
dir the standalone builder progress stopps at the stage „checking directory
exists“ for 1-2 minutes.

Building a standalone for the same stack in a local dir, it just takes
seconds. Now I could say, ok, LiveCode has to handle some network security
permissions or such for 2 mins. (btw. It is the same using a UNC path or
mapped drive)

But building any other (smaller) stack or a new test stack on the server dir
takes only seconds.

What stack parameters have an impact on “checking the build directory”? OK,
since this affects me only when building a standalone and doesn’t seem to
have any impact on the finished standalone, I probably have to put into my
trash of weired issues.

Or any idea I can check for?

Tiemo

 

 

 

 

___
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: vertical text?

2017-04-11 Thread Tiemo Hollmann TB via use-livecode
Ah, nice trick ;)
Thanks, Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von prothero--- via use-livecode
Gesendet: Dienstag, 11. April 2017 17:54
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: proth...@earthlearningsolutions.org
Betreff: Re: vertical text?

Tiemo,
I do this by creating a text field, putting the text into it, sizing it to
just fit the text, capturing it to an image, rotating and placing the image
of the text field, then deleting the source text field.
Bill

William Prothero
http://es.earthednet.org

> On Apr 11, 2017, at 8:42 AM, Tiemo Hollmann TB via use-livecode
<use-livecode@lists.runrev.com> wrote:
> 
> Hello,
> 
> Is there any trick or tweak to create real vertical text (rotated text 
> field by -90deg)?
> 
> Up to now, I workaround with an text img I rotated in photoshop.
> 
> Thanks
> 
> Tiemo
> 
> 
> 
> 
> 
> ___
> 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


vertical text?

2017-04-11 Thread Tiemo Hollmann TB via use-livecode
Hello,

Is there any trick or tweak to create real vertical text (rotated text field
by -90deg)?

Up to now, I workaround with an text img I rotated in photoshop.

Thanks

Tiemo

 

 

___
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


when is LC 8.1.4 to be expected?

2017-04-03 Thread Tiemo Hollmann TB via use-livecode
Hello headquarter,

I am just releasing a new version and the only remaining bug is the wrong
windows systemVersion in 8.1.3.

That's why I would like to know, if 8.1.4 is shortly to be expected and it
would be worth for me to wait a few days or if it still is unscheduled and
I'll go with the wrong systemversion.

Thanks for any rumors off the records :)

Tiemo

 

 

___
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: vertical text?

2017-04-12 Thread Tiemo Hollmann TB via use-livecode
Nice conversion!
But I was looking for a rotated text by -90 degrees.
Thanks Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von AndyP via use-livecode
Gesendet: Mittwoch, 12. April 2017 13:14
An: use-revolut...@lists.runrev.com
Cc: AndyP 
Betreff: Re: vertical text?

Try This:

Add a field named "Input"

Add this script to the field

on returnInField
  send "mouseUp" to button "Format"
end returnInField

Add a button named "Format"

Add this script to the button

local tWidth
local tHeight
local tChars
local tCount
local tTemp

on mouseUp
   
   put the formattedWidth of char 1 of fld "Input" into tWidth 
   put the formattedHeight of char 1 of fld "Input" into tHeight 
   put the number of chars of fld "Input" into tChars
   set the Width of fld "Input" to tWidth*2
   
   put fld "Input" into tTemp
   put empty into fld "Input"
   repeat with tCount = 1 to tChars
  put char tCount of tTemp into char 1 of line tCount of fld "Input"
   end repeat
   filter fld "Input" without empty
   set the height of fld "Input" to the formattedHeight of fld "Input"
   set the leftMargin of fld "Input" to 2
   set the rightMargin of fld "Input" to 2
   set the topMargin of fld "Input" to 4
   set the bottomMargin of fld "Input" to 4
   set the textAlign of fld "Input" to center
   set the textHeight of fld "Input" to the textSize
   
end mouseUp

Now enter text into the field, when you hit return the field is resized to
fit the now vertical text.




-
Andy Piddock 


My software never has bugs. It just develops random features. 

TinyIDE a Free alternative minimalist IDE Plugin for LiveCode TinyIDE 


Script editor Themer for LC http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker /
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/vertical-text-tp4713887p47139
04.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


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


how to print only a part of a card?

2017-04-12 Thread Tiemo Hollmann TB via use-livecode
Hello,

probably I don't see the obvious or my math is slightly rusty. I am trying
to print only a section of a card, e.g. a rectangle, but I always only get a
(left and bottom) clipped rectangle being printed. Only when printing the
whole card I get the full rectangle. I am running out of paper from my
multiple tests :)

Here is what I tried:

 

on mouseUp

   # create a stack, size: 348,527

# create a button with this script

   # create a rectangle, size: 297,421

   -- set the printpapersize to 595,842 # optional test # A4

   -- set the printmargins to 40,57,40,57 # optional test

   -- set the printscale to .5 # optional test

   

   open printing with dialog

   if the result is not "cancel" then

  put the left of grc "rectangle" into item 1 of tLeftTop

  put the top of grc "rectangle" into item 2 of tLeftTop

  put the right of grc "rectangle" into item 1 of tRightBottom

  put the bottom of grc "rectangle" into item 2 of tRightBottom

  

  print this card from tLeftTop to tRightBottom

  -- print this card from tLeftTop to tRightBottom into 149,210,635, #
optional test

  -- print this card from tLeftTop to tRightBottom into 40,57,337,478  #
optional test  # margins+ rectangle

-- print this card # this is for me the only chance to get the whole
rectangle printed

   end if

   close printing

end mouseUp

 

Does anybody see the error in my logic?

Tiemo

 

 

___
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


tsneterr: HTTP response Code 400?

2017-04-12 Thread Tiemo Hollmann TB via use-livecode
Hello,

LC 8.1.3 I have some "put URL ." with PHPs executed on my server, which runs
fine.

Now I get a support call from a (windows) customer who gets "tsneterr: HTTP
response Code 400 returned from server"

A "HTTP 400 error" usually is a bad request because of a bad HTTP syntax
sent by the client which can't be resolved by the server. Since my program
runs fine at "all" other customers and my test machines, I assume it must be
something very special going on at the clients machine or network and the
error 400 is not the "real" error, but there must be something other going
on, which doesn't sends a more specific error code. Since this customer is a
school, which probably has some security mechanism in their network, I
assume it could be related to that network topography.

Has anybody ever encountered an error 400 which was not related to a bad
syntax or any ideas, what I could check for at that customer?

Thanks for any ideas

Tiemo

 

 

 

___
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: standalone build: "checking directory exists" takes up to 2 min

2017-04-05 Thread Tiemo Hollmann TB via use-livecode
No, the delay is almost constant with this stack and after the delay of (most 
times) 1:40 min the, message „checking directory exists“ pops up again, as if 
there was a "time out" at the first try and then it takes only the standard 2-3 
seconds, before the process continous.
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Mike Bonner via use-livecode
Gesendet: Mittwoch, 5. April 2017 14:07
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Mike Bonner <bonnm...@gmail.com>
Betreff: Re: standalone build: "checking directory exists" takes up to 2 min

If you build a standalone for your app, and immediately build again, is the 
second build faster?  If so, it would make me think that the server spins some 
of its drives down and it takes a second or two to spin them back up.
Even if the drive you are accessing doesn't spin down, if others on the server 
DO, I think there can be a short delay while it spins other drives back up to 
speed.

On Wed, Apr 5, 2017 at 2:01 AM, Tiemo Hollmann TB via use-livecode < 
use-livecode@lists.runrev.com> wrote:

> Hello,
>
> LC 8.1 – 8.1.4 and 9.0. I am on Win 10. The stack file source as well 
> as the standalone build directory is located on a windows server.
>
> When building a standalone für my (complex) main application on the 
> server dir the standalone builder progress stopps at the stage 
> „checking directory exists“ for 1-2 minutes.
>
> Building a standalone for the same stack in a local dir, it just takes 
> seconds. Now I could say, ok, LiveCode has to handle some network 
> security permissions or such for 2 mins. (btw. It is the same using a 
> UNC path or mapped drive)
>
> But building any other (smaller) stack or a new test stack on the 
> server dir takes only seconds.
>
> What stack parameters have an impact on “checking the build 
> directory”? OK, since this affects me only when building a standalone 
> and doesn’t seem to have any impact on the finished standalone, I 
> probably have to put into my trash of weired issues.
>
> Or any idea I can check for?
>
> Tiemo
>
>
>
>
>
>
>
>
>
> ___
> 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

any secrets printing only a section from a card?

2017-04-10 Thread Tiemo Hollmann TB via use-livecode
Hello,

LC 8.1.4, Win 10. (Same with LC 6-9) When printing a whole card with just
"print card" everything of the card is being printed fine, only stretched to
the papersize.

But when trying to print only a part of the  card by "print card from
myLeftTop to myRightBottom into page Rect" I never get the wanted rectangle
being printed into the pageRect. It is always clipped somewhere and only a
small part of the wanted rectangle is being printed. I have also tried to
set the printpapersize and printmargins and fiddled around with different
rectangle sizes, but didn't got the wanted section.

Are there any secret conversion factors, when printing "from to"?

Thanks for any hint

Tiemo

 

 

 

___
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: any secrets printing only a section from a card?

2017-04-11 Thread Tiemo Hollmann TB via use-livecode
Yes, that's my experience too. I also tested the printScale without success.
I now, created a separate print stack, copied all objects to that card and
print the whole card.
Thanks
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Robert Brenstein via use-livecode
Gesendet: Dienstag, 11. April 2017 12:50
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Robert Brenstein <run...@learning-insights.eu>
Betreff: Re: any secrets printing only a section from a card?

This might be an older issue. I have been struggling with that myself, in
context of producing PDFs, in version 7. Only printing the full card works
reliably. Any other option produces a different output but not the desired
one, at least not reliably.

On 10 Apr 2017, at 12:06, Tiemo Hollmann TB via use-livecode wrote:

> Hello,
>
> LC 8.1.4, Win 10. (Same with LC 6-9) When printing a whole card with 
> just "print card" everything of the card is being printed fine, only 
> stretched to the papersize.
>
> But when trying to print only a part of the  card by "print card from 
> myLeftTop to myRightBottom into page Rect" I never get the wanted 
> rectangle being printed into the pageRect. It is always clipped 
> somewhere and only a small part of the wanted rectangle is being 
> printed. I have also tried to set the printpapersize and printmargins 
> and fiddled around with different rectangle sizes, but didn't got the 
> wanted section.
>
> Are there any secret conversion factors, when printing "from to"?
>
> Thanks for any hint
>
> Tiemo
>
___
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


AW: taking a screenshot fails - video experience needed

2017-04-21 Thread Tiemo Hollmann TB via use-livecode
Hi Bob,

what do you mean with "their AV software"? the drivers of their video
adapter? Or do you think of any other?
And what do you mean with "feature"? to suppress the ability of making
screenshots in general? Ever heard of something like this?

Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Bob Sneidar via use-livecode
Gesendet: Donnerstag, 20. April 2017 18:11
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Bob Sneidar <bobsnei...@iotecdigital.com>
Betreff: Re: taking a screenshot fails - video experience needed

It may be a feature of their AV software.

Bob S


On Apr 20, 2017, at 05:03 , Tiemo Hollmann TB via use-livecode
<use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote:

Hello,

A vital part of my program is taking screenshots (snapshot) from videos,
played in my program (DirectShow videos, LC 8.1.4, Windows 10)

On a customer machine the snapshot doesn't work at all, it takes only a
black screen. For my limited understanding this is related to the video/
screen buffer. I tried both LiveCode options with alwaysBuffer of my
videoPlayer = true/false. Same result, black screen. This issue seems
perhaps not to be only a LiveCode issue because creating a screenshot with
other apps also only get a black screen from the video. In an older version
of my program with QT videos and older machines (up to win 7) I also
experienced this behavior on some rare machines and I found that turning the
hardware acceleration of the video card to off fixed this issue. But since
windows 10 there isn't anymore this option "hardware acceleration" in the
properties of the video adapter, which you could turn off and I didn't found
any comparable option.

Has anybody perhaps any idea, what I could look for changing the video
buffer behavior inside LiveCode or the system?

Thanks

Tiemo

___
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


AW: how to print only a part of a card?

2017-04-13 Thread Tiemo Hollmann TB via use-livecode
Hi Paul,
yes I tested on Win 10 and it's the same result with LC 6 to 9.
Can anybody confirm this behavior on windows before I file a bug? Actually I 
can't believe it's a bug since LC 6
Thanks
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Paul Hibbert via use-livecode
Gesendet: Mittwoch, 12. April 2017 19:49
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Paul Hibbert <p...@livecode.org>
Betreff: Re: how to print only a part of a card?

Tiemo,

There’s nothing wrong with your logic, this all works fine on a Mac, LC8.1.4 
(rc1), but from an earlier post I gather you are on Win 10 so this looks like 
there's a bug in the works, maybe a Linux user could test also.

Have you tried any other versions of LC?

HTH

Paul

> On 12 Apr 2017, at 06:40, Tiemo Hollmann TB via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hello,
> 
> probably I don't see the obvious or my math is slightly rusty. I am 
> trying to print only a section of a card, e.g. a rectangle, but I 
> always only get a (left and bottom) clipped rectangle being printed. 
> Only when printing the whole card I get the full rectangle. I am 
> running out of paper from my multiple tests :)
> 
> Here is what I tried:
> 
> 
> 
> on mouseUp
> 
>   # create a stack, size: 348,527
> 
> # create a button with this script
> 
>   # create a rectangle, size: 297,421
> 
>   -- set the printpapersize to 595,842 # optional test # A4
> 
>   -- set the printmargins to 40,57,40,57 # optional test
> 
>   -- set the printscale to .5 # optional test
> 
> 
> 
>   open printing with dialog
> 
>   if the result is not "cancel" then
> 
>  put the left of grc "rectangle" into item 1 of tLeftTop
> 
>  put the top of grc "rectangle" into item 2 of tLeftTop
> 
>  put the right of grc "rectangle" into item 1 of tRightBottom
> 
>  put the bottom of grc "rectangle" into item 2 of tRightBottom
> 
> 
> 
>  print this card from tLeftTop to tRightBottom
> 
>  -- print this card from tLeftTop to tRightBottom into 
> 149,210,635, # optional test
> 
>  -- print this card from tLeftTop to tRightBottom into 
> 40,57,337,478  # optional test  # margins+ rectangle
> 
> -- print this card # this is for me the only chance to get the whole 
> rectangle printed
> 
>   end if
> 
>   close printing
> 
> end mouseUp
> 
> 
> 
> Does anybody see the error in my logic?
> 
> Tiemo
> 
> 
> 
> 
> 
> ___
> 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

taking a screenshot fails - video experience needed

2017-04-20 Thread Tiemo Hollmann TB via use-livecode
Hello,

A vital part of my program is taking screenshots (snapshot) from videos,
played in my program (DirectShow videos, LC 8.1.4, Windows 10)

On a customer machine the snapshot doesn't work at all, it takes only a
black screen. For my limited understanding this is related to the video/
screen buffer. I tried both LiveCode options with alwaysBuffer of my
videoPlayer = true/false. Same result, black screen. This issue seems
perhaps not to be only a LiveCode issue because creating a screenshot with
other apps also only get a black screen from the video. In an older version
of my program with QT videos and older machines (up to win 7) I also
experienced this behavior on some rare machines and I found that turning the
hardware acceleration of the video card to off fixed this issue. But since
windows 10 there isn't anymore this option "hardware acceleration" in the
properties of the video adapter, which you could turn off and I didn't found
any comparable option.

Has anybody perhaps any idea, what I could look for changing the video
buffer behavior inside LiveCode or the system?

Thanks

Tiemo

 

 

 

 

___
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: Which code signing authority?

2017-04-20 Thread Tiemo Hollmann TB via use-livecode
I am working with comodo:
https://www.comodo.com/e-commerce/code-signing/code-signing-certificate.php?
s_track=7639
Good experience, but no comparison to others
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Jonathan Lynch via use-livecode
Gesendet: Donnerstag, 20. April 2017 14:48
An: use-livecode@lists.runrev.com
Cc: jonathandly...@gmail.com
Betreff: Which code signing authority?

Which code signing authority do you guys suggest using?

That comes with the apple developer account - but what about for pc and
android?

I would prefer to avoid spending $600 on a certificate if possible, but I
don't know how well-accepted the less expensive certificates are.

Sent from my iPhone
___
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


is LCs answer folder state of the art?

2017-03-13 Thread Tiemo Hollmann TB via use-livecode
Hello,

 

the user shall select a folder, which includes certain files. When using
"answer folder" the LiveCode dialog lets select the folder and returns the
path, but without showing it's content, while navigating. That puzzles
sometimes my customers, because it looks like the folder is empty and it
might not be the correct folder.

I am  not sure, if this behavior of the answer dialog is "standard" at other
programs and it just looks strange to me, or if there is another approach to
let the user select a folder while showing it's content? I could workaround
with "answer file", but that could puzzle again the user, because he can't
select a folder and must select a file to return from the dialog.

How is this UI issue handled correctly?

Tiemo

 

 

 

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


how to remove black title bar in browser widget when showing a pdf?

2017-03-14 Thread Tiemo Hollmann TB via use-livecode
Hello,

LC 8.1.3, Windows 10: When I am displaying a pdf (local or web) in the
browser widget, there is a black title bar on top of the pdf, which occupies
the top 45 pixels of the browser widget. When hovering over the widget, the
name of the pdf is shown within this black title bar.

I didn't found any option to not show this title bar within the browser
widget. Do I have to live with it or is there an option or a trick I haven't
found yet?

Thanks

Tiemo

 

 

___
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: is LCs answer folder state of the art?

2017-03-14 Thread Tiemo Hollmann TB via use-livecode
Thanks for testing (yes it was Windows only, LC 8). I'll ask Satya, if he
can fix it.

Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Mark Wieder via use-livecode
Gesendet: Dienstag, 14. März 2017 02:05
An: How to use LiveCode 
Cc: Mark Wieder 
Betreff: Re: is LCs answer folder state of the art?

On 03/13/2017 03:24 PM, Richard Gaskin via use-livecode wrote:
> Mike Bonner wrote:
>
>> On windows, only folders show.
>
> I just checked this by going into Settings in IE on Win 10 and 
> changing the Downloads folder - the dialog MS brings up for that shows
only folders.
>

Hmmm. Someone should fix Windows.
Is there a bug report for that?

--
  Mark Wieder
  ahsoftw...@gmail.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


AW: Trouble playing videos with MS DirectShow LC 8

2017-03-08 Thread Tiemo Hollmann TB via use-livecode
Just FYI,
Ian from LC clarified the phenomenon that the mp4 videos could be played with 
the standard video player but not with the LC video player.

LiveCodes new video player object is based on the DirectShow API and the 
standard MS video players are based on the newer MS media foundation since Win 
7. DirectShow doesn't supports mp4 videos without additional codecs (like from 
the LAV filters), but the media foundation does support mp4 without any extra 
codecs.

Tiemo


>> You only need to report not fully understand it! ;-)


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


___
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: Trouble playing videos with MS DirectShow LC 8

2017-03-08 Thread Tiemo Hollmann TB via use-livecode
Kommste vorbei, kriegste 'nen Heiermann

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Klaus major-k via use-livecode
Gesendet: Mittwoch, 8. März 2017 11:55
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Klaus major-k <kl...@major-k.de>
Betreff: Re: Trouble playing videos with MS DirectShow LC 8

Hi Tiemo,

> Am 08.03.2017 um 09:07 schrieb Tiemo Hollmann TB via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> Hey Klaus,
> 
> you saved my YEAR!

OK, das macht dann fünf Mark! :-D

> As you mentioned "LAVFilters", I remembered that I also had installed 
> the LAV Filters on my development machine long time ago (my brain gets 
> old), et voila, that’s the difference between my machine and the others.
> 
> Installing the LAV Filters (just with the mp4 option) on the other 
> machines now the mp4 videos also run within LiveCode. I think that’s 
> too deep under the hood that I can understand it, but I have a solution for 
> my customers.
> 
> I'll file it anyhow at the QC because it still keeps strange, why mp4 
> videos can be played outside of LC, but not with LC.

You only need to report not fully understand it! ;-)

> Thanks a lot for fiddling around!
> Tiemo
> 
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
> Auftrag von Klaus major-k via use-livecode
> Gesendet: Dienstag, 7. März 2017 19:14
> An: How to use LiveCode <use-livecode@lists.runrev.com>
> Cc: Klaus major-k <kl...@major-k.de>
> Betreff: Re: Trouble playing videos with MS DirectShow LC 8
> 
> Hi Tiemo,
> 
> just made a little test on my "stock" Win10 installation (Parallels on 
> my Mac).
> 
> WindowsMediaPlayer plays any MP4 fine, but nothing appears in the 
> player of Livecode!?
> So this is definitively a LC issue!
> 
> Then I downloaded and installed the latest LAVFilter codec package:
> <https://github.com/Nevcairiel/LAVFilters/releases>
> Et voila, I can play these MP4, which did not play before, in LC!? 
> Does not make any sense actually!?
> 
>> On 3/7/17 9:47 AM, Tiemo Hollmann TB via use-livecode wrote:
>>> Yes, it plays fine on my development machine by selecting it via a
> dialog, but not on the other machines.
>>> 
>>> Tiemo

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


___
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

Trouble playing videos with MS DirectShow LC 8

2017-03-07 Thread Tiemo Hollmann TB via use-livecode
Hello,

 

With LC 8.1.2 I changed the video standard in my programs from Quicktime to
the new standard interface DirectShow on Windows. I recoded all videos to
mp4 with Intel QSV H.264.

On my developing W10 machine everything works fine in the IDE and
standalone. Now after release it looks like my developing machine is "the
only one" which can play the new videos in my new LiveCode program.

On a W7, W8 and other W10 machine I get the error "could not create movie
reference" when setting the filename of the player object.

Actually the DirectShow standard should be available from W7 to W10 and when
just double clicking the video, it can be played on all those other machines
with the standard video player, so it doesn't seem to be an codec issue. On
the other hand something from the environment must be different on my
developing machine.

I also tried to build a new standalone with LC 9.0 dp3, but testing the
standalone it show the same issue.

 

Has anybody any idea, where to start searching?

What could be different on my developing machine as on all other machines?

Are there any known system requirements for using DirectShow? (which I have
set unconsciously on my machine)

 

Thanks for any ideas

Tiemo

 

 

 

 

___
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: Trouble playing videos with MS DirectShow LC 8

2017-03-07 Thread Tiemo Hollmann TB via use-livecode
Hi Tim,

choosing a video file via ask dialog and setting the filename of the player 
object to it sets an absolute path and that works on my machine fine.

Thank you for that hint

Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Bleiler, Timothy via use-livecode
Gesendet: Dienstag, 7. März 2017 15:40
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Bleiler, Timothy <blei...@buffalo.edu>
Betreff: Re: Trouble playing videos with MS DirectShow LC 8

Make sure your file references to the movie are relative and not absolute. I’ve 
made that mistake once or twice.

Tim Bleiler, Ph.D.
Instructional Designer, HSIT
University at Buffalo



> On Mar 7, 2017, at 7:07 AM, Tiemo Hollmann TB via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hello,
> 
> 
> 
> With LC 8.1.2 I changed the video standard in my programs from 
> Quicktime to the new standard interface DirectShow on Windows. I 
> recoded all videos to
> mp4 with Intel QSV H.264.
> 
> On my developing W10 machine everything works fine in the IDE and 
> standalone. Now after release it looks like my developing machine is 
> "the only one" which can play the new videos in my new LiveCode program.
> 
> On a W7, W8 and other W10 machine I get the error "could not create 
> movie reference" when setting the filename of the player object.
> 
> Actually the DirectShow standard should be available from W7 to W10 
> and when just double clicking the video, it can be played on all those 
> other machines with the standard video player, so it doesn't seem to 
> be an codec issue. On the other hand something from the environment 
> must be different on my developing machine.
> 
> I also tried to build a new standalone with LC 9.0 dp3, but testing 
> the standalone it show the same issue.
> 
> 
> 
> Has anybody any idea, where to start searching?
> 
> What could be different on my developing machine as on all other machines?
> 
> Are there any known system requirements for using DirectShow? (which I 
> have set unconsciously on my machine)
> 
> 
> 
> Thanks for any ideas
> 
> Tiemo
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> 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

AW: Trouble playing videos with MS DirectShow LC 8

2017-03-07 Thread Tiemo Hollmann TB via use-livecode
Making some further tests, I discovered that there must be a relation to mp4
video files.
I tested the same standalone with an old avi file and that worked, but not
with some different mp4 files
But it can't be something in general, because the mp4 file can be played
fine with the same standalone on my W10 machine.
So I am still searching for an idea, what could be different on my machine
to "all" others.

Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB via use-livecode
Gesendet: Dienstag, 7. März 2017 13:07
An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
Cc: Tiemo Hollmann TB <toolb...@kestner.de>
Betreff: Trouble playing videos with MS DirectShow LC 8

Hello,

 

With LC 8.1.2 I changed the video standard in my programs from Quicktime to
the new standard interface DirectShow on Windows. I recoded all videos to
mp4 with Intel QSV H.264.

On my developing W10 machine everything works fine in the IDE and
standalone. Now after release it looks like my developing machine is "the
only one" which can play the new videos in my new LiveCode program.

On a W7, W8 and other W10 machine I get the error "could not create movie
reference" when setting the filename of the player object.

Actually the DirectShow standard should be available from W7 to W10 and when
just double clicking the video, it can be played on all those other machines
with the standard video player, so it doesn't seem to be an codec issue. On
the other hand something from the environment must be different on my
developing machine.

I also tried to build a new standalone with LC 9.0 dp3, but testing the
standalone it show the same issue.

 

Has anybody any idea, where to start searching?

What could be different on my developing machine as on all other machines?

Are there any known system requirements for using DirectShow? (which I have
set unconsciously on my machine)

 

Thanks for any ideas

Tiemo

 

 

 

 

___
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


AW: AW: Trouble playing videos with MS DirectShow LC 8

2017-03-07 Thread Tiemo Hollmann TB via use-livecode
... and as I mentioned, the videos play fine on all machines outside of 
LiveCode in the standard platform videoPlayer, what says to me that it can't be 
a codec issue - as far as I see

Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Tiemo Hollmann TB via use-livecode
Gesendet: Dienstag, 7. März 2017 17:49
An: 'How to use LiveCode' <use-livecode@lists.runrev.com>
Cc: Tiemo Hollmann TB <toolb...@kestner.de>
Betreff: AW: AW: Trouble playing videos with MS DirectShow LC 8

Hi Jacque,

that's what I also already thought of. But I haven't found yet, how/where I 
could check for it. I have an old nice tool, called gspot, which usually tells 
me everything about any video, but it doesn't work with theses H.264 mp4's.  I 
was on the intel site and downloaded a media sdk, installed it on one of those 
not working machines, but without success. But actually I don't even know, if 
that codec is part of that media sdk, they don't describe the detailed content. 
So it was a shot into the dark and I didn't found yet a dedicated download for 
that codec.

Tiemo





-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
J. Landman Gay via use-livecode
Gesendet: Dienstag, 7. März 2017 17:01
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: J. Landman Gay <jac...@hyperactivesw.com>
Betreff: Re: AW: Trouble playing videos with MS DirectShow LC 8

Do the other machines have the mp4 codec installed? Most versions of Windows 
didn't ship with it, you had to install it separately.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com



On March 7, 2017 9:32:22 AM Tiemo Hollmann TB via use-livecode 
<use-livecode@lists.runrev.com> wrote:

> Making some further tests, I discovered that there must be a relation 
> to mp4 video files.
> I tested the same standalone with an old avi file and that worked, but 
> not with some different mp4 files But it can't be something in 
> general, because the mp4 file can be played fine with the same 
> standalone on my W10 machine.
> So I am still searching for an idea, what could be different on my 
> machine to "all" others.
>
> Tiemo
>
>
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
> Auftrag von Tiemo Hollmann TB via use-livecode
> Gesendet: Dienstag, 7. März 2017 13:07
> An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
> Cc: Tiemo Hollmann TB <toolb...@kestner.de>
> Betreff: Trouble playing videos with MS DirectShow LC 8
>
> Hello,
>
>
>
> With LC 8.1.2 I changed the video standard in my programs from 
> Quicktime to the new standard interface DirectShow on Windows. I 
> recoded all videos to
> mp4 with Intel QSV H.264.
>
> On my developing W10 machine everything works fine in the IDE and 
> standalone. Now after release it looks like my developing machine is 
> "the only one" which can play the new videos in my new LiveCode program.
>
> On a W7, W8 and other W10 machine I get the error "could not create 
> movie reference" when setting the filename of the player object.
>
> Actually the DirectShow standard should be available from W7 to W10 
> and when just double clicking the video, it can be played on all those 
> other machines with the standard video player, so it doesn't seem to 
> be an codec issue. On the other hand something from the environment 
> must be different on my developing machine.
>
> I also tried to build a new standalone with LC 9.0 dp3, but testing 
> the standalone it show the same issue.
>
>
>
> Has anybody any idea, where to start searching?
>
> What could be different on my developing machine as on all other machines?
>
> Are there any known system requirements for using DirectShow? (which I 
> have set unconsciously on my machine)
>
>
>
> Thanks for any ideas
>
> Tiemo
>
>
>
>
>
>
>
>
>
> ___
> 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, unsubscr

AW: Trouble playing videos with MS DirectShow LC 8

2017-03-07 Thread Tiemo Hollmann TB via use-livecode
Hi Tim,

hmm, I didn't knew, that this codec is a hardware based codec. Do you think it 
definitely is tied to special intel hardware and won't run on every hardware 
and can't be added by a software codec? Btw. It runs also fine on my iMac.

That would be really bad for me, because it was the only codec my Sorenson 
squeeze offered me for H.264, where I can step frame by frame thru the video, 
what is a must for my app.

Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Bleiler, Timothy via use-livecode
Gesendet: Dienstag, 7. März 2017 16:55
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Bleiler, Timothy <blei...@buffalo.edu>
Betreff: Re: Trouble playing videos with MS DirectShow LC 8

I’m certainly no expert on video encoding but since you used the Intel QSV 
H.264 encoder I’m wondering if the Livecode implementation of DirectShow does 
not support that hardware based encoder. You might have better luck and broader 
compatibilty using something like the default encoder in Handbrake.

Tim Bleiler



On Mar 7, 2017, at 10:28 AM, Tiemo Hollmann TB via use-livecode 
<use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote:

Making some further tests, I discovered that there must be a relation to mp4 
video files.
I tested the same standalone with an old avi file and that worked, but not with 
some different mp4 files But it can't be something in general, because the mp4 
file can be played fine with the same standalone on my W10 machine.
So I am still searching for an idea, what could be different on my machine to 
"all" others.

Tiemo

___
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

AW: AW: Trouble playing videos with MS DirectShow LC 8

2017-03-07 Thread Tiemo Hollmann TB via use-livecode
Hi Jacque,

that's what I also already thought of. But I haven't found yet, how/where I 
could check for it. I have an old nice tool, called gspot, which usually tells 
me everything about any video, but it doesn't work with theses H.264 mp4's.  I 
was on the intel site and downloaded a media sdk, installed it on one of those 
not working machines, but without success. But actually I don't even know, if 
that codec is part of that media sdk, they don't describe the detailed content. 
So it was a shot into the dark and I didn't found yet a dedicated download for 
that codec.

Tiemo





-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
J. Landman Gay via use-livecode
Gesendet: Dienstag, 7. März 2017 17:01
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: J. Landman Gay <jac...@hyperactivesw.com>
Betreff: Re: AW: Trouble playing videos with MS DirectShow LC 8

Do the other machines have the mp4 codec installed? Most versions of Windows 
didn't ship with it, you had to install it separately.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com



On March 7, 2017 9:32:22 AM Tiemo Hollmann TB via use-livecode 
<use-livecode@lists.runrev.com> wrote:

> Making some further tests, I discovered that there must be a relation 
> to mp4 video files.
> I tested the same standalone with an old avi file and that worked, but 
> not with some different mp4 files But it can't be something in 
> general, because the mp4 file can be played fine with the same 
> standalone on my W10 machine.
> So I am still searching for an idea, what could be different on my 
> machine to "all" others.
>
> Tiemo
>
>
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
> Auftrag von Tiemo Hollmann TB via use-livecode
> Gesendet: Dienstag, 7. März 2017 13:07
> An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
> Cc: Tiemo Hollmann TB <toolb...@kestner.de>
> Betreff: Trouble playing videos with MS DirectShow LC 8
>
> Hello,
>
>
>
> With LC 8.1.2 I changed the video standard in my programs from 
> Quicktime to the new standard interface DirectShow on Windows. I 
> recoded all videos to
> mp4 with Intel QSV H.264.
>
> On my developing W10 machine everything works fine in the IDE and 
> standalone. Now after release it looks like my developing machine is 
> "the only one" which can play the new videos in my new LiveCode program.
>
> On a W7, W8 and other W10 machine I get the error "could not create 
> movie reference" when setting the filename of the player object.
>
> Actually the DirectShow standard should be available from W7 to W10 
> and when just double clicking the video, it can be played on all those 
> other machines with the standard video player, so it doesn't seem to 
> be an codec issue. On the other hand something from the environment 
> must be different on my developing machine.
>
> I also tried to build a new standalone with LC 9.0 dp3, but testing 
> the standalone it show the same issue.
>
>
>
> Has anybody any idea, where to start searching?
>
> What could be different on my developing machine as on all other machines?
>
> Are there any known system requirements for using DirectShow? (which I 
> have set unconsciously on my machine)
>
>
>
> Thanks for any ideas
>
> Tiemo
>
>
>
>
>
>
>
>
>
> ___
> 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

AW: AW: AW: Trouble playing videos with MS DirectShow LC 8

2017-03-07 Thread Tiemo Hollmann TB via use-livecode
Yes, it plays fine on my development machine by selecting it via a dialog, but 
not on the other machines.

Tiemo



-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Phil Davis via use-livecode
Gesendet: Dienstag, 7. März 2017 18:22
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Phil Davis <rev...@pdslabs.net>
Betreff: Re: AW: AW: Trouble playing videos with MS DirectShow LC 8

If you pick the video file with a file dialog and set the filename of the 
player to "it", will it play then? If so, maybe you're having a path issue.

Phil Davis


On 3/7/17 8:51 AM, Tiemo Hollmann TB via use-livecode wrote:
> ... and as I mentioned, the videos play fine on all machines outside 
> of LiveCode in the standard platform videoPlayer, what says to me that 
> it can't be a codec issue - as far as I see
>
> Tiemo
>
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
> Auftrag von Tiemo Hollmann TB via use-livecode
> Gesendet: Dienstag, 7. März 2017 17:49
> An: 'How to use LiveCode' <use-livecode@lists.runrev.com>
> Cc: Tiemo Hollmann TB <toolb...@kestner.de>
> Betreff: AW: AW: Trouble playing videos with MS DirectShow LC 8
>
> Hi Jacque,
>
> that's what I also already thought of. But I haven't found yet, how/where I 
> could check for it. I have an old nice tool, called gspot, which usually 
> tells me everything about any video, but it doesn't work with theses H.264 
> mp4's.  I was on the intel site and downloaded a media sdk, installed it on 
> one of those not working machines, but without success. But actually I don't 
> even know, if that codec is part of that media sdk, they don't describe the 
> detailed content. So it was a shot into the dark and I didn't found yet a 
> dedicated download for that codec.
>
> Tiemo
>
>
>
>
>
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
> Auftrag von J. Landman Gay via use-livecode
> Gesendet: Dienstag, 7. März 2017 17:01
> An: How to use LiveCode <use-livecode@lists.runrev.com>
> Cc: J. Landman Gay <jac...@hyperactivesw.com>
> Betreff: Re: AW: Trouble playing videos with MS DirectShow LC 8
>
> Do the other machines have the mp4 codec installed? Most versions of Windows 
> didn't ship with it, you had to install it separately.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
>
>
> On March 7, 2017 9:32:22 AM Tiemo Hollmann TB via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
>
>> Making some further tests, I discovered that there must be a relation 
>> to mp4 video files.
>> I tested the same standalone with an old avi file and that worked, 
>> but not with some different mp4 files But it can't be something in 
>> general, because the mp4 file can be played fine with the same 
>> standalone on my W10 machine.
>> So I am still searching for an idea, what could be different on my 
>> machine to "all" others.
>>
>> Tiemo
>>
>>
>> -Ursprüngliche Nachricht-
>> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
>> Auftrag von Tiemo Hollmann TB via use-livecode
>> Gesendet: Dienstag, 7. März 2017 13:07
>> An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
>> Cc: Tiemo Hollmann TB <toolb...@kestner.de>
>> Betreff: Trouble playing videos with MS DirectShow LC 8
>>
>> Hello,
>>
>>
>>
>> With LC 8.1.2 I changed the video standard in my programs from 
>> Quicktime to the new standard interface DirectShow on Windows. I 
>> recoded all videos to
>> mp4 with Intel QSV H.264.
>>
>> On my developing W10 machine everything works fine in the IDE and 
>> standalone. Now after release it looks like my developing machine is 
>> "the only one" which can play the new videos in my new LiveCode program.
>>
>> On a W7, W8 and other W10 machine I get the error "could not create 
>> movie reference" when setting the filename of the player object.
>>
>> Actually the DirectShow standard should be available from W7 to W10 
>> and when just double clicking the video, it can be played on all 
>> those other machines with the standard video player, so it doesn't 
>> seem to be an codec issue. On the other hand something from the 
>> environment must be different on my developing machine.
>>
>> I also tried to build a new standalone with LC 9.0 dp3, but testing 
>> the standa

AW: Trouble playing videos with MS DirectShow LC 8

2017-03-08 Thread Tiemo Hollmann TB via use-livecode
Hey Klaus,

you saved my YEAR!

As you mentioned "LAVFilters", I remembered that I also had installed the
LAV Filters on my development machine long time ago (my brain gets old), et
voila, that’s the difference between my machine and the others.

Installing the LAV Filters (just with the mp4 option) on the other machines
now the mp4 videos also run within LiveCode. I think that’s too deep under
the hood that I can understand it, but I have a solution for my customers.

I'll file it anyhow at the QC because it still keeps strange, why mp4 videos
can be played outside of LC, but not with LC.

Thanks a lot for fiddling around!
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Klaus major-k via use-livecode
Gesendet: Dienstag, 7. März 2017 19:14
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Klaus major-k <kl...@major-k.de>
Betreff: Re: Trouble playing videos with MS DirectShow LC 8

Hi Tiemo,

just made a little test on my "stock" Win10 installation (Parallels on my
Mac).

WindowsMediaPlayer plays any MP4 fine, but nothing appears in the player of
Livecode!?
So this is definitively a LC issue!

Then I downloaded and installed the latest LAVFilter codec package:
<https://github.com/Nevcairiel/LAVFilters/releases>
Et voila, I can play these MP4, which did not play before, in LC!? 
Does not make any sense actually!?

> On 3/7/17 9:47 AM, Tiemo Hollmann TB via use-livecode wrote:
>> Yes, it plays fine on my development machine by selecting it via a
dialog, but not on the other machines.
>> 
>> Tiemo

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


___
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: Re Quick Test for Tiemo

2017-03-31 Thread Tiemo Hollmann TB via use-livecode
Sorry guys I didn't specified the stack format version, it was 7.
Thanks for all testers. The test was very valuable for me, because I found
that the sequence of MAC addresses wasn't the same as my old function
produced on some machines. I have optimized my code now to get the same
sequence.
Thanks again and have a nice weekend
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Mark Waddingham via use-livecode
Gesendet: Freitag, 31. März 2017 15:56
An: How to use LiveCode 
Cc: Mark Waddingham 
Betreff: Re: Re Quick Test for Tiemo

On 2017-03-31 15:36, Francis Nugent Dixon via use-livecode wrote:
> Sorry Tiemo,
> 
> Got a message that "MyMACs.livecode" is not a stack - can't open it 
> with LiveCode
> 
> I wonder why ?
> 
> Using - 10.12 Sierra with LiveCode 5.5.

It is a 7.0 format stackfile... The error message in older LiveCode versions
was a little lacking in this regard, it is more specific in 6.7.x onwards
(i.e. it tells you why it doesn't think it is a stack!) :)

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


___
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


rawKeyUp/Down give different keys for same char since LC 8

2017-03-21 Thread Tiemo Hollmann TB via use-livecode
Hello,

Testing on Win 10, IDE: up to LC 6.7 special chars, as German Umlaute gave
the same key in rawKeyUp and rawKeyDown, e.g.

ä = 39, ü = 59, ö = 96, ß = 91

in LC 8 and 9 the rawKeyUp are still the same, but in rawKeyDown I now get:

ä = 228, ü = 252, ö = 246, ß = 223

 

Is there any plausible explanation or reason why this had to be changed, or
is this a bug?

 

I now have found multiple dozens non compatible issues between LC 6 and 8,
which I had to fix in my program and am waiting every day for new issue.
It’s a pitty, I didn’t noticed all changes in a logfile.

 

Shall I report this as a bug, or is it not worth to wonder?

Tiemo

 

 

 

___
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


load URL is broken in 8.1.4

2017-07-31 Thread Tiemo Hollmann TB via use-livecode
Hello,

For my automatic update mechanism I am downloading a zip file from a web
server, extracting the zip file and starting the downloaded update.

I am doing this since years, without having changed anything in my code. Now
in 8.1.4, Windows 10 this load URL downloads a "broken/corrupted" empty zip
file, which breaks my whole update process. In 8.1.4 rc1 this still has
worked and in 8.1.5 it seems to work again without any changes in my code or
the zip file. I didn't tested yet 8.1.6 and 9.

I had done a minor change in my program, completely far off the download
handler and just build a new standalone for a new CD production and thought
I'll take the "stable" release 8.1.4 instead of the last build with 8.1.4
rc1 for the new production. Because it was only a minor bug fix in my
program and I only switched from 8.1.4 to 8.1.4 rc1 I didn't tested each and
every possible feature of my program, before going into the production of a
new release. Only by a great chance I discovered that my update process is
broken. If I would have sold this new CD production, I would never have been
able to update my program again, because the update process would have been
broken.

In all the years working with RunRev/LiveCode I never have experienced so
many, frequently regression bugs as in LC 8. I had at least 10-20 regression
bugs in LC 8, since switching from 6.7. Almost in each single release
candidate and each general release there are new regression bugs of old and
common features so that it is a game of hazard to use a new release. I have
no idea, what is going on behind the scenes in Edinborough, if it is related
to the open source development, so that everybody can create regression
bugs, but this isn't anymore a reliable software development. The complete
responsibility is passed to us.

Sorry, but I am really pissed off and my trust in every new release has
dropped to zero.

Tiemo

 

 

___
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: load URL is broken in 8.1.4

2017-07-31 Thread Tiemo Hollmann TB via use-livecode
I forgot my final question: Have you made similar experiences or is it only
me and how do you handle this permanent hazard of regression bugs?
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB via use-livecode
Gesendet: Montag, 31. Juli 2017 11:16
An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
Cc: Tiemo Hollmann TB <toolb...@kestner.de>
Betreff: load URL is broken in 8.1.4

Hello,

For my automatic update mechanism I am downloading a zip file from a web
server, extracting the zip file and starting the downloaded update.

I am doing this since years, without having changed anything in my code. Now
in 8.1.4, Windows 10 this load URL downloads a "broken/corrupted" empty zip
file, which breaks my whole update process. In 8.1.4 rc1 this still has
worked and in 8.1.5 it seems to work again without any changes in my code or
the zip file. I didn't tested yet 8.1.6 and 9.

I had done a minor change in my program, completely far off the download
handler and just build a new standalone for a new CD production and thought
I'll take the "stable" release 8.1.4 instead of the last build with 8.1.4
rc1 for the new production. Because it was only a minor bug fix in my
program and I only switched from 8.1.4 to 8.1.4 rc1 I didn't tested each and
every possible feature of my program, before going into the production of a
new release. Only by a great chance I discovered that my update process is
broken. If I would have sold this new CD production, I would never have been
able to update my program again, because the update process would have been
broken.

In all the years working with RunRev/LiveCode I never have experienced so
many, frequently regression bugs as in LC 8. I had at least 10-20 regression
bugs in LC 8, since switching from 6.7. Almost in each single release
candidate and each general release there are new regression bugs of old and
common features so that it is a game of hazard to use a new release. I have
no idea, what is going on behind the scenes in Edinborough, if it is related
to the open source development, so that everybody can create regression
bugs, but this isn't anymore a reliable software development. The complete
responsibility is passed to us.

Sorry, but I am really pissed off and my trust in every new release has
dropped to zero.

Tiemo

 

 

___
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


AW: AW: load URL is broken in 8.1.4

2017-07-31 Thread Tiemo Hollmann TB via use-livecode
Hi Mark,
thank you for your explanations. What I can understand are the regressions 
switching from 6 to 7/8, because of widely new underlying architecture and 
components. That was a huge step. There I had a lot of sympathy. What is much 
more harder to understand and acceptable are the regressions within version 8. 
I would think that there is not such a general exchange of components under the 
hood from 8.1.4rc1 to 8.1.4, which would make a total test of every detail 
necessary. My first idea was a bug in tsNet.dll, but this "load URL" bug is not 
caused by the different versions of tsnet, but definitively by LC 8.1.4.
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Mark Waddingham via use-livecode
Gesendet: Montag, 31. Juli 2017 13:41
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: Mark Waddingham <m...@livecode.com>
Betreff: Re: AW: load URL is broken in 8.1.4

I don't think there is anyway we can deny that the transition from 6.x to 7.x 
caused a lot of regressions.

This is why we have a strict policy of handling maintenance releases now - i.e. 
we work very hard to ensure each maintenance version is strictly better than 
before.

I know of a number of users who have had similar difficulties moving from 6 
straight to 8 - however, barring the occasional error (e.g. The backdrop fiasco 
and the load URL one you mention directly) 8.1.(x+1) has had less regressions 
relative to 6 - and no regressions relative to 8.1.x.

Also (as far as we can) regressions relative to older versions get very high 
priority in our bug fixing queue.

So things might not yet be perfect but I'd hope that everyone can see that 
we've made great strides (indeed, we've made good progress on fixing issues 
which have been around a lot longer recently - even back to the very early days 
of the MetaCard engine).

No-one likes encountering regressions - however in a system as complex and 
broad as ours they are often unavoidable.

Every one sees a different view of the elephant so to speak - and we try to act 
as quickly as we can when issues are reported (usually seeeing them fixed in 
the next maintenance release).

Warmest Regards,

Mark.

Sent from my iPhone

> On 31 Jul 2017, at 12:27, Tiemo Hollmann TB via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> I forgot my final question: Have you made similar experiences or is it 
> only me and how do you handle this permanent hazard of regression bugs?
> Tiemo
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
> Auftrag von Tiemo Hollmann TB via use-livecode
> Gesendet: Montag, 31. Juli 2017 11:16
> An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
> Cc: Tiemo Hollmann TB <toolb...@kestner.de>
> Betreff: load URL is broken in 8.1.4
> 
> Hello,
> 
> For my automatic update mechanism I am downloading a zip file from a 
> web server, extracting the zip file and starting the downloaded update.
> 
> I am doing this since years, without having changed anything in my 
> code. Now in 8.1.4, Windows 10 this load URL downloads a 
> "broken/corrupted" empty zip file, which breaks my whole update 
> process. In 8.1.4 rc1 this still has worked and in 8.1.5 it seems to 
> work again without any changes in my code or the zip file. I didn't tested 
> yet 8.1.6 and 9.
> 
> I had done a minor change in my program, completely far off the 
> download handler and just build a new standalone for a new CD 
> production and thought I'll take the "stable" release 8.1.4 instead of 
> the last build with 8.1.4
> rc1 for the new production. Because it was only a minor bug fix in my 
> program and I only switched from 8.1.4 to 8.1.4 rc1 I didn't tested 
> each and every possible feature of my program, before going into the 
> production of a new release. Only by a great chance I discovered that 
> my update process is broken. If I would have sold this new CD 
> production, I would never have been able to update my program again, 
> because the update process would have been broken.
> 
> In all the years working with RunRev/LiveCode I never have experienced 
> so many, frequently regression bugs as in LC 8. I had at least 10-20 
> regression bugs in LC 8, since switching from 6.7. Almost in each 
> single release candidate and each general release there are new 
> regression bugs of old and common features so that it is a game of 
> hazard to use a new release. I have no idea, what is going on behind 
> the scenes in Edinborough, if it is related to the open source 
> development, so that everybody can create regression bugs, but this 
> isn't anymore a reliable software development. The complete responsibility is 
> passed to us.

Video plays on Win 8.1 only when Windows MediaPlayer is open

2017-08-03 Thread Tiemo Hollmann TB via use-livecode
Hello,

LC 8.1.4, Windows 8.1

I am using the Windows standard videoPlayer API DirectShow with h.264
videos. LAV filters for playback of h.264 are installed. On a customer
machine something weired happens.

After starting the video, the videoscreen stays black, no video is seen.

If the user klicks at the title bar of my program window and drags it around
the screen, the video is seen. When he stops, the video keeps black.

So I thought, this must be a strange issue of how the graphic card handles
the screen/video buffer. I also tested with alwaysbufferon true/false
without any change of the issue.

By chance the user tested to play one of my videos in the standard Microsoft
MediaPlayer (which worked fine) and while this MediaPlayer is open, all
videos can also be seen in my program. As soon, as the MediaPalyer is
closed, the videos again can't be seen in my program. I have no idea, what
could be the releated issue between the Microsoft MediaPlayer and the
LiveCode VidePlayer, especially, because the MS MediaPlayer uses the Media
Foundation API and LC the DirectShow API. The only explanation for me would
be, that the MediaPlayer switches a system jumper behind the sceens, which
changes anything in handling the video buffer, but as I don't have any more
known options in LC as "alwaysBufferOn", I have no idea, if there is
anything I could test or check anymore.

Any ideas welcome.

Tiemo

 

 

 

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


How do you detect the necessary inclusions?

2017-08-03 Thread Tiemo Hollmann TB via use-livecode
Hello,

 

I think in former times, when you once have choosen "Search for required
inclusions", LiveCode once has checked all necessary inclusion, so that you
got an idea for the needed ones, when you afterwords wanted to selected them
manually (e.g. the automatic didn't selected all needed inclusions).

Today in 8.1.5 LC doesn't mark anymore any needed inclusions, after having
let it search for the required ones. At least the browser widget was not
checked, though I have an browser widget in my stack. How do you handle this
to get the right inclusions?

Btw. There are three browser inclusions and I don't know, which one is for
what purpose. I assume that the inclusion with the "globe icon" is for the
browser widget, because it has the same icon, but there are 3 browser
inclusions. What are the inclusions "browser" (jigsaw icon) and "browser
(CEF)" for?

 

Tiemo

 

 

 

___
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: set the clipboarddata["image"] not compatible with Adobe Photoshop

2017-08-04 Thread Tiemo Hollmann TB via use-livecode
Hi Panos,
same: Word: Yes, Photoshop: No
Thanks
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von panagiotis merakos via use-livecode
Gesendet: Freitag, 4. August 2017 11:31
An: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: panagiotis merakos <merak...@gmail.com>
Betreff: Re: set the clipboarddata["image"] not compatible with Adobe
Photoshop

Hi Tiemo,

What happens if you do:

export snapshot from grp "ScreenShot" to tScreenshot as JPEG lock the
clipboard set the fullclipboarddata["image"] to tScreenshot unlock the
clipboard

Best,
Panos
--


On Fri, Aug 4, 2017 at 10:25 AM, Tiemo Hollmann TB via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hello,
>
> LC 8.1.5, Windows 10
>
> export snapshot from grp "ScreenShot" to tScreenshot as JPEG
>
> set the clipboarddata["image"] to tScreenshot
>
> The following paste command works in most programs, like MS Paint, MS 
> Word, but not with Adobe Photoshop. Here the past menu is greyed out, 
> so that there is nothing to be pasted.
>
> Is this known? Can I do anything special for Photoshop or is it just 
> again one more regression bug? (in old versions it has worked with 
> Photoshop)
>
> Tiemo
>
>
>
>
>
>
>
>
>
>
>
> ___
> 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


set the clipboarddata["image"] not compatible with Adobe Photoshop

2017-08-04 Thread Tiemo Hollmann TB via use-livecode
Hello,

LC 8.1.5, Windows 10

export snapshot from grp "ScreenShot" to tScreenshot as JPEG

set the clipboarddata["image"] to tScreenshot 

The following paste command works in most programs, like MS Paint, MS Word,
but not with Adobe Photoshop. Here the past menu is greyed out, so that
there is nothing to be pasted.

Is this known? Can I do anything special for Photoshop or is it just again
one more regression bug? (in old versions it has worked with Photoshop)

Tiemo

 

 

 

 

 

___
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: No screenshot from LC video possible

2017-07-11 Thread Tiemo Hollmann TB via use-livecode
Hi Paul, Roger and Hermann,
No DRM involved, all videos are self produced and as Roger said, on most
machines they are playing fine.
The video never is fullscreen, because it is played in a frame within my LC
program.
The video card and it's handling of the video buffer is also my guess, but
up to now, I didn't found an exotic video card on the customer machines and
no thread about issues capturing video screenshots.
Thanks for your brainstorms
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von hh via use-livecode
Gesendet: Dienstag, 11. Juli 2017 13:50
An: use-livecode@lists.runrev.com
Cc: hh 
Betreff: Re: No screenshot from LC video possible

May be connected to fullscreen mode (=black) or windowed mode (=working).

___
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


No screenshot from LC video possible

2017-07-11 Thread Tiemo Hollmann TB via use-livecode
Hello,

LC 8.1.4, Windows 10

I am using the standard LC videoPayer (directShow) to play H.264 mp4 videos.
One essential feature of my program is, that the user can take screenshots
from the video, edit and save them.

Today I got the second customer call with a Win 10 machine, who can't take
screenshots from my LC videos. The video screen is just black on the taken
screenshot. This issue does not only happen with the build in LiveCode
screenshot feature, but also, if they take a screenshot with the windows
print key or other screenshot tools.

Up to now, this issue happens only at 2 customers, on all other Win 10
machines, taking a video screenshot works fine. The alwaysBuffer of the
videoPlayer is set to false (setting it to true, I don't see any video
playing) I also checked to disable the Kaspersky AV on the client computer
(Kaspersky has a feature to prevent screenshots), but without success. Btw.
the old version of my program with the quicktime player works fine on these
machines.

I googled a lot, but didn't found any related issues in the net, so I
assume, it must be related to the LiveCode implementation of the directShow
videoPlayer. But in combination with any special hardware or software
setting on these two computers.

Has anybody already experienced similar issues or has any shot in the dark,
what system options, drivers, other tools in combination with LiveCode could
have an influence on taking a screenshot?

Any idea, what I could check for is welcome

Tiemo

 

 

___
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


like doing a short test for me?, was: No screenshot from LC video possible

2017-07-12 Thread Tiemo Hollmann TB via use-livecode
Hello,

Windows developers only!

since I have no idea, what the reason of my "no screenshot" problem is, I
want to try to compare system configurations of the machines, where this
problem occurs to find with some luck, what they have in common and so
perhaps the source of this issue, though I probably won't see the wood for
the trees. Up to now, I only have two customers with this issue and so it is
hard to search for "exotic" similarities. If you would like to help me and
make a test for me, please download my little test program from http://
www.kestner.de/material/screenshot-test1.livecode

1. Open the LC 8.1.4 program and klick the left button, it should play a
video, which was unpacked in the same dir as the livecode file in the left
window and make a screenshot in the right window
2. if the right window only is black (screenshot was not successful), try to
make a screenshot with "Alt Gr" + "Print" of the left video window and paste
it into word or other program to see, if windows can take a screenshot.
3. Do the same with the right button (without videobuffer)

If any of these test cases didn't produced a screenshot of the video, I
would like to get your system informations (I will delete them right after
evaluation) and the notice, which case didn't produced a screenshot. If both
test cases produced a screenshot, you don't have to send me any notice.
You can retrieve the system informations here:
-   press „Windows-Key“ + „R“.
-   type "msinfo32"
-   Choose menu „File - Export“, enter a filename
„Systeminformationen_xy.txt“
-   send me this file as PM

If you have concerns about your privacy, please delete all personal
information from the log file, like your IP number, you name of the machine
or whatever you want.

Thank you for your help.
Tiemo



-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB via use-livecode
Gesendet: Dienstag, 11. Juli 2017 09:21
An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
Cc: Tiemo Hollmann TB <toolb...@kestner.de>
Betreff: No screenshot from LC video possible

Hello,

LC 8.1.4, Windows 10

I am using the standard LC videoPayer (directShow) to play H.264 mp4 videos.
One essential feature of my program is, that the user can take screenshots
from the video, edit and save them.

Today I got the second customer call with a Win 10 machine, who can't take
screenshots from my LC videos. The video screen is just black on the taken
screenshot. This issue does not only happen with the build in LiveCode
screenshot feature, but also, if they take a screenshot with the windows
print key or other screenshot tools.

Up to now, this issue happens only at 2 customers, on all other Win 10
machines, taking a video screenshot works fine. The alwaysBuffer of the
videoPlayer is set to false (setting it to true, I don't see any video
playing) I also checked to disable the Kaspersky AV on the client computer
(Kaspersky has a feature to prevent screenshots), but without success. Btw.
the old version of my program with the quicktime player works fine on these
machines.

I googled a lot, but didn't found any related issues in the net, so I
assume, it must be related to the LiveCode implementation of the directShow
videoPlayer. But in combination with any special hardware or software
setting on these two computers.

Has anybody already experienced similar issues or has any shot in the dark,
what system options, drivers, other tools in combination with LiveCode could
have an influence on taking a screenshot?

Any idea, what I could check for is welcome

Tiemo

 

 

___
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


AW: like doing a short test for me?, was: No screenshot from LC video possible

2017-07-13 Thread Tiemo Hollmann TB via use-livecode
My fault, obviously some people of you, who wanted to make the test couldn'
even play my video. I forgot that a standard Windows machine doesn't have a
codec for h.264 videos on board. So you would have had to install a codec
(like the LAV filters).
I now modified my test program, so that you can choose any of your own video
files on your computer.
So, if you would like to do another test, read below, my previous posting
Thanks
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB via use-livecode
Gesendet: Mittwoch, 12. Juli 2017 15:46
An: 'How to use LiveCode' <use-livecode@lists.runrev.com>
Cc: Tiemo Hollmann TB <toolb...@kestner.de>
Betreff: like doing a short test for me?, was: No screenshot from LC video
possible

Hello,

Windows developers only!

since I have no idea, what the reason of my "no screenshot" problem is, I
want to try to compare system configurations of the machines, where this
problem occurs to find with some luck, what they have in common and so
perhaps the source of this issue, though I probably won't see the wood for
the trees. Up to now, I only have two customers with this issue and so it is
hard to search for "exotic" similarities. If you would like to help me and
make a test for me, please download my little test program from 


1. Open the LC 8.1.4 program and klick the left button, it should play a
video, which was unpacked in the same dir as the livecode file in the left
window and make a screenshot in the right window 2. if the right window only
is black (screenshot was not successful), try to make a screenshot with "Alt
Gr" + "Print" of the left video window and paste it into word or other
program to see, if windows can take a screenshot.
3. Do the same with the right button (without videobuffer)

If any of these test cases didn't produced a screenshot of the video, I
would like to get your system informations (I will delete them right after
evaluation) and the notice, which case didn't produced a screenshot. If both
test cases produced a screenshot, you don't have to send me any notice.
You can retrieve the system informations here:
-   press „Windows-Key“ + „R“.
-   type "msinfo32"
-   Choose menu „File - Export“, enter a filename
„Systeminformationen_xy.txt“
-   send me this file as PM

If you have concerns about your privacy, please delete all personal
information from the log file, like your IP number, you name of the machine
or whatever you want.

Thank you for your help.
Tiemo



-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB via use-livecode
Gesendet: Dienstag, 11. Juli 2017 09:21
An: LiveCode User Liste senden <use-livecode@lists.runrev.com>
Cc: Tiemo Hollmann TB <toolb...@kestner.de>
Betreff: No screenshot from LC video possible

Hello,

LC 8.1.4, Windows 10

I am using the standard LC videoPayer (directShow) to play H.264 mp4 videos.
One essential feature of my program is, that the user can take screenshots
from the video, edit and save them.

Today I got the second customer call with a Win 10 machine, who can't take
screenshots from my LC videos. The video screen is just black on the taken
screenshot. This issue does not only happen with the build in LiveCode
screenshot feature, but also, if they take a screenshot with the windows
print key or other screenshot tools.

Up to now, this issue happens only at 2 customers, on all other Win 10
machines, taking a video screenshot works fine. The alwaysBuffer of the
videoPlayer is set to false (setting it to true, I don't see any video
playing) I also checked to disable the Kaspersky AV on the client computer
(Kaspersky has a feature to prevent screenshots), but without success. Btw.
the old version of my program with the quicktime player works fine on these
machines.

I googled a lot, but didn't found any related issues in the net, so I
assume, it must be related to the LiveCode implementation of the directShow
videoPlayer. But in combination with any special hardware or software
setting on these two computers.

Has anybody already experienced similar issues or has any shot in the dark,
what system options, drivers, other tools in combination with LiveCode could
have an influence on taking a screenshot?

Any idea, what I could check for is welcome

Tiemo

 

 

___
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


___

AW: [OT]h.264 alternatives

2017-07-20 Thread Tiemo Hollmann TB via use-livecode
Keep in mind, that h.264 is not natively supported by Windows 10 (and not by
8 I think). You need to install a h.264 filter!
Up to now, I didn't found a separate h.264 filter installer, which only
installs h.264, only bundled in a codec package installer like the LAV
filters.

Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Richard Gaskin via use-livecode
Gesendet: Mittwoch, 19. Juli 2017 21:37
An: How to use LiveCode 
Cc: Richard Gaskin 
Betreff: [OT]h.264 alternatives

Seems most folks use h.264 for encoding video, but being patent-encumbered
it requires negotiating a license with MPEGLA for commercial use.

I have a batch of files I need to re-encode - what non-patent-encumbered
codec could I use that will be supported on all platforms?

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

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


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


AW: AW: [OT]h.264 alternatives

2017-07-21 Thread Tiemo Hollmann TB via use-livecode
Hi Richard,
I also was looking for a cross-platform compatible codec a year ago and
wondered why it was still so complicated.  On the first sight I didn't found
any codec, which is available by standard on both platforms. I stopped my
further investigations after I found the LAV-filters solution for the h.264
codec.
But I wonder, which codec youtube converts all videos into or other
platforms are using so that their videos are almost always compatible with
all platforms. There must be any cross-platform codec or the browser video
players bring all available codecs with them, but they are not available
outside of the web player as in LC.
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Richard Gaskin via use-livecode
Gesendet: Donnerstag, 20. Juli 2017 19:04
An: use-livecode@lists.runrev.com
Cc: Richard Gaskin 
Betreff: Re: AW: [OT]h.264 alternatives

Tiemo Hollmann wrote:

 > Keep in mind, that h.264 is not natively supported by Windows 10 (and  >
not by 8 I think). You need to install a h.264 filte

Thanks, Tiemo. That's a serious bummer.

It's 2017. Is there really no single codec available for Mac, Windows,
Linux, iOS, and Android which allows playback of a single video file?

Are we stuck in the yesteryear of having to query the user-agent and serve
different files according to the user's OS?

Extra bonus points if it's no patent-encumbered, but at this point I'll take
what I can get.

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

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


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


AW: AW: [OT]h.264 alternatives

2017-07-21 Thread Tiemo Hollmann TB via use-livecode
... and h.264 is not h.264, it depends on the codec being used! I am also
using h.264 videos on iOS and Android, but the fun stopped with the first
customers, who couldn't play my videos on some Android devices. Obviously my
choice of a Sorenson h.264 codec isn't compatible with all Android devices
(mostly LG) and I have no idea if there is any codec at all, which is
compatible with all Android devices. Sigh!
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Tiemo Hollmann TB via use-livecode
Gesendet: Freitag, 21. Juli 2017 10:46
An: 'How to use LiveCode' <use-livecode@lists.runrev.com>
Cc: Tiemo Hollmann TB <toolb...@kestner.de>
Betreff: AW: AW: [OT]h.264 alternatives

Hi Richard,
I also was looking for a cross-platform compatible codec a year ago and
wondered why it was still so complicated.  On the first sight I didn't found
any codec, which is available by standard on both platforms. I stopped my
further investigations after I found the LAV-filters solution for the h.264
codec.
But I wonder, which codec youtube converts all videos into or other
platforms are using so that their videos are almost always compatible with
all platforms. There must be any cross-platform codec or the browser video
players bring all available codecs with them, but they are not available
outside of the web player as in LC.
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Richard Gaskin via use-livecode
Gesendet: Donnerstag, 20. Juli 2017 19:04
An: use-livecode@lists.runrev.com
Cc: Richard Gaskin <ambassa...@fourthworld.com>
Betreff: Re: AW: [OT]h.264 alternatives

Tiemo Hollmann wrote:

 > Keep in mind, that h.264 is not natively supported by Windows 10 (and  >
not by 8 I think). You need to install a h.264 filte

Thanks, Tiemo. That's a serious bummer.

It's 2017. Is there really no single codec available for Mac, Windows,
Linux, iOS, and Android which allows playback of a single video file?

Are we stuck in the yesteryear of having to query the user-agent and serve
different files according to the user's OS?

Extra bonus points if it's no patent-encumbered, but at this point I'll take
what I can get.

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

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


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


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


AW: AW: AW: AW: [OT]h.264 alternatives

2017-07-24 Thread Tiemo Hollmann TB via use-livecode
No, the "new" player object is based on the old windows API :(
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Richard Gaskin via use-livecode
Gesendet: Montag, 24. Juli 2017 17:25
An: use-livecode@lists.runrev.com
Cc: Richard Gaskin 
Betreff: Re: AW: AW: AW: [OT]h.264 alternatives

Tiemo Hollmann wrote:
 > I think the source of the problem that there is no standard codec for  >
h.264 on windows is, that LiveCode uses the almost deprecated  > directShow
API and not the current Microsoft media foundation API. For  > MMF there
probably is a standard codec for h.264 available on the  > machine.

I thought that was remedied with LC's new player object for Windows, no?

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

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


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


  1   2   3   >