Sg2.9
pen pressure
Recent RSS
pen pressure
From:  mariem
Date:  13. March 2008, 20:32

Hey there,

I'm new to scriptographer and urgently would like to know if there is any chance to find a support/function for pen pressure?

thanks in advance
mariem

Re: pen pressure
From:  steph thirion
Date:  22. March 2008, 01:06

if you print the event object passed to the handlers you can see it holds a point but also a pressure propertie.

I suppose you can do

function onMouseDrag(event) {
myvar = event.pressure;
}

btw is there a way to control pressure on illustrator without a tablet, say with the keyboard arrows? I thought there was one but I can't find it..

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
Crop Marks 14.02.12
by Zed