Apply an action to all pages.

Here everybody can post his problems with PhotoLine
borgo1971
Mitglied
Beiträge: 131
Registriert: Do 11 Sep 2008 21:03
Wohnort: Tolmezzo (UD) Italia

Apply an action to all pages.

Beitrag von borgo1971 »

Is there a way to apply an action more times in a document? A sort of loop to spare the work to click the action for each page in the document. I inserted the command to jump to next page, but can't find how to recall the action.
Paul
Mitglied
Beiträge: 235
Registriert: Fr 19 Dez 2008 11:36

Re: Apply an action to all pages.

Beitrag von Paul »

Hi,
You can assign a keyboard shortcut to an action, perhaps you can make a new action incorporating the action you want + 'next page'?
Then assign a keyboard shortcut to this new combined action and repeat this keyboard shortcut until you've reached the end of the document?
- Paul
borgo1971
Mitglied
Beiträge: 131
Registriert: Do 11 Sep 2008 21:03
Wohnort: Tolmezzo (UD) Italia

Re: Apply an action to all pages.

Beitrag von borgo1971 »

Assign a shortcut would be a nice help. But how can this be done?
bkh
Betatester
Beiträge: 3674
Registriert: Do 26 Nov 2009 22:59

Re: Apply an action to all pages.

Beitrag von bkh »

borgo1971 hat geschrieben: Sa 22 Apr 2017 23:20 Assign a shortcut would be a nice help. But how can this be done?
Go to Preferences -> Usage -> Keyboard Shortcuts

There's an entry "Actions" in the middle pane where you should find your action. (And remenber to press the "Assign" button, after picking a keyboard shortcut – I tend to forget the last step).

Cheers

Burkhard.
borgo1971
Mitglied
Beiträge: 131
Registriert: Do 11 Sep 2008 21:03
Wohnort: Tolmezzo (UD) Italia

Re: Apply an action to all pages.

Beitrag von borgo1971 »

Thanks, Shortcuts for Actions could be a great help. But now I have another trouble. All the job is to resize scanned PDF, that my Epson multifunction resizes (I guess to allow printing without cutting the border). PDF layout resolution is 300dpi in any case, but if I use scanner with 300dpi, the raster layer will have 309dpi (about 97%), if I use 200dpi, the raster layer will have 206dpi, if I use 600dpi, the raster layer will have 618dpi. Mostly this is not a problem, but sometime it is. So I need an action to resize layer inside PDF. I used adjust layer scale with formula, in the resolution field I put:
If (d≥600; 600; If (d≥300; 300; If (d≥200; 200; d)))
But Action doesn't work as aspected. :(
bkh
Betatester
Beiträge: 3674
Registriert: Do 26 Nov 2009 22:59

Re: Apply an action to all pages.

Beitrag von bkh »

borgo1971 hat geschrieben: So 23 Apr 2017 19:39 If (d≥600; 600; If (d≥300; 300; If (d≥200; 200; d)))
But Action doesn't work as aspected. :(
'if' has to be lower case. Also, PL doesn't accept "≤" or "≥" (I can't get <= or >= to work, either, although they are documented, but as a workaround, you can negate the conditional and exchange the other arguments).

Cheers

Burkhard.
borgo1971
Mitglied
Beiträge: 131
Registriert: Do 11 Sep 2008 21:03
Wohnort: Tolmezzo (UD) Italia

Re: Apply an action to all pages.

Beitrag von borgo1971 »

OK, I simplified the formula in this way:
if (d>450; 600; if (d>250; 300; 200))
And the Action seems to work just fine. Thanks.
bruce1951
Mitglied
Beiträge: 413
Registriert: Sa 23 Apr 2016 17:03

Re: Apply an action to all pages.

Beitrag von bruce1951 »

My advice would be to use a specialized printing program such as QImage for printing. No second guessing and consistent printing results every time. Not all programs play nice with printers. It's often a case of who's in control.

regards