Jump to content

how to paste text into a field


This topic is 6678 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi,

I have some data external to FM into the clipboard.

I need to paste this data (text) into a temp field for parsing it.

the problem is B) to paste text into field , I must go to the layout and pasting it there into the field.

I need a function like SetField(Temp,Clipboard)

(SetField don't request that the field is into the current layout)

Any help ?

Link to comment
Share on other sites

I suppose you could this with Applescript, but what's wrong with:

Freeze Window

Go to Layout [ "layout with Temp field" (table of Temp) ]

Paste [ table of Temp::Temp ] [ Select; No style ]

Go to Layout [ original layout ]

This can be called from anywhere, and will be transparent to users.

Alternatively, you could place an invisible instance of Temp on the current layout. Make it very small, disallow entry (in field behavior) and hide it under another object on the layout.

Link to comment
Share on other sites

This topic is 6678 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.