Hi Everyone
I have tried to delete objects from page 2 of a 2page pdf.
The action deletes the same objects from Page 1. I want to delete only from page 2.
Tried to attach the action but I get the message - Invalid file extension
Any help will be really appreciated
Select and delete an object on last page
-
- Newbie
- Posts: 1
- Joined: Tue Mar 26, 2024 10:41 am
Re: Select and delete an object on last page
This might sound obvious, but have you chosen the action to run on Page 2 using the Action List palette > Run On:
Options are - User Selection / Current Page / Pages / Complete Document
Options are - User Selection / Current Page / Pages / Complete Document
Re: Select and delete an object on last page
No I don't think so. I can't seem to find that one.
I have attached a list of my actions
I have attached a list of my actions
Re: Select and delete an object on last page
Here is how i would do:
- select page range: 2
- select objects if page is selected
- use whatever selector that would target the objects (ex: select color, stroked with spot — Select Line Art — AND)
- AND
- Log Selection: "Found objects:"
Then you get a count of objets in the navigator.
HTH
Loic
- select page range: 2
- select objects if page is selected
- use whatever selector that would target the objects (ex: select color, stroked with spot — Select Line Art — AND)
- AND
- Log Selection: "Found objects:"
Then you get a count of objets in the navigator.
HTH
Loic
Loïc Aigon
Enfocus PitStop Manager
Enfocus PitStop Manager
Re: Select and delete an object on last page
Found objects works ok but it finds them on page 1 and 2
I only want to delete the objects on page 2
I only want to delete the objects on page 2
Re: Select and delete an object on last page
Did you use the "Select pages, range:2" then followed by the select objects if page is selected?
It's the real starting point. Then you want to combine those objects on page 2 with your more generic search.
Have a look at this zip, it includes a pdf with objects on page 1 and 2 but the selection is only for those on page 2
https://fromsmash.com/z29sCh.PMt-ct
It's the real starting point. Then you want to combine those objects on page 2 with your more generic search.
Have a look at this zip, it includes a pdf with objects on page 1 and 2 but the selection is only for those on page 2
https://fromsmash.com/z29sCh.PMt-ct
Loïc Aigon
Enfocus PitStop Manager
Enfocus PitStop Manager
Re: Select and delete an object on last page
ERROR
Sorry, the board attachment quota has been reached.
This is the message I get when I try and upload the action. Its a .zip file and only 66KB
I am selecting Page 2 then the items I need to delete. See below
Select Page Range (I select Page 2)
Select Objects with width = 6mm
Select Objects with Height = 6mm
Remove selection
Sorry, the board attachment quota has been reached.
This is the message I get when I try and upload the action. Its a .zip file and only 66KB
I am selecting Page 2 then the items I need to delete. See below
Select Page Range (I select Page 2)
Select Objects with width = 6mm
Select Objects with Height = 6mm
Remove selection
Re: Select and delete an object on last page
You are missing an important part…associating your selection. Otherwise any selection discards the preceeding one!

The "OR" depends if you need that the width and height MUST be respected for the object (the it would be a AND) or if only one of the two is sufficient (then it's a OR)
The last AND is necessary to condition your search only to the objects found in page 2
The beginning of your action list probably need some logical operators too.

The "OR" depends if you need that the width and height MUST be respected for the object (the it would be a AND) or if only one of the two is sufficient (then it's a OR)
The last AND is necessary to condition your search only to the objects found in page 2
The beginning of your action list probably need some logical operators too.
Loïc Aigon
Enfocus PitStop Manager
Enfocus PitStop Manager
Re: Select and delete an object on last page
Yes I agree about the logical part of the beginning. The reason it's like it is, is because it worked. The last bit doesn't though, if that makes sense.
I will give this a go and post if it works.
I am on leave next week so it will be the week after that I have a look at it.
Thank you for all your advice.
I will give this a go and post if it works.
I am on leave next week so it will be the week after that I have a look at it.
Thank you for all your advice.
Re: Select and delete an object on last page
All working now.
I had the last set of actions in the wrong order.
Here is a link for the action list
https://we.tl/t-1QQpGWk2ud
I had the last set of actions in the wrong order.
Here is a link for the action list
https://we.tl/t-1QQpGWk2ud