Abbreviation delivering MULTIPLE REPEAT completions.

Abbreviation delivering MULTIPLE REPEAT completions.

Postby BLived » Fri Sep 07, 2012 1:13 pm

Sorry to trouble community but combing all other info has delivered no luck on this brain-teaser.

When I trigger an Abbreviation I've created ("dnt" should trigger delivery of "(current date) - (current time) David said", I get that completion result delivered 3x into the target text field.

Have no idea what's up.

How to stop this and just get the 1x auto-paste of the desired completion date/time/text result I want?

Thanks so much guys!
-David
BLived
 
Posts: 2
Joined: Fri Sep 07, 2012 1:07 pm

Re: Abbreviation delivering MULTIPLE REPEAT completions.

Postby gb2 » Fri Sep 07, 2012 3:17 pm

what version of QuicKeys, OS? What program is this happening in and where in the program? Does it work if you trigger it in TextEdit?
User avatar
gb2
Site Admin
 
Posts: 2875
Joined: Mon Feb 06, 2006 6:22 pm

Re: Abbreviation delivering MULTIPLE REPEAT completions.

Postby BLived » Mon Sep 10, 2012 10:24 am

Thanks for reply:

In order of your questioning:
1. 4.0.7 (131)
2. Mac OS 10.7.4
3. Its happening in GoogleDocs spreadsheet cells (via Firefox Browser)
4. Yes, works.

Any ideas?
BLived
 
Posts: 2
Joined: Fri Sep 07, 2012 1:07 pm

Re: Abbreviation delivering MULTIPLE REPEAT completions.

Postby gb2 » Mon Sep 10, 2012 11:05 am

what version of Firefox? I don't have GoogleDocs but it seems to work other places in Firefox for me with version 14. Does it work in this forum for you?
User avatar
gb2
Site Admin
 
Posts: 2875
Joined: Mon Feb 06, 2006 6:22 pm

Re: Abbreviation delivering MULTIPLE REPEAT completions.

Postby rnedel » Fri Jan 18, 2013 6:12 am

I have the same problem. I am using the abbreviation:

mydate

To enter date in the format:

2012-01-18

I started using the abbreviation (I'm new to QuicKeys) just the other day in software called MonoDevelop. I noticed that when I typed

mydate<space>

QuicKeys would insert three instances of the current date, each separated by a single space character.

After reading this topic, I tried performing the operation within TextEdit. The insert worked as it should, replacing the "mydate" text with just one instance of the current date. Here are my settings for the specific abbreviation.

Abbreviation: mydate
Ignore Case: Yes
Completion: (Text) 2013-01-18
Style: Plain Text
Match Case of Typed Abbreviation: Yes
Append Typed Trigger: Yes
Completes: As set in preferences
Scope: All applications
Replace Typed Abbreviation: Yes
Only Completes in Known Text Areas: No

Finally, some specifics about my system:

QuicKeys v4.0.7 (131) (licensed)
OS: Mac OS X v10.8.2

As I mentioned, this is happening within MonoDevelop, which is a Mac/Android/iOS software programming IDE. I am using version 3.0.6, which is the latest stable version. As mentioned, this abbreviation works fine in TextEdit. I will try it in other apps and list my results below:

TextMate: 1 replacement
Chrome: 1 replacement
Evernote: 1 replacement
Mail: 1 replacement
Notes: 1 replacement
Excel: 1 replacement
Word: 1 replacement
Balsamiq: 1 replacement

I haven't installed Firefox on my system so I can't test it there. I do have Google Docs (which is now Google Drive), so I'll test the abbreviation via Chrome:

Google Drive: 1 replacement

The next question that popped into my mind is, "Is this repeating limited merely to the 'mydate' abbreviation?" I tried two other QuicKeys abbreviations in MonoDevelop. Both of them incorrectly repeated three times. I tried both of those other abbreviations in TextMate. Both worked fine there.

So it seems to be limited (at least on my system) to MonoDevelop. Any ideas? Thanks.

- rnedel
rnedel
 
Posts: 2
Joined: Fri Jan 18, 2013 5:38 am

Re: Abbreviation delivering MULTIPLE REPEAT completions.

Postby gb2 » Fri Jan 18, 2013 9:54 am

the problem would be that MonoDevelop isn't returning a notification back to QuicKeys in a reasonably time so it thinks the paste of the abbreviation failed so it tries other methods to get the text entered in and then the program finally decides to do the paste and so on. It has been entered into our bug database to see if there is anything that QuicKeys can do to prevent it in programs that don't behave properly. Not sure when it would be looked at or if it can be corrected on QuicKeys end at this time.
User avatar
gb2
Site Admin
 
Posts: 2875
Joined: Mon Feb 06, 2006 6:22 pm

Re: Abbreviation delivering MULTIPLE REPEAT completions.

Postby rnedel » Sat Jan 19, 2013 1:19 am

Gb2,

Thanks for the explanation. Does QK offer a setting that allows me to change how long it waits for a response before reattempting an operation? Cheers.

- rnedel
rnedel
 
Posts: 2
Joined: Fri Jan 18, 2013 5:38 am

Re: Abbreviation delivering MULTIPLE REPEAT completions.

Postby gb2 » Mon Jan 21, 2013 10:53 am

no - that's why I said it has been entered into our bug database.
User avatar
gb2
Site Admin
 
Posts: 2875
Joined: Mon Feb 06, 2006 6:22 pm

Re: Abbreviation delivering MULTIPLE REPEAT completions.

Postby rfwilmut » Sun Dec 01, 2013 6:11 pm

BLived wrote:When I trigger an Abbreviation I've created ("dnt" should trigger delivery of "(current date) - (current time) David said", I get that completion result delivered 3x into the target text field.


As a stopgap you could try an AppleScript. Paste this into the AppleScript editor and save as an application:

property dt : ""
property tm : ""
property dnt : ""
set dt to date string of (current date)
set tm to time string of (current date)
set dnt to "\"" & dt & " - " & tm & " David said" & "\""
tell application "System Events"
tell application "TextEdit" to activate
keystroke dnt
end tell

Obviously substitute the application in question for TextEdit. Line 5 could read:

set tm to items 1 thru 5 of time string of (current date)

to lose the seconds.

Then use a keystroke to trigger the AppleScript.
rfwilmut
 
Posts: 12
Joined: Tue Sep 19, 2006 10:59 am


Return to QKM General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron