Re: IOS required SDK

2021-04-23 Thread Paul Dupuis via use-livecode
No need to partition drives with VMs. You *do* need a good chunk of free 
disk space, for example for Catalina, you probably want a minimum of a 
50GB "drive" (a VM file on disk) and for Big Sur, I went to 100GB, but I 
have a 1TB hard disk.


We also have a MacMini here with a bunch of external USB disk drives and 
a ton of partitions each with a different macOS from 10.9 up to 10.15, 
but rebooting to a different macOS version for testing is a pain in the 
butt compared to VMs.


All you really need is (1) VirtualBox for macOS and (2) installation 
file(s) for the macOS's you want to install. For current and most recent 
OS, these can usually be downloaded from the Apple Developer site. For 
anything older, you have to do some hunting as Apple does not have an 
archive of older version of macOS for developers (that I can find!) It 
is easiest if the installer for macOS is an .iso disk image. Then you 
run VirtualBox, create a new VM, set it for macOS, create a disk of the 
suitable size. Mount the .iso image file as a "virtual" disc drive and 
start it up and follow the macOS install instructions. (there is devils 
in the details, but that really is the jist)



On 4/23/2021 5:43 PM, J. Landman Gay via use-livecode wrote:
Thanks Paul, I was wondering about a VM. I've scanned Oracle's docs 
for all of 10 minutes but it looks a bit complicated. Did you need to 
partition your hard drive? It also says to put the OS intaller on a 
DVD but of course we don't have DVD drives any more. Does the mounted 
OS install image work?


On 4/23/21 4:13 PM, Paul Dupuis via use-livecode wrote:

On 4/23/2021 5:02 PM, J. Landman Gay via use-livecode wrote:
Apple will require SDK 14 for new or updated iOS apps. Due to 
incompatible 32-bit software, I'm still on Mojave. Does this mean I 
need to update to Big Sur or Catalina before I can build for iOS?


I don't suppose there's any way to do it on Mojave? I've been 
dreading this...




