Ghost groups !
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Ghost groups !
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
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
https://alternatic.ch
Re: Ghost groups !
Jean-Marc.
All seven have the same id???
You see seven different scripts???
What happens if you quit and restart LC?
Craig
All seven have the same id???
You see seven different scripts???
What happens if you quit and restart LC?
Craig
Re: Ghost groups !
Hi Craig,
Very strange, that is the first time I see this case
Jean-Marc
When I get the id of all groups called "grNavigation" by script I get the same id for eachAll seven have the same id???
YesYou see seven different scripts???
That changes nothingWhat happens if you quit and restart LC?
Very strange, that is the first time I see this case
Jean-Marc
https://alternatic.ch
Re: Ghost groups !
Jean-Marc.
So if you execute something like:
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
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
And I suppose that:
Code: Select all
answer the number of groups
This is a good one...
Craig
Re: Ghost groups !
Hi Craig,
Fortutately that is the bg script i use (id 1012)
When I use:
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
No. I get one line with one idYou get those seven id's.
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
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
https://alternatic.ch
Re: Ghost groups !
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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Livecode Opensource Backer
- Posts: 10080
- Joined: Fri Feb 19, 2010 10:17 am
Re: Ghost groups !
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.
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 !
Hi Richmond,
Thank for this.
Jean-Marc
Thank for this.
Interesting I export some groups as png fileI 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,
I can't do that. That is only by search script tools that I can see themI have to select it via the prop inspector and hit the DELETE button on my keyboard.

Jean-Marc
https://alternatic.ch
Re: Ghost groups !
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
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
https://alternatic.ch