How to get Unique ID?


hi,

 

how unique id in illustrator & photoshop?

(example: g21j79, g67h38, g48b00, g74y15)

g not change, next 2 numbers , 1 character , 2 numbers changed.

 

any possible unique id in javascript ??

 

please me one....

 

regards

william

im not sure context wish find these if in strings pulled objects may want employ regular expression so…

 

var st = "how unique id in illustrator & photoshop? (example: g21j79, g67h38, g48b00, g74y15) g not change, next 2 numbers , 1 character , 2 numbers changed";; var res = st.match(/[g][0-9]{2}[a-za-z]{1}[0-9]{2}/g); $.write(res) 



More discussions in Illustrator Scripting


adobe

Comments