How to make an app - Andromo App Maker

Announcement

Collapse
No announcement yet.

Ensure there is a slash at the end of my property?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ensure there is a slash at the end of my property?

    I have a dialog where I ask for a file path to be entered. If they use the browse button, it always adds a slash to the end of the property. But the user can type in the box and may not put a slash on the end. I need to make sure there is one there or it messes things up.

    I set up a custom action to do this, but not sure how it should really work. I tried LUA script, but I don't have access to the property. I tried the "Set Property" action, but can't do a check and optional concat of the slash. Anybody run into this before? Any ideas? Any help would be greatly appreciated.

    Thanks,
    Dale

  • #2
    Unless you are running the Lua script deferred, you should have access to the Property, and should be able to manipulate it.

    Ulrich

    Comment


    • #3
      Thanks, I got it working now.

      Comment

      Working...
      X