August 27, 200916 yr Hello, I have 2 questions. I am writing a script that can change font, style, size...etc... so that someone can do that without having to use the quickformatting.. It will be a little bit more elaborate later, I am just getting the basics down. in the script, I "Inserted Calculated Result".. here is the calculation TextFont (TextSize ( TextStyleAdd ( ; "Plain Text"); 14); "Arial" ) Question 1: where it says: Right now I only know how to put a specific field there... what function could I put there, that would capture the field name I currently have selected? Question 2: I have seen the basic shortcut that your first 10 scripts can have... is there a way to specify a Shortcut key that isn't being used, like "F2" Thanks!
August 27, 200916 yr try; Set Field [ TextFont ( TextSize ( TextStyleAdd ( [color:blue]Get ( ActiveFieldContents ) ; "Plain Text"); 16); "Arial" ) ] Note that you don't name a field in the first part, and you use the Get (ActiveFieldContents) You would need a utility such as QuickKeys in order to have a key combination for the next script beyond 10. HTH Lee Edited August 27, 200916 yr by Guest
Create an account or sign in to comment