Answered
Request for Baseline Shift
Hi All,
I need urgent request for the below:
1. User select the bullet
2. that bullet should baseline with that line
Screenshot:

Thanks in Advance
Siraj
Hi All,
I need urgent request for the below:
1. User select the bullet
2. that bullet should baseline with that line
Screenshot:

Thanks in Advance
Siraj
Try this,
var baseline = app.selection[0].baseline;
var obj = app.selection[0].createOutlines();
var gb = obj[0].geometricBounds;
app.documents[0].undo();
var baselineValue = gb[2] - baseline;
app.selection[0].baselineShift = baselineValue;
Vandy
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.