I run Mojave on a Macbook Pro and use VirtualBox to have a Catalina 
and Big Sur VMs as I too have 32 bit software I want to be able to 
continue to run. I do macOS development under Mojave and only use the 
Catalina and/or Big Sur VMs for testing or builds (if for some reason 
I need to check a build under one of those OSes. Both Catalina and 
Big Sur work with VirtualBox. VMs are of course slower, but he 
ability to back them up, clone them, restore to a specific save point 
and such I think outweigh  the speed as a developer tool.




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

http://lists.runrev.com/mailman/listinfo/use-livecode






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


Re: IOS required SDK

2021-04-23 Thread scott--- via use-livecode
I did it the other way around (just last month!) I set up a VM (Parallels) for 
running Catalina for older 32 bit apps. I was primarily trying to get my older 
Adobe CS6 apps to work… though even with all the original disks (and a drive), 
reinstalling ancient apps turned out to be more problematic than I had hoped. 
So maintaining your current install and doing a VM for 64bit makes more sense 
to me now.
--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--

> On Apr 23, 2021, at 2:43 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Thanks Paul, I was wondering about a VM. I've scanned Oracle's docs for all 
> of 10 minutes but it looks a bit complicated. Did you need to partition your 
> hard drive? It also says to put the OS intaller on a DVD but of course we 
> don't have DVD drives any more. Does the mounted OS install image work?
> 
> On 4/23/21 4:13 PM, Paul Dupuis via use-livecode wrote:
>> On 4/23/2021 5:02 PM, J. Landman Gay via use-livecode wrote:
>>> Apple will require SDK 14 for new or updated iOS apps. Due to incompatible 
>>> 32-bit software, I'm still on Mojave. Does this mean I need to update to 
>>> Big Sur or Catalina before I can build for iOS?
>>> 
>>> I don't suppose there's any way to do it on Mojave? I've been dreading 
>>> this...
>>> 
>> I run Mojave on a Macbook Pro and use VirtualBox to have a Catalina and Big 
>> Sur VMs as I too have 32 bit software I want to be able to continue to run. 
>> I do macOS development under Mojave and only use the Catalina and/or Big Sur 
>> VMs for testing or builds (if for some reason I need to check a build under 
>> one of those OSes. Both Catalina and Big Sur work with VirtualBox. VMs are 
>> of course slower, but he ability to back them up, clone them, restore to a 
>> specific save point and such I think outweigh  the speed as a developer tool.
>> ___
>> use-livecode mailing list
>> use-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


Re: IOS required SDK

2021-04-23 Thread J. Landman Gay via use-livecode
Thanks Paul, I was wondering about a VM. I've scanned Oracle's docs for all of 10 minutes but 
it looks a bit complicated. Did you need to partition your hard drive? It also says to put the 
OS intaller on a DVD but of course we don't have DVD drives any more. Does the mounted OS 
install image work?


On 4/23/21 4:13 PM, Paul Dupuis via use-livecode wrote:

On 4/23/2021 5:02 PM, J. Landman Gay via use-livecode wrote:
Apple will require SDK 14 for new or updated iOS apps. Due to incompatible 32-bit software, 
I'm still on Mojave. Does this mean I need to update to Big Sur or Catalina before I can 
build for iOS?


I don't suppose there's any way to do it on Mojave? I've been dreading this...



I run Mojave on a Macbook Pro and use VirtualBox to have a Catalina and Big Sur VMs as I too 
have 32 bit software I want to be able to continue to run. I do macOS development under Mojave 
and only use the Catalina and/or Big Sur VMs for testing or builds (if for some reason I need 
to check a build under one of those OSes. Both Catalina and Big Sur work with VirtualBox. VMs 
are of course slower, but he ability to back them up, clone them, restore to a specific save 
point and such I think outweigh  the speed as a developer tool.




___
use-livecode mailing list
use-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


Re: IOS required SDK

2021-04-23 Thread Paul Dupuis via use-livecode

On 4/23/2021 5:02 PM, J. Landman Gay via use-livecode wrote:
Apple will require SDK 14 for new or updated iOS apps. Due to 
incompatible 32-bit software, I'm still on Mojave. Does this mean I 
need to update to Big Sur or Catalina before I can build for iOS?


I don't suppose there's any way to do it on Mojave? I've been dreading 
this...




I run Mojave on a Macbook Pro and use VirtualBox to have a Catalina and 
Big Sur VMs as I too have 32 bit software I want to be able to continue 
to run. I do macOS development under Mojave and only use the Catalina 
and/or Big Sur VMs for testing or builds (if for some reason I need to 
check a build under one of those OSes. Both Catalina and Big Sur work 
with VirtualBox. VMs are of course slower, but he ability to back them 
up, clone them, restore to a specific save point and such I think 
outweigh  the speed as a developer tool.




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


IOS required SDK

2021-04-23 Thread J. Landman Gay via use-livecode
Apple will require SDK 14 for new or updated iOS apps. Due to incompatible 32-bit software, I'm 
still on Mojave. Does this mean I need to update to Big Sur or Catalina before I can build for iOS?


I don't suppose there's any way to do it on Mojave? I've been dreading this...

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

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


Re: Show Tree widget row contents on hover?

2021-04-23 Thread J. Landman Gay via use-livecode

On 4/23/21 2:33 PM, Keith Clarke via use-livecode wrote:

Thanks Bob for the syntax for setting the widget’s tooltip. That’ll help once I 
have some sensible data appearing in the answer dialogue box that I can use in 
the tooltip.

My key problem now is how to translate the comma-delimited path returned by the 
actionInspect function - pPath - of the form 'Key1,Key2,Key3' …to the correct 
syntax to have the array return the content of Key3.



I think it's failing because concatenation isn't working with array syntax. 
Does this work better:

answer aContent[item 1 of pPath][item 2 of pPath][item 3 of pPath]


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


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


Re: Show Tree widget row contents on hover?

2021-04-23 Thread Keith Clarke via use-livecode
Thanks Bob for the syntax for setting the widget’s tooltip. That’ll help once I 
have some sensible data appearing in the answer dialogue box that I can use in 
the tooltip.

My key problem now is how to translate the comma-delimited path returned by the 
actionInspect function - pPath - of the form 'Key1,Key2,Key3' …to the correct 
syntax to have the array return the content of Key3.

My code below converts pPath to LiveCode array key syntax, i.e. 
[Key1][Key2][Key3] ...and then concatenates this after aContent, the name of 
the array variable into which the widget’s arrayData has been extracted.

As far as I can tell, this should resolve to... answer 
aContent[Key1][Key2][Key3] ...which should return the content of Key3 but I’m 
seeing '[Key1][Key2][Key3]’ in the answer dialogue box.

Any clues?
Best,
Keith

> On 23 Apr 2021, at 19:17, Bob Sneidar via use-livecode 
>  wrote:
> 
> Okay I see you are setting the tooltip. 
> 
> set the tooltip of widget "Tree View" to tDataA [1]
> 
> or whatever the element is. 
> 
> Bob S
> 
> 
>> On Apr 23, 2021, at 11:13 , Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> Is this what you are looking for? 
>> 
>> on mouseUp
>>  put the arrayData of widget "Tree View" into tDataA
>>  put tDataA [1] into tValue1
>>  put tDataA [2] into tValue2
>>  -- etc...
>> end mouseUp
>> 
>> I am unsure of what you are trying to do. Are you trying to put the items of 
>> a list into a tree view widget? 
>> 
>> put the arrayData of widget "Tree View" into tDataA
>> put item 1 of tList into tDataA [1]
>> put item 2 of tList into tDataA [2]
>> -- etc...
>> set the arrayData of widget "Tree View" to tDataA
>> 
>> you can do this in a loop of course. 
>> 
>> Bob S
>> 
>> 
>>> On Apr 23, 2021, at 10:57 , Keith Clarke via use-livecode 
>>>  wrote:
>>> 
>>> Thanks for responding Henry. 
>>> 
>>> I did try that property when I found no hover capability on the Tree 
>>> widget. I set the widget to read-only and scripted...
>>> on actionInspect pPath
>>> 
>>> put the arrayData of widget "Tree" into aContent
>>> 
>>> replace comma with "][" in pPath
>>> 
>>> answer aContent & "[" & pPath & "]"
>>> 
>>> end actionInspect
>>> 
>>> …however, like the highlightedElement property, this still returns the 
>>> element’s key rather than its content, despite my feeble attempts at 
>>> post-processing.
>>> 
>>> Hence the second part of my question which reveals my lack of array syntax 
>>> knowledge! :)
>>> Best,
>>> Keith  
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Show Tree widget row contents on hover?

2021-04-23 Thread Bob Sneidar via use-livecode
Okay I see you are setting the tooltip. 

set the tooltip of widget "Tree View" to tDataA [1]

or whatever the element is. 

Bob S


> On Apr 23, 2021, at 11:13 , Bob Sneidar via use-livecode 
>  wrote:
> 
> Is this what you are looking for? 
> 
> on mouseUp
>   put the arrayData of widget "Tree View" into tDataA
>   put tDataA [1] into tValue1
>   put tDataA [2] into tValue2
>   -- etc...
> end mouseUp
> 
> I am unsure of what you are trying to do. Are you trying to put the items of 
> a list into a tree view widget? 
> 
> put the arrayData of widget "Tree View" into tDataA
> put item 1 of tList into tDataA [1]
> put item 2 of tList into tDataA [2]
> -- etc...
> set the arrayData of widget "Tree View" to tDataA
> 
> you can do this in a loop of course. 
> 
> Bob S
> 
> 
>> On Apr 23, 2021, at 10:57 , Keith Clarke via use-livecode 
>>  wrote:
>> 
>> Thanks for responding Henry. 
>> 
>> I did try that property when I found no hover capability on the Tree widget. 
>> I set the widget to read-only and scripted...
>> on actionInspect pPath
>> 
>>  put the arrayData of widget "Tree" into aContent
>> 
>>  replace comma with "][" in pPath
>> 
>>  answer aContent & "[" & pPath & "]"
>> 
>> end actionInspect
>> 
>> …however, like the highlightedElement property, this still returns the 
>> element’s key rather than its content, despite my feeble attempts at 
>> post-processing.
>> 
>> Hence the second part of my question which reveals my lack of array syntax 
>> knowledge! :)
>> Best,
>> Keith  
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Show Tree widget row contents on hover?

2021-04-23 Thread Bob Sneidar via use-livecode
Is this what you are looking for? 

on mouseUp
   put the arrayData of widget "Tree View" into tDataA
   put tDataA [1] into tValue1
   put tDataA [2] into tValue2
   -- etc...
end mouseUp

I am unsure of what you are trying to do. Are you trying to put the items of a 
list into a tree view widget? 

put the arrayData of widget "Tree View" into tDataA
put item 1 of tList into tDataA [1]
put item 2 of tList into tDataA [2]
-- etc...
set the arrayData of widget "Tree View" to tDataA

you can do this in a loop of course. 

Bob S


> On Apr 23, 2021, at 10:57 , Keith Clarke via use-livecode 
>  wrote:
> 
> Thanks for responding Henry. 
> 
> I did try that property when I found no hover capability on the Tree widget. 
> I set the widget to read-only and scripted...
> on actionInspect pPath
> 
>   put the arrayData of widget "Tree" into aContent
> 
>   replace comma with "][" in pPath
> 
>   answer aContent & "[" & pPath & "]"
> 
> end actionInspect
> 
> …however, like the highlightedElement property, this still returns the 
> element’s key rather than its content, despite my feeble attempts at 
> post-processing.
> 
> Hence the second part of my question which reveals my lack of array syntax 
> knowledge! :)
> Best,
> Keith  

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


Re: Show Tree widget row contents on hover?

2021-04-23 Thread Keith Clarke via use-livecode
Thanks for responding Henry. 

I did try that property when I found no hover capability on the Tree widget. I 
set the widget to read-only and scripted...
on actionInspect pPath

put the arrayData of widget "Tree" into aContent

replace comma with "][" in pPath

answer aContent & "[" & pPath & "]"

end actionInspect

…however, like the highlightedElement property, this still returns the 
element’s key rather than its content, despite my feeble attempts at 
post-processing.

Hence the second part of my question which reveals my lack of array syntax 
knowledge! :)
Best,
Keith

