Digital Signature

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10078
Joined: Fri Feb 19, 2010 10:17 am

Re: Digital Signature

Post by richmond62 » Tue Mar 09, 2021 8:01 am

Toooooolz.png
Toooooolz.png (38.06 KiB) Viewed 6641 times
-
Indy to the left, Community to the right.

Time to either:

1. Stump up the money.

or

2. Do your own donkey work. :wink:

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10078
Joined: Fri Feb 19, 2010 10:17 am

Re: Digital Signature

Post by richmond62 » Tue Mar 09, 2021 8:27 am

I would recommend that the OP downloads a one-month trial version of LiveCode Indy so s/he can
see the functionality of the Digital Signature Widget, and then either buy a licence or use the
knowledge of that functionality to construct their own thing in the Community version.

Or, to put things really crudely:

Decide whether the time and effort involved in working out a home-grown digital signature "thing"
is worth more than the $499 license for LC Indy.

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Digital Signature

Post by Klaus » Tue Mar 09, 2021 10:00 am

Oh, sorry, didn't know that this widget is LC indy and business only.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10078
Joined: Fri Feb 19, 2010 10:17 am

Re: Digital Signature

Post by richmond62 » Tue Mar 09, 2021 11:00 am

I have a feeling . . .

. . . that if a stack is set up that allows the end-user to sign within the constraints of an image . . .

that image can be dumped as raw text into a field where it can be compared with similar text in another field.

-----------

Mind you, last night I had a very disturbed patch where I got into some dream/fantasy which involved vectorising
someone's bitmapped signature . . .

elanorb
Livecode Staff Member
Livecode Staff Member
Posts: 516
Joined: Fri Feb 24, 2006 9:45 am

Re: Digital Signature

Post by elanorb » Tue Mar 09, 2021 11:18 am

Hi

As Richmond mentioned earlier you can use an image control and the paint tools. You might find something useful in this lesson.

https://lessons.livecode.com/m/4603/l/5 ... ing-images

Kind regards

Elanor
Elanor Buchanan
Software Developer
LiveCode

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10078
Joined: Fri Feb 19, 2010 10:17 am

Re: Digital Signature

Post by richmond62 » Tue Mar 09, 2021 1:21 pm

SShot 2021-03-09 at 14.18.57.png
-
Of course what would be really lovely would be if one could trace one's raster signature
inwith LiveCode and end up with a vector.

viewtopic.php?t=31461

The snag about this very clever stack is that it requires other components to be installed on the host system.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10078
Joined: Fri Feb 19, 2010 10:17 am

Re: Digital Signature

Post by richmond62 » Tue Mar 09, 2021 1:29 pm

Yay:

http://berndniggemann.on-rev.com/ColorT ... vecode.zip

As a signature will be in one colour that should "cut the mustard."

Teaching in 5 minutes, so will prob. not get to try out the thing myself until tomorrow. 8)

EddieLee
Posts: 118
Joined: Thu Oct 25, 2018 1:06 pm

Re: Digital Signature

Post by EddieLee » Tue Mar 09, 2021 4:59 pm

richmond62 wrote:
Fri Mar 05, 2021 2:56 pm
You could start by looking at the pen and the brush tools.
-
SShot 2021-03-05 at 15.53.47.png
-
With the image (fake field) for signatures having this sort of script:

Code: Select all

on mouseEnter
   choose brush tool
   set the brushColor to red
end mouseEnter
Hi richmond and all,

I would probably try to escape purchasing indy version and try to do the donkey business myself then ):
I have tried richmond's way by using the pen and brush tool but seems like it is only doable using a computer.
Any guide on how i can start using the brush tools on mobile? Is there a brush tool for mobile ? Or maybe i would need to download an extension or something?

Thanks all for the help!
Eddie :D

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Digital Signature

Post by Klaus » Tue Mar 09, 2021 5:08 pm

I'm afraid the "paint tools" are not available on the mobile platform.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10078
Joined: Fri Feb 19, 2010 10:17 am

Re: Digital Signature

Post by richmond62 » Tue Mar 09, 2021 5:16 pm

I'm afraid the "paint tools" are not available on the mobile platform.
Do you mean:

1. There is no way for an end-use to access the "paint tools" are not available on the mobile platform.

[If that is so, a programmer should be able to 'provide a brush' for end-users to paint with.]

2. Forget it 100%: paint tools are just NOT THERE in any way whatsoever on the mobile platform.

?

If the answer is #2 then my next question (think of me as a 4 year old) is the inevitable "Why?"

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Digital Signature

Post by Klaus » Tue Mar 09, 2021 5:26 pm

The answer is 2. Ask the motherhsip for a reason!

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10078
Joined: Fri Feb 19, 2010 10:17 am

Re: Digital Signature

Post by richmond62 » Tue Mar 09, 2021 6:01 pm

Mothership . . . are you listening?

Hmm . . . I wonder sometimes.

elanorb
Livecode Staff Member
Livecode Staff Member
Posts: 516
Joined: Fri Feb 24, 2006 9:45 am

Re: Digital Signature

Post by elanorb » Tue Mar 09, 2021 6:57 pm

Hi all

I think the paint tools should work on mobile. I am checking in with the team but attached is a very simple stack that works for me on an iPhone and an Android phone.

I added the revCompatibilityBrushes1 stack as a substack as mentioned in the Dictionary entry for the brush property and it seems to work. There may well be some subtleties I am missing for this use case but the basics seem ok.

Elanor
Attachments
PaintTest.livecode.zip
(3.95 KiB) Downloaded 213 times
Elanor Buchanan
Software Developer
LiveCode

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10078
Joined: Fri Feb 19, 2010 10:17 am

Re: Digital Signature

Post by richmond62 » Tue Mar 09, 2021 7:02 pm

I am checking in with the team but attached is a very simple stack that works for me on an iPhone and an Android phone.
Wow!

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Digital Signature

Post by Klaus » Tue Mar 09, 2021 7:15 pm

The dictionary is misleading, are ALL paint tools unavailable on mobile or not?

SPRAY -> mac, windows, linux
PENCIL -> mac, windows, linux
ERASER -> mac, windows, linux, ios, android
BRUSH -> mac, windows, linux, ios, android
BUCKET -> mac, windows, linux, ios, android
CURVE -> mac, windows, linux, ios, android

Hm...

Post Reply