Skip to main content
Participant
May 31, 2012
Question

set art name in timer event

  • May 31, 2012
  • 1 reply
  • 815 views

I create art objects and set name to art-board.This arts are set by timer event function (created by AITimer->AddTimer).

But following doing UNDO, plug-in freezes.

Not in timer event function, there's no problem.And no setting name, there's no problem, too.

I need a help.

I use SDK CS5.

Best regards.

This topic has been closed for replies.

1 reply

A. Patterson
Inspiring
May 31, 2012

Changing anything on the artboard (that would result in an undo, normally) inside a timer response tends to do strange things. Which makes sense, because changing things should create an undo transaction, but you're kind of outside that. It doesn't always hang, sometimes it just does odd things, like undo removes your changes, but redo doesn't put them back.

Bottom line: the timers are useful for certain things, but not for changing things on the artboard.