Our QA team has tried reproducing this over 100 times and thus far had no luck. If you are still available for a Zoom call to show us how you can reproduce the problem, we would like to take you up on that offer.
Unfortunately I am unable to respond to private messages sent via the Statistics Community. Can you email me directly please at brownicu@us.ibm.com and we can setup a Zoom or Teams call with our QA in Kochi, India? That seems the best way to proceed. I will be there as well.
Original Message:
Sent: Fri March 29, 2024 08:30 AM
From: Chris Keran
Subject: Cannot copy/paste from another program into syntax editor
Hi Urban,
I agree, that is a brilliant work around, however, for me, there is a more efficient workaround. I used to have to reboot SPSS until someone on this forum mentioned copying something out of the data file (I just copy one cell), paste that into the syntax window, recopy what I wanted to originally paste (say from Word, Excel, Explorer, etc.) and then I'm able to paste that into the syntax window. This works EVERY TIME for me.
Looking forward to when the real fix happens!
Chris
------------------------------
Chris Keran
American Academy of Neurology
Original Message:
Sent: Thu March 28, 2024 11:27 PM
From: Urban Landreman
Subject: Cannot copy/paste from another program into syntax editor
That's brilliant!
That solved my "How do I avoid retyping a LOT of lines of syntax?" problem.
Urban Landreman
Hennepin County Public Health
------------------------------
Urban Landreman
Original Message:
Sent: Mon August 28, 2023 07:04 AM
From: Jos Blykers
Subject: Cannot copy/paste from another program into syntax editor
This ugly workaround worked for me.
I had Python code in Notebooks. Cut'n paste did not work, not with Ctrl-C / Ctrl-V nor with the menu-driven approach. Copied to MS Word to no avail. Then saved as txt-file and imported the txt-file as a dataset with one variable in SPSS. Then copied the lines of code from the Dataset to the Syntax page. The copy worked, minor editing remains.
------------------------------
Jos Blykers
Original Message:
Sent: Mon August 14, 2023 02:45 PM
From: Jon Peck
Subject: Cannot copy/paste from another program into syntax editor
An earlier post discussed the cause of this problem, but I want to reiterate that if you use Edit > Copy instead of ctrl-C, the clipboard seems to work better.
--
Original Message:
Sent: 8/11/2023 1:30:00 PM
From: Eva Ho Lam Yiu
Subject: RE: Cannot copy/paste from another program into syntax editor
Not sure if you've resolved this issue. I've been having the same issue and I was just randomly trying different things. If this happens again, try copying something from the Output window, and then copy what you actually want to copy from the external app and then paste into the syntax window. This worked for me just now.
------------------------------
Eva Ho Lam Yiu
Original Message:
Sent: Thu May 11, 2023 08:21 AM
From: Chris Keran
Subject: Cannot copy/paste from another program into syntax editor
I have been having the same copy/paste issue described since at least back to v27 (I'm on v29 now), and the frequency seems to be increasing. The one additional context I would add is that after I copy something from OUTSIDE a syntax window (ctrl-c), when I paste into a syntax window (ctrl-v), it will often paste the last thing I had copied from WITHIN a syntax window. The only consistent solution I've found is to close and then restart SPSS. As described, this is a HUGE time waste.
------------------------------
Chris Keran
Original Message:
Sent: Sat January 08, 2022 05:16 PM
From: Community Support Admin
Subject: Cannot copy/paste from another program into syntax editor
Dear Jon:
Nope, none of your suggestions work. I am usually trying to copy from Word 2016 to an SPSS syntax file, but without success. Can you think of anything else to do? This is very annoying when trying to annotate a syntax file or do other things, such as copy questionnaire responses into a VALUE LABELS command. Sometimes I am working on very complicated analyses with several open syntax files, databases, and output files. In order restore copy/paste, I have to close everything down and start over. Not great behavior from a $3,000 program, eh?
#SPSSStatistics
#Support
#SupportMigration