> On 23 Apr 2021, at 17:35, HENRY LOWE via use-livecode 
>  wrote:
> 
> Keith,
> 
> Take a look at the widget’s ActionInspect message. 
> 
> The actionInspect message is sent to the widget's script object when the 
> inspect icon is clicked on.
> The inspect icon appears when the value string of a particular array element 
> contains a newline character,
> OR if it is too large to fit in the space provided. The pPath parameter 
> contains the path to the element whose icon was clicked.
> 
> Use the ActionInspect pPath message to get the array element and then use a 
> contextual menu to display the truncated element (tElement):
> 
> set the text of btn “TreeView_Contextual_Menu" to tElement
> popup button “TreeView_Contextual_Menu"
> 
> This requires the user to click on the inspect icon of the truncated array 
> element element to display the full element.
> 
> I agree that it would be nice to do this with a hover.
> 
> Henry
> 
>> On Apr 23, 2021, at 9:10 AM, Keith Clarke via use-livecode 
>>  wrote:
>> 
>> Hi folks,
>> I’m experimenting with a tree widget and indentation means that row content 
>> gets truncated, so I’m wondering if there is any simple way to show the 
>> current row’s content in a tooltip on hover?
>> 
>> The dictionary doesn’t mention any mouse-related messages and the 
>> highlightedElement property returns a path as a comma-delimited list of 
>> array keys but not the row’s content.
>> 
>> Am I missing some LiveCode magic here that’s too obvious to document?
>> 
>> Thanks in advance.
>> Keith 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Show Tree widget row contents on hover?

