Page 1 of 1
Ghost groups !
Posted: Tue May 05, 2015 6:26 pm
by jmburnod
Hi All,
I don't know how i have made it but it seems I have created 7 bg groups called "grNavigation".
I can see their script when I search an handler by the search tools included in the script window.
BUT
Not when I search it by the Find and replace of the edit menu. The result return only one group called "grNavigation".
And not in the project browser
I checked the id of all groups called "grNavigation" and all have the same id for each group called "grNavigation".
Is there someone who has met this strange behavior ?
Best regards
Jean-Marc
Re: Ghost groups !
Posted: Tue May 05, 2015 10:08 pm
by dunbarx
Jean-Marc.
All seven have the same id???
You see seven different scripts???
What happens if you quit and restart LC?
Craig
Re: Ghost groups !
Posted: Tue May 05, 2015 10:31 pm
by jmburnod
Hi Craig,
All seven have the same id???
When I get the id of all groups called "grNavigation" by script I get the same id for each
You see seven different scripts???
Yes
What happens if you quit and restart LC?
That changes nothing
Very strange, that is the first time I see this case
Jean-Marc
Re: Ghost groups !
Posted: Tue May 05, 2015 10:49 pm
by dunbarx
Jean-Marc.
So if you execute something like:
Code: Select all
repeat with y = 1 to the number of groups
put the id of group y into line y of groupIDList
end repeat
You get those seven id's.
And I suppose that:
gives you 7? (Never mind any other groups that might exist on the card)
This is a good one...
Craig
Re: Ghost groups !
Posted: Wed May 06, 2015 5:57 pm
by jmburnod
Hi Craig,
You get those seven id's.
No. I get one line with one id
Fortutately that is the bg script i use (id 1012)
When I use:
Code: Select all
on allGrInstack pName
put empty into rt
set the lockmessages to true
put the num of cds into nbc
repeat with i = 1 to nbc
open cd i
repeat with z = 1 to the num of groups of cd i
put i & "," & the short name of group z of cd i & "," & the short id of group z of cd i & cr after rt
wait 1 milliseconds
end repeat
end repeat
set the lockmessages to false
if pName <> empty then
filter rt with "*" & pName & "*"
end if
put rt
end allGrInstack
I get this (I have 10 cds with bg group "grNavigation"
1,grNavigation,1012
2,grNavigation,1012
3,grNavigation,1012
4,grNavigation,1012
5,grNavigation,1012
6,grNavigation,1012
7,grNavigation,1012
8,grNavigation,1012
9,grNavigation,1012
10,grNavigation,1012
I put "--" before all lines of all others groups called "grNavigation".
My stack works but I want cleaning it...
Jean-Marc
Re: Ghost groups !
Posted: Wed May 06, 2015 6:03 pm
by jacque
Those are all instances of the same group, placed on each card. They are not different groups. Your script asked for the groups on each card, and that will include the background group that is placed.
Re: Ghost groups !
Posted: Wed May 06, 2015 7:48 pm
by richmond62
I have had this sort of problem when I have made a group to export something as a PNG image, have then ungrouped the group and deleted its component parts,
the group remains . . . as a result I have to select it via the prop inspector and hit the DELETE button on my keyboard.
Re: Ghost groups !
Posted: Wed May 06, 2015 8:51 pm
by jmburnod
Hi Richmond,
Thank for this.
I have had this sort of problem when I have made a group to export something as a PNG image, have then ungrouped the group and deleted its component parts,
Interesting I export some groups as png file
I have to select it via the prop inspector and hit the DELETE button on my keyboard.
I can't do that. That is only by search script tools that I can see them
Jean-Marc
Re: Ghost groups !
Posted: Wed Jun 24, 2015 5:46 pm
by jmburnod
Hi All,
I changed the name of group I can see in project browser and the ghost group has disapeared.
But I discover an other ghost group I can't delete by this way
I don't know yet I made it
Best regards
Jean-Marc