hammerspoon2-docs
    Preparing search index...

    Function writeData

    • Write raw base64-encoded data for a specific UTI type, replacing all current contents. Use this for types not covered by the convenience write methods.

      Parameters

      • base64: string

        The data encoded as a base64 string

      • uti: string

        A UTI type string (e.g. "com.adobe.pdf")

      Returns boolean

      true if the write succeeded