IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#30541 - 11/17/09 04:51 PM how to get data from data selection?
ysong Offline
Junior Member

Registered: 11/17/09
Posts: 1
hi,
I create a data selection selected from first line of a pdf file, it contains just date string. if I use code:
&dateStr := @(1,1,10)
it doesn't work.
is there anyway do get the string ?

thanks

Top
#30542 - 11/17/09 04:56 PM Re: how to get data from data selection?
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
ysong,

To select data from a pdf, it's the "region" command that you need to use. It is best to select the region you want in the data pane, and drag it on the screen, it will automatically create it. If you don't see the data pane, you can make it show up by going to View->Data Pane. You can then convert it to PressTalk(Tools->Convert to PlanetPress Talk) and the region command will be correctly setup, you just have to assign it to your variable.

The parameters of the region command are left, top, right, botom, in that order. They are measure values and they form the region that you want to read the text from.

Hope that helps.

Regards,
Rapha

Top