2021-04-23 Thread HENRY LOWE via use-livecode
Keith,

Take a look at the widget’s ActionInspect message. 

The actionInspect message is sent to the widget's script object when the 
inspect icon is clicked on.
The inspect icon appears when the value string of a particular array element 
contains a newline character,
OR if it is too large to fit in the space provided. The pPath parameter 
contains the path to the element whose icon was clicked.

Use the ActionInspect pPath message to get the array element and then use a 
contextual menu to display the truncated element (tElement):

set the text of btn “TreeView_Contextual_Menu" to tElement
popup button “TreeView_Contextual_Menu"

This requires the user to click on the inspect icon of the truncated array 
element element to display the full element.

I agree that it would be nice to do this with a hover.

Henry

> On Apr 23, 2021, at 9:10 AM, Keith Clarke via use-livecode 
>  wrote:
> 
> Hi folks,
> I’m experimenting with a tree widget and indentation means that row content 
> gets truncated, so I’m wondering if there is any simple way to show the 
> current row’s content in a tooltip on hover?
> 
> The dictionary doesn’t mention any mouse-related messages and the 
> highlightedElement property returns a path as a comma-delimited list of array 
> keys but not the row’s content.
> 
> Am I missing some LiveCode magic here that’s too obvious to document?
> 
> Thanks in advance.
> Keith 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Show Tree widget row contents on hover?

2021-04-23 Thread Keith Clarke via use-livecode
Hi folks,
I’m experimenting with a tree widget and indentation means that row content 
gets truncated, so I’m wondering if there is any simple way to show the current 
row’s content in a tooltip on hover?

