Jump to content

pasta

Member
  • Posts

    10
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

pasta's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. FWIW I did enter my license in the migration assistant but my sync preference didn't carry though. I did deactivate my Alfred 4 license first though so that could have something to do with it. I think that removed my sync location setting. Totally forgot Alfred 5 would be a separate application. Was thinking I'd enter the license and be upgraded. I ended up re-activating Alfred 4, my sync location appeared, then I manually picked that folder in Alfred 5 and all was right with the world
  2. That's a good idea, but Edit -> Paste pastes to the iOS clipboard in Simulator (not into the app that's running). Unfortunately there's no key command tied to the Send Menu Keyboard Shortcuts to Device menu item. If there were, I could probably create a workflow to temporarily turn that on, paste the snippet, and turn it back off. Let me know if you think of any other possible workarounds. Understood. I was hoping iOS developers would be a large enough portion of your users that this could be one of those edge cases, but, if after years I'm the only one that's reported it, I totally understand not wanting to add code for this special case to the app. If it were my app, I probably wouldn't want to either.
  3. Hi @Vero, All good about going off-topic. I didn't realize there was no off-topic section of the forum. I should have checked for that first. By default, it will paste to the iOS clipboard in the simulator. Then you can paste from iOS to paste the content. If you enable the setting to send menu keyboard shortcuts to the device, you can paste directly to the device; however, that doesn't make Alfred snippets start working, unfortunately. It also makes the simulator pretty unusable as a develop because I'd lose all my keyboard shortcuts. I tried slowing down the key events all the way, with and without that setting enabled, but had no luck. That I'm sure I haven't done. It's cmd + v for me. I think that's true, it's a limitation of the simulator that when you paste from macOS it goes to the iOS clipboard but does send a paste iOS event. That being said, I think Alfred could work around this by sending key events of the snippet contents (1 character at a time, quickly) to Simulator (this would only be needed for Simulator). It wouldn't be as fast as pasting, but it should work in theory. I know this is a pretty rough edge-case, but with Alfred being a power user tool, I think a lot of iOS devs use it and would appreciate this feature. Right now all we have is text replacement, and that is not shared across simulators, of which we deal with _many_. Being able to use Alfred snippets in Simulator would be a major productivity boost for things like filling out forms.
  4. I found a setting in Simulator's menu, Hardware -> Keyboard -> Send Menu Keyboard Shortcuts to Device. I was hoping this would allow the pasting that Alfred and Dash use for snippets to paste directly to Simulator. It does let you paste from the keyboard directly, which is nice, but for snippet-expansion I get the letter v now. Bummer.
  5. I do have Dash. I just tried it and it has the same issue I have a feeling snippet expansion in Simulator won't be possible unless Alfred detects Simulator is the active app, and if so, types out the snippet instead of pasting (I think copy/paste then restore the clipboard content is how snippet expansion works with Alfred). That may or may not be an option depending on how quickly the simulator can accept keyboard input. This is a limitation of how the iOS simulator works. If you paste into Simulator, it pastes to the simulator's clipboard instead of pasting directly to the screen as if you had long press -> Pasted from iOS.
  6. Ha that's true about bumping. Well, I'll be on the lookout for relevant posts. Thanks for your help! I didn't know about the snippets blacklist, so that's very helpful right now.
  7. Oh, so you are just knocking the iPad. I get it, I don't use mine for power usage either. That doesn't mean I've never wanted to type my email address into a form on my iPad. Can we try keep the thread on topic? I do want to see if this is a solvable bug or not. I'd rather not turn this into a platform war. I'm on a Mac all day, but I use all 3 devices for different things. The bug report is about expanding snippets into the iOS simulator on a Mac. Let's try to stick to that. If not...well, I'm new here. I can't stop you.
  8. Sort of. Settings -> General -> Keyboard -> Text Replacement is there, but as a developer I deal with different simulators for different devices and OS versions, and I'm not signed into iCloud for those. That means my iOS text replacements aren't synced to the simulators, which in turn means I need to add the text replacements to each simulator I use separately. There might be a non-Alfred related solve for that, but you can start to see why using Alfred snippets would be useful. Can someone explain me the use case of an iPad. I don’t get it. ? Same reason you'd use the feature on your phone or Mac. For example I use it to type 3 letters for my email address (and for multiple email addresses). It's especially useful on an iPhone where you don't have a hardware keyboard, but it's still useful on iPad w/software keyboard, iPad with hardware keyboard, or Mac w/hardware keyboard.
  9. Thanks, I'll do that. That allows me to get rid of the "i" prefix workaround I'm doing now. I tried adjusting the tweaking options, but couldn't get snippet expansion working. Let me know if you have settings that are working for you.
  10. Build Info Alfred Version 3.7 Alfred Build: 938 macOS Version: 10.13.6 What You Were Doing Trying to expand an email address in an iOS app in the iOS simulator while developing Able to Replicate? Yes, repeatedly Issue When I try to expand a snippet into the iOS simulator, be it via auto expansion or not, the snippet tries to expand, but the text field clears. I tried this in multiple text fields (my own app and Settings.app). Potential Solutions 1. Expand the snippet if possible. I know the iOS simulator can be finicky to get text into, so this may be impossible. 2. If #1 is not possible, detect when an iOS simulator is the active app, and if so, temporarily disable snippet expansion. This would be better than having the text field clear. [Edit: You can do this yourself with Alfred] 3. Something you smart people think of that I have not Discussion In my opinion, this is a more serious and unexpected issue when auto-expansion is enabled. It means the user needs to either disable auto-expansion of snippets or pick different keywords for iOS, since the user also needs to fall back to iOS's built in text replacement feature. Right now my workaround is going to be to place an "i" in front of the snippets I want to use in the iOS text replacement settings.
×
×
  • Create New...