Jump to content

bmo

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by bmo

  1. Hi all, thanks for the response. I have hundreds of .tif images that are named very similiarly, so I built a string based off of some data pulled and manipulated from the data file. I found a post on here about returning a <graphic> tag, and adding it to a text field. That did the trick. Thanks!
  2. Hi, I'm trying to build a a graphic rule that will pull a resource based off of a string that is built. For example: i've built a global function that returns the string Resource("page1-stone1-10.tif"). If I use this function as a graphic rule, it does not return the referenced image. If I use it as a text rule, it does return the correct string that would reference to the resource that is named accordingly. Is it possible to do this or do I have to manually link each graphic resource via a switch/if statement?
  3. Hi, I'm trying to create my own JS functions and saving them as a .js file on a Mac. I followed the directions in the Rules System Guide under the A Method for Storing User-Defined Functions. When saving the .js file, the directory PTI/FusionPro is there in the Applications folder, but "plug-ins" is not. I created a "plug-ins" folder and saved the file (file = the AddQuotes tutorial in the manual). When trying to access in the Building Blocks, it does not appear. the (Global) option under the Functions tab doesn't show up either. Are there specific directions on how to save reusable variables and functions for a Mac? Am I missing something? Thanks for your help!
  4. Howdy all, Mac user who used to use Windows all the time: I ran into the same issue - I ended up using control instead of command and it worked in the program. Hope it works for you too! TL:DR Use CTRL+C, CTRL+V for copy/pasting on a Mac.
  5. Hello, I'm new to FusionPro - is it possible to add a text-shadow effect in a manner similar to using JavaScript in the DOM? I've guessed the following code with no luck: var Var1 = 'First Name' var val = TaggedRuleOrField(Var1); val.style.textShadow = "2px 2px 4px #000000"; Can the string itself be changed (ex: lowercase/uppercase, concatenate, etc) but the look of the style of the string cannot with a function? Or perhaps (for lack of a better word), I'm misunderstanding the DOM, so a CSS style would not work? Or it needs to be done in another manner? Again, new to this, so any help would be greatly appreciated. Thanks!
×
×
  • Create New...