The dictionary doesn’t mention any mouse-related messages and the 
highlightedElement property returns a path as a comma-delimited list of array 
keys but not the row’s content.

Am I missing some LiveCode magic here that’s too obvious to document?

Thanks in advance.
Keith 



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


Re: iOS push notifications on Windows

2021-04-23 Thread matthias rebbe via use-livecode
Hi, i  see that among openssl also curl is used in the shell script.

So shouldn't Livecode be able to do the curl stuff with tsNet instead?

Matthias




-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.04.2021 um 17:54 schrieb Mark Waddingham via use-livecode 
> :
> 
> On 2021-04-23 16:11, panagiotis merakos via use-livecode wrote:
>> Hello Andrew,
>> The lesson was written and tested on a Mac. But yeah, on Windows, when
>> trying to execute "sh /path/to/send.sh" either directly from the
>> terminal or via the shell command using LC, it is expected to throw an
>> error. You _might_ be able to work around this by changing the .sh
>> extension to .bat if you are on Windows, and instead of "sh
>> /path/to/send.sh" use "/path/to/send.bat".
>> If I find some time I'll experiment with this and update the lesson next
>> week, unless you get there first :)
> 
> Unfortunately bash scripts are incompatible with bat(ch) - they are both 
> 'shells' but the latter is distinctly tied to Windows - so you'd need to 
> translate the script from bash to batch. (There are windows builds of Curl 
> that run on windows - they use exactly the same arguments / options).
> 
> That being said, if you want a quick way to get UNIX style shell scripts to 
> work - then you could install Cygwin and the commands used in said shell 
> script (is it just curl?) - you can then run the shell script from the cygwin 
> terminal.
> 
> Cygwin is basically a lot of UNIXy stuff compiled to run on Windows with an 
> emulation layer for POSIX system calls mapped to Windows.
> 
> You might also want to investigate Microsoft's own relatively new 'UNIX on 
> Windows' stuff - although I think that is restricted to recentish versions of 
> Windows 10. There, they basically run a custom linux kernel on top of Windows 
> to give you a Linux environment which interoperates quite well alongside 
> Windows.
> 
> 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


Re: iOS push notifications on Windows

2021-04-23 Thread Mark Waddingham via use-livecode

On 2021-04-23 16:11, panagiotis merakos via use-livecode wrote:

Hello Andrew,

The lesson was written and tested on a Mac. But yeah, on Windows, when
trying to execute "sh /path/to/send.sh" either directly from the
terminal or via the shell command using LC, it is expected to throw an
error. You _might_ be able to work around this by changing the .sh
extension to .bat if you are on Windows, and instead of "sh
/path/to/send.sh" use "/path/to/send.bat".

If I find some time I'll experiment with this and update the lesson 
next

week, unless you get there first :)


Unfortunately bash scripts are incompatible with bat(ch) - they are both 
'shells' but the latter is distinctly tied to Windows - so you'd need to 
translate the script from bash to batch. (There are windows builds of 
Curl that run on windows - they use exactly the same arguments / 
options).


That being said, if you want a quick way to get UNIX style shell scripts 
to work - then you could install Cygwin and the commands used in said 
shell script (is it just curl?) - you can then run the shell script from 
the cygwin terminal.


Cygwin is basically a lot of UNIXy stuff compiled to run on Windows with 
an emulation layer for POSIX system calls mapped to Windows.


You might also want to investigate Microsoft's own relatively new 'UNIX 
on Windows' stuff - although I think that is restricted to recentish 
versions of Windows 10. There, they basically run a custom linux kernel 
on top of Windows to give you a Linux environment which interoperates 
quite well alongside Windows.


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


Re: Failed to get the keychain item

2021-04-23 Thread Bob Sneidar via use-livecode
That's because Germans use bigger words. :-)

Bob S


> On Apr 23, 2021, at 04:35 , matthias rebbe via use-livecode 
>  wrote:
> 
> If you want to, you can call me by phone. It's easier to explain in German. 
> ;) 
> 
> Regards
> 
> Matthias 
> 
> Von meinem iPhone gesendet


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


Re: iOS push notifications on Windows

2021-04-23 Thread panagiotis merakos via use-livecode
Hello Andrew,

