dbTalk Databases Forums  

FMP6: Text string to clipboard via a button?

comp.databases.filemaker comp.databases.filemaker


Discuss FMP6: Text string to clipboard via a button? in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Cerulean
 
Posts: n/a

Default FMP6: Text string to clipboard via a button? - 07-18-2010 , 10:49 AM






I've read so many forum articles in the last week and when I tried
doing this last time I worked on my FMP db, but I still can't get two
buttons to send 2 specific text strings to the clipboard.

A separate button from these 2 opens up a URL in the default browser.
But I sometimes need to open my own browser on my USB flash drive when
I'm not at home since my browser is rarely found on the host computer
(I use Firefox with all my own bookmarks). So when away from home, I
just need a button to send the URL to the clipboard. It's become
tedious to use that separate button to launch the URL then copy it and
close the host's default browser, then paste it into my own browser.

Is there no somewhat easy way to send a URL text string to the
clipboard? I've tried the methods described in various articles
online but they're not doing the job. Surely something so simple can
be done somehow by FMP, even a version as old as v6?

(And, pls, advice to upgrade is not helpful here. Thx!)

Thanks! Much appreciated.

Reply With Quote
  #2  
Old   
Lynn Allen
 
Posts: n/a

Default Re: FMP6: Text string to clipboard via a button?X-TraceApproved - 07-18-2010 , 12:33 PM






On 2010-07-18 08:49:20 -0700, Cerulean <Spamming (AT) NOTallowed (DOT) com> said:

Quote:
Is there no somewhat easy way to send a URL text string to the
clipboard? I've tried the methods described in various articles
online but they're not doing the job. Surely something so simple can
be done somehow by FMP, even a version as old as v6?
Does using the script command "Copy" not work for you? If the data is
already in a FM field, then that will work. Just specify the field to
copy, or have your cursor in the field when you invoke the script.


--
Lynn Allen
--
www.semiotics.com
Member FBA
FM 10 Certified Developer

Reply With Quote
  #3  
Old   
Cerulean
 
Posts: n/a

Default Re: FMP6: Text string to clipboard via a button? - 07-19-2010 , 09:38 AM



On Sun, 18 Jul 2010 10:33:34 -0700, Lynn Allen
<lynn (AT) NOT-semiotics (DOT) com> wrote:

Quote:
On 2010-07-18 08:49:20 -0700, Cerulean <Spamming (AT) NOTallowed (DOT) com> said:

Is there no somewhat easy way to send a URL text string to the
clipboard? I've tried the methods described in various articles
online but they're not doing the job. Surely something so simple can
be done somehow by FMP, even a version as old as v6?

Does using the script command "Copy" not work for you? If the data is
already in a FM field, then that will work. Just specify the field to
copy, or have your cursor in the field when you invoke the script.


--
Lynn Allen
Hi, Lynn, thanks. That was the approach I used for the fields but not
what was needed here since I needed a button on the main input layout
and not a field. Too bad FMP6 doesn't have something easier.

I ended up creating a global text field for the 2 buttons I needed to
copy information to to the clipboard (to avoid re-typing these 2
strings over and over again and to then paste from the clipboard,
also, externally to FMP).

I put the 2 global fields on a separate layout then hid the layout
from view. I put my buttons on the "main interface" layout and used
the copy script from there.

Apparently, the global field will mean there's not repeating
information and that it holds the information just once across all the
records. Well, whatever the case may be, this now works. And I avoid
a whole lot of repetition which was my goal.

Thnx.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.