FontLab Forum
2012-05-23, 23:51:07 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the FontLab forum, read how to use it! Update: Archives from old MSN forums are now available on our forum.
 
   Home   Help Search Calendar Downloads Tags Login Register  
Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot

Pages: [1]
  Print  
Author Topic: method for answering a dialog box in FL?  (Read 681 times)
tgrace
Beta: FontLab Studio Mac
Hero Member
***

Karma: +0/-0
Germany Germany

Posts: 27


Email
« on: 2011-09-29, 07:58:40 »

Hello!
In a script I'm calling a command to be run on selected glyphs. Because there are hundreds that are selected, FL gives a confirmation dialog box. Is there method to return 'yes' so that the rest of script can run? Or, is there a preference to bypass the 'Are you sure...?' box?
Thanks for your help.
« Last Edit: 2011-09-29, 08:01:10 by tgrace » Logged
Adam Twardoch (FontLab)
Product and marketing manager, Fontlab Ltd.
Administrator
Hero Member
*****

Karma: +12/-4
Germany Germany

Posts: 329


FontLab Studio 5.0.4, Mac OS X 10.4.11


WWW
« Reply #1 on: 2011-09-29, 20:53:03 »

Tom,

I think with CallCommand it's not possible. I agree it'd be useful.

A.
Logged
tgrace
Beta: FontLab Studio Mac
Hero Member
***

Karma: +0/-0
Germany Germany

Posts: 27


Email
« Reply #2 on: 2011-09-30, 18:32:53 »

ok, Adam, thanks for confirming.
Logged
Tags: dialog  box  button  Python 
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!