The lesson was written and tested on a Mac. But yeah, on Windows, when
trying to execute "sh /path/to/send.sh" either directly from the
terminal or via the shell command using LC, it is expected to throw an
error. You _might_ be able to work around this by changing the .sh
extension to .bat if you are on Windows, and instead of "sh
/path/to/send.sh" use "/path/to/send.bat".

If I find some time I'll experiment with this and update the lesson next
week, unless you get there first :)

Kind regards,
Panos
--

On Fri, 23 Apr 2021 at 17:20, Andrew at MidWest Coast Media via
use-livecode  wrote:

> The updated push notification lesson works great on macOS!
>
> https://lessons.livecode.com/m/4069/l/1380237-how-to-send-http-2-based-push-notifications-in-ios
>
> Can this be done from any other platform? I receive the following error
> when running the same codebase from a Windows standalone:
>  'sh' is not recognized as an internal or external command,
> operable program or batch file.
>
> —Andrew Bell
> ___
> use-livecode mailing list
> use-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


iOS push notifications on Windows

2021-04-23 Thread Andrew at MidWest Coast Media via use-livecode
The updated push notification lesson works great on macOS! 
https://lessons.livecode.com/m/4069/l/1380237-how-to-send-http-2-based-push-notifications-in-ios

Can this be done from any other platform? I receive the following error when 
running the same codebase from a Windows standalone:
 'sh' is not recognized as an internal or external command,
operable program or batch file.

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


Re: PDF Widget

2021-04-23 Thread Klaus major-k via use-livecode
Hi Tore,

> Am 23.04.2021 um 13:28 schrieb Tore Nilsen via use-livecode 
> :
> 
> Not everyone needs it.

that was just a little joke. :-)

> I had the business edition for a year and for what it is worth, the 
> pdf-widget did not offer anything
> I needed. I had hoped I could use it for mark up and annotations but did not 
> find a way to do that.

It would be enough, at least for me, if we could display a PDF (directly as a 
control) in a stack and 
NOT inside of a browser widget, which is not working "out of the box" on 
Android.

> I do however think that it would be a good thing if it was possible to buy 
> widgets on a per widget basis.
> That would enhance the LiveCode experience in my mind.

Definitively!

> Best regards
> Tore Nilsen
> 
>> 23. apr. 2021 kl. 13:24 skrev Klaus major-k via use-livecode 
>> :
>>> 
>>> Either that or everyone that wants it has business edition?
>> EVERYONE needs and wants it, but not everyone has the business edition! :-D
>>> Sent from my iPhone
 
> Hi all,
> 
> as far as I know the "PDF widget" is only available in the 
> BUSINESS Version of Livecode.
> 
> I already asked this in the past, but I would like to be
> able to buy this widget separately. 
> 
> Any idea if LC is planning to sell this separately at some time 
> in the future?
> 
> Best
> 
> Klaus
 
 noone else interested in buying that widget separately?

Best

Klaus

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


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


Re: Failed to get the keychain item

2021-04-23 Thread matthias rebbe via use-livecode
Tiemo
Did you follow Step 7 Addendum 1 which describes how to add your password to 
the keychain. 

If you want to, you can call me by phone. It's easier to explain in German. ;) 

Regards

Matthias 

Von meinem iPhone gesendet

> Am 23.04.2021 um 13:14 schrieb Tiemo via use-livecode 
> :
> 
> Hello,
> 
> 
> 
> I am trying to notarize an app the first time.
> 
> I followed Matthias exquisite LiveCode guideline for codesigning and
> notarizing and am using his nice helper tool.
> 
> I created an app specific password online in my Apple-ID account and put it
> into the preferences of the notarize tool of Matthias.
> 
> I get the error:
> 
> Failed to get the password for the keychain item. The keychain item
> "myPassword" was not found.
> 
> 
> 
> What am I missing? Or how do I have to import the app specific password from
> my Apple account into my local keychain, so that the notarizing process can
> find it? I didn't found a "download" and no hint in the documents.
> 
> 
> 
> Any idea?
> 
> 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


-
Matthias Rebbe
Life Is Too Short For Boring Code


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


Re: PDF Widget

2021-04-23 Thread Tore Nilsen via use-livecode
Not everyone needs it. I had the business edition for a year and for what it is 
worth, the pdf-widget did not offer anything I needed. I had hoped I could use 
it for mark up and annotations but did not find a way to do that.

I do however think that it would be a good thing if it was possible to buy 
widgets on a per widget basis. That would enhance the LiveCode experience in my 
mind.

Best regards
Tore Nilsen

