Page 1 of 1
share option
Posted: Wed Oct 13, 2021 7:23 pm
by Samuele
hi, another question, how can i make a code that is gonna share something (in my case, numbers, a high score) not in a specific platform like instagram, whatsapp ecc. but a more general share and then the user chooses what to share with.
i don't know if i was clear, thank you!
Re: share option
Posted: Thu Oct 14, 2021 10:04 am
by simon.schvartzman
HI Samuele, check "mergPopActivity" to share on iOS and "mobileComposeMail" to share on Android.
Hope it helps.
Best
Re: share option
Posted: Thu Oct 14, 2021 5:17 pm
by Samuele
thanks, but then what do i write?
Re: share option
Posted: Thu Oct 14, 2021 6:03 pm
by simon.schvartzman
As @Klaus would say, have a look at the dictionary and also search for examples in the forum...
Re: share option
Posted: Fri Oct 15, 2021 6:25 pm
by jacque
We don't usually write code for people but if you post the scripts you've already written we will help you fix them.
Re: share option
Posted: Sun Oct 17, 2021 7:27 pm
by Samuele
ok thanks, how do i post as a code?
Re: share option
Posted: Sun Oct 17, 2021 9:26 pm
by richmond62
Like this:
1. Click on this button at the top:
-

- SShot 2021-10-17 at 23.24.43.png (2.01 KiB) Viewed 7980 times
-
and then type your code in the place offered so it looks like this when you submit your message:
Code: Select all
on mouseUp
do something
end mouseUp
Re: share option
Posted: Tue Oct 19, 2021 1:43 am
by andresdt
Samuele wrote: ↑Wed Oct 13, 2021 7:23 pm
hi, another question, how can i make a code that is gonna share something (in my case, numbers, a high score) not in a specific platform like instagram, whatsapp ecc. but a more general share and then the user chooses what to share with.
i don't know if i was clear, thank you!
Hi @Samuele
Here I share an example stack which can help you. Or so I hope

It is a stack with two buttons in which an image and the text that is in field 1 are shared. One of these two ways can be to send your score
It is created for Android which is for the platform that I can test right now.
Re: share option
Posted: Wed Oct 20, 2021 11:14 am
by Samuele
thank you, but i can't open it, do you have in another format maybe?
thanks again
Re: share option
Posted: Wed Oct 20, 2021 11:46 am
by Klaus
Maybe you can open ZIP archives?
Re: share option
Posted: Sun Jun 05, 2022 7:51 am
by MichaelS
Hi Andresdt,
thank you very much for sharing your Code Example. I had the same Problem and i did not found a Solution for this before.
Your Code works well on my Samsung Android Mobile Device , so i can extend my Shopping List App with this "Share List with Whatsapp"
Function.
Thank you again and Greetings from Germany
Michael
Re: share option
Posted: Thu Jun 16, 2022 6:03 pm
by Samuele
Hi, Thanks, that's really cool, but on whatsapp the text is shared like a file, is the problem the extension .txt? if yes, what extension does whatsapp or the most known message apps use? thanks!