iPhone Text expander?

Discussion in 'Jailbreaks and iOS Hacks' started by spotsphill, Apr 6, 2013.

  1. spotsphill macrumors regular

    Joined:
    Sep 26, 2009
    #1
    I was wondering if anyone knew how to insert multiple lines via the iPhone's text expander/shortcut option? I want to insert my email signature before the quoted text in the Gmail app (something that can't currently be done). So I want to insert something like:

    --
    Phill

    Sent from my iPhone

    I've tried to play with all kinds of options like <br> </br> </n> <n> in the shortcut section but it won't give me what I want. I also downloaded Xpandr 2 but it doesn't give me this functionality.

    Any help would be GREAT. Thanks!
     
  2. ipsychedelic macrumors 6502a

    ipsychedelic

    Joined:
    Mar 8, 2012
    #2
    iOS doesn't support that currently (new lines inside shortcuts), so you either have to use two or three shortcuts... or try another "text expander" app that does.
     
  3. spotsphill thread starter macrumors regular

    Joined:
    Sep 26, 2009
    #3
    Does anyone know of any other text expander apps that allow this functionality? It's a waste of time to use three shortcuts to achieve this.
     
  4. ipsychedelic macrumors 6502a

    ipsychedelic

    Joined:
    Mar 8, 2012
    #4
    There is this, but didn't work for me, so I tried the tinkerer approach, that did work just fine:

    1. Edit /var/mobile/Library/Keyboard/CloudUserDictionary.sqlite with a SQLite Editor.
    2. Reupload (in case you didn't edit inside the iOS device).
    3. Profit

    However, when trying to update previous shortcuts via the Settings app, or making new (regular) ones, it won't update the changes so either it was
    a. My SQLite editor introducing something odd
    b. iCloud playing sassy with me since the timestamps changed
    c. The price you pay from thinking outside the box (Apple's).

    So there you go, enjoy.
     
  5. spotsphill thread starter macrumors regular

    Joined:
    Sep 26, 2009
    #5
    I also tried the method explained in that link for a while and couldn't get it to work. I appreciate your suggestion of the second method but I think it's a little more intense than I had envisioned. Hopefully the Gmail app will be updated someday (soon!?) to include signatures before the quoted text.

    Thanks again.
     
  6. ipsychedelic macrumors 6502a

    ipsychedelic

    Joined:
    Mar 8, 2012
    #6
    Intense? These are the Jailbreak&Hacks sub-forums!!! ;)

    But yeah, if you feel the second method is too hardcore then I guess you're SoL.
     
  7. spotsphill thread starter macrumors regular

    Joined:
    Sep 26, 2009
    #7
    Getting into the var/mobile... isn't the problem. I just don't know much about editing SQLite files (I guess I'd need to find a Mac program to edit it). Plus, the idea of it messing with my stock functionality makes me less excited about tinkering.
     
  8. ipsychedelic macrumors 6502a

    ipsychedelic

    Joined:
    Mar 8, 2012
    #8
    I use Liya.

    You'd need up update via a custom command, something like (deleted the file and closed Liya so cannot say)
    Code:
    UPDATE 'first_table_that_pops_up'
    set  zphrase = 'Regards,
    
    --
    Phill
    
    Sent from my iPhone'
    WHERE z_key = XX.
    Where XX is the ID of the register where you have the shortcut (better create a dummy one before grabbing the sqlite).
     

Share This Page