> 23. apr. 2021 kl. 13:24 skrev Klaus major-k via use-livecode 
> :
> 
> 
> 
>> Am 23.04.2021 um 13:20 schrieb Brian Milby via use-livecode 
>> :
>> 
>> Either that or everyone that wants it has business edition?
> 
> EVERYONE needs and wants it, but not everyone has the business edition! :-D
> 
>> Sent from my iPhone
>> 
>>> On Apr 23, 2021, at 7:09 AM, Klaus major-k via use-livecode 
>>>  wrote:
>>> 
>>> Am 22.04.2021 um 15:17 schrieb Klaus major-k via use-livecode 
>>> :
 
 Hi all,
 
 as far as I know the "PDF widget" is only available in the 
 BUSINESS Version of Livecode.
 
 I already asked this in the past, but I would like to be
 able to buy this widget separately. 
 
 Any idea if LC is planning to sell this separately at some time 
 in the future?
 
 Best
 
 Klaus
>>> 
>>> noone else interested in buying that widget separately?
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: PDF Widget

2021-04-23 Thread Klaus major-k via use-livecode



> Am 23.04.2021 um 13:20 schrieb Brian Milby via use-livecode 
> :
> 
> Either that or everyone that wants it has business edition?

EVERYONE needs and wants it, but not everyone has the business edition! :-D

> Sent from my iPhone
> 
>> On Apr 23, 2021, at 7:09 AM, Klaus major-k via use-livecode 
>>  wrote:
>> 
>> Am 22.04.2021 um 15:17 schrieb Klaus major-k via use-livecode 
>> :
>>> 
>>> Hi all,
>>> 
>>> as far as I know the "PDF widget" is only available in the 
>>> BUSINESS Version of Livecode.
>>> 
>>> I already asked this in the past, but I would like to be
>>> able to buy this widget separately. 
>>> 
>>> Any idea if LC is planning to sell this separately at some time 
>>> in the future?
>>> 
>>> Best
>>> 
>>> Klaus
>> 
>> noone else interested in buying that widget separately?

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


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


Re: PDF Widget

2021-04-23 Thread Brian Milby via use-livecode
Either that or everyone that wants it has business edition?

Sent from my iPhone

> On Apr 23, 2021, at 7:09 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> 
> 
>> Am 22.04.2021 um 15:17 schrieb Klaus major-k via use-livecode 
>> :
>> 
>> Hi all,
>> 
>> as far as I know the "PDF widget" is only available in the 
>> BUSINESS Version of Livecode.
>> 
>> I already asked this in the past, but I would like to be
>> able to buy this widget separately. 
>> 
>> Any idea if LC is planning to sell this separately at some time 
>> in the future?
>> 
>> 
>> Best
>> 
>> Klaus
> 
> noone else interested in buying that widget separately?
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Failed to get the keychain item

2021-04-23 Thread Tiemo via use-livecode
Hello,

 

I am trying to notarize an app the first time.

I followed Matthias exquisite LiveCode guideline for codesigning and
notarizing and am using his nice helper tool.

I created an app specific password online in my Apple-ID account and put it
into the preferences of the notarize tool of Matthias.

I get the error:

Failed to get the password for the keychain item. The keychain item
"myPassword" was not found.

 

What am I missing? Or how do I have to import the app specific password from
my Apple account into my local keychain, so that the notarizing process can
find it? I didn't found a "download" and no hint in the documents.

 

Any idea?

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


cameracontrol, knowing the physical resolution of the camera

2021-04-23 Thread Klaus major-k via use-livecode
Hi all,

we have this wonderful "cameracontrol" in LC. :-)

Is there a way to get the physical resolution of the
devices camera BEFORE we do
-> cameracontrollset "el camera", tRect
Or at least its aspect ratio?

Know what I mean?

We definitively need this info to be able to set up a correct
RECT for the control with no "cut off" sides.


Best

Klaus

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


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


Re: PDF Widget

2021-04-23 Thread Klaus major-k via use-livecode



> Am 22.04.2021 um 15:17 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi all,
> 
> as far as I know the "PDF widget" is only available in the 
> BUSINESS Version of Livecode.
> 
> I already asked this in the past, but I would like to be
> able to buy this widget separately. 
> 
> Any idea if LC is planning to sell this separately at some time 
> in the future?
> 
> 
> Best
> 
> Klaus

noone else interested in buying that widget separately?

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


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