Cutting and Pasting into Revolution

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Judson
Posts: 26
Joined: Fri May 07, 2010 9:15 pm

Cutting and Pasting into Revolution

Post by Judson » Wed May 19, 2010 4:46 pm

Question: How do I cut and paste filenames from Mac OSX into a Revolution field?

When I highlight a list of files and copy and paste it I get the full pathname of the first file in the Revolution field.

My only solution has been to copy the files, paste them into Text Edit using shift-option-command-V, and then highlight them in Text Edit, copy them, and past into the Revolution field.

Thanks to whomever,

Judson

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4171
Joined: Sun Jan 07, 2007 9:12 pm

Re: Cutting and Pasting into Revolution

Post by bn » Wed May 19, 2010 5:25 pm

Hi Judson,
welcome to the forum.

It seems that what you describe has been observed by others too. The user notes in the dictionary for "clipboard" mention it.
If you do a drag and drop from the finder into a Rev field of multiple objects you get the long file name, i.e. with the full path, of all the selected and dropped files.
You could then set the item delimiter to "/" and do a repeat for the lines just putting the last item of line x into the line x.
Sorry, that is all I can think of.
regards
Bernd

Judson
Posts: 26
Joined: Fri May 07, 2010 9:15 pm

Re: Cutting and Pasting into Revolution

Post by Judson » Fri May 21, 2010 9:22 pm

Thank you for the welcome to the board.

Judson
Posts: 26
Joined: Fri May 07, 2010 9:15 pm

Re: Cutting and Pasting into Revolution

Post by Judson » Sat May 22, 2010 3:06 am

Okay, I fail to get the behavior you described.

When I hightlght a group of objects and then paste into a field I do indeed get the file name and the full pathname, BUT ONLY FOR THE FIRST ITEM IN THE LIST, not the entire list as you suggest.

Any suggestions here?

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4171
Joined: Sun Jan 07, 2007 9:12 pm

Re: Cutting and Pasting into Revolution

Post by bn » Sat May 22, 2010 9:15 am

Hi Judson,
I meant when you drag from the Finder the hilited files into a field in Rev. Not copy & paste. For copy & paste there seems to be the problem you describe. (see also the additional notes in the dictionary for the clipboard entry)
regards
Bernd

Post Reply