WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How can I find "binary tags" in a .PPT file using PPT 2007?

 
Goto page Previous  1, 2, 3
   Home -> Office -> General Discussions RSS
Next:  How do I insert a required space in powerpoint?  
Author Message
John Wilson

External


Since: Jul 08, 2006
Posts: 2236



(Msg. 9) Posted: Mon Sep 01, 2008 8:15 pm
Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 2007? [Login to view extended thread Info.]
Archived from groups: microsoft>public>powerpoint (more info?)

And now that Steve has located the names

Sub zappem()
With ActivePresentation.Tags
..Delete ("___PPTMAC11")
..Delete ("___PPT2001")
..Delete ("___PPT12")
End With
End Sub

The other three tags should be there either so you might want to zap them
too! Strangely in PPT2007 code my count was 5 (not 6) and like Steve in 2003
it was 6
--

Amazing PPT Hints, Tips and Tutorials

http://www.pptalchemy.co.uk/powerpoint_hints_and_tips_tutorials.html

email john AT technologytrish.co.uk


"Steve Rindsberg" wrote:

> In article <0F528807-9361-4AF4-A1CA-31D65726A978 DeleteThis @microsoft.com>, Dave Jenkins
> wrote:
> > Take a look at this test file: http://www.mediafire.com/?ezcj9a9abnh
>
> Worth a thousand words. <g>
>
> If you open that and look at the PRESENTATION's .Tags.Count, you'll get 6.
>
> If you write a little code to delete them all, you'll delete YOUR tags but 3
> will still be left.
>
> Open the untouched pres in 2003 and look at the pres.xml file in the Script
> Editor and you'll see this
>
> <p:tag name="___PPT2001" type="binary" datasize="68" dataoffset="6"/>
> <p:tag name="___PPTMAC11" type="binary" datasize="1562" dataoffset="7"/>
> <p:tag name="ALREADYOPENEDONCE" type="string" value="-1"/>
> <p:tag name="PREVIOUS_ACTIVE_SLIDE" type="string" value="567"/>
> <p:tag name="RESTARTSLIDENUMBER" type="string" value="1"/>
> <p:tag name="___PPT12" type="binary" datasize="9" dataoffset="8"/>
>
> Delete the ones listed as binary, let it update when you close the script
> editor, save as PPT. NOW when you open in 2007 and save as PPTX, you get no
> backchat.
>
> So the questions are:
>
> - Where did the mystery tags come from? (something to do with Mac, apparently)
>
> - And how do we squeeze 'em out of the file?
>
> -----------------------------------------
> Steve Rindsberg, PPT MVP
> PPT FAQ: www.pptfaq.com
> PPTools: www.pptools.com
> ================================================
> Live and in personable in the Help Center at PowerPoint Live
> Sept 21-24, San Diego CA, USA
> www.pptlive.com
>
>
Back to top
Login to vote
John Wilson

External


Since: Jul 08, 2006
Posts: 2236



(Msg. 10) Posted: Mon Sep 01, 2008 8:15 pm
Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 2007? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I missed you reply - obviously don't delete the other three tags!!!
--

Amazing PPT Hints, Tips and Tutorials

http://www.pptalchemy.co.uk/powerpoint_hints_and_tips_tutorials.html

email john AT technologytrish.co.uk


"John Wilson" wrote:

> And now that Steve has located the names
>
> Sub zappem()
> With ActivePresentation.Tags
> .Delete ("___PPTMAC11")
> .Delete ("___PPT2001")
> .Delete ("___PPT12")
> End With
> End Sub
>
> The other three tags should be there either so you might want to zap them
> too! Strangely in PPT2007 code my count was 5 (not 6) and like Steve in 2003
> it was 6
> --
>
> Amazing PPT Hints, Tips and Tutorials
>
> http://www.pptalchemy.co.uk/powerpoint_hints_and_tips_tutorials.html
>
> email john AT technologytrish.co.uk
>
>
> "Steve Rindsberg" wrote:
>
> > In article <0F528807-9361-4AF4-A1CA-31D65726A978.DeleteThis@microsoft.com>, Dave Jenkins
> > wrote:
> > > Take a look at this test file: http://www.mediafire.com/?ezcj9a9abnh
> >
> > Worth a thousand words. <g>
> >
> > If you open that and look at the PRESENTATION's .Tags.Count, you'll get 6.
> >
> > If you write a little code to delete them all, you'll delete YOUR tags but 3
> > will still be left.
> >
> > Open the untouched pres in 2003 and look at the pres.xml file in the Script
> > Editor and you'll see this
> >
> > <p:tag name="___PPT2001" type="binary" datasize="68" dataoffset="6"/>
> > <p:tag name="___PPTMAC11" type="binary" datasize="1562" dataoffset="7"/>
> > <p:tag name="ALREADYOPENEDONCE" type="string" value="-1"/>
> > <p:tag name="PREVIOUS_ACTIVE_SLIDE" type="string" value="567"/>
> > <p:tag name="RESTARTSLIDENUMBER" type="string" value="1"/>
> > <p:tag name="___PPT12" type="binary" datasize="9" dataoffset="8"/>
> >
> > Delete the ones listed as binary, let it update when you close the script
> > editor, save as PPT. NOW when you open in 2007 and save as PPTX, you get no
> > backchat.
> >
> > So the questions are:
> >
> > - Where did the mystery tags come from? (something to do with Mac, apparently)
> >
> > - And how do we squeeze 'em out of the file?
> >
> > -----------------------------------------
> > Steve Rindsberg, PPT MVP
> > PPT FAQ: www.pptfaq.com
> > PPTools: www.pptools.com
> > ================================================
> > Live and in personable in the Help Center at PowerPoint Live
> > Sept 21-24, San Diego CA, USA
> > www.pptlive.com
> >
> >
Back to top
Login to vote
Steve Rindsberg

External


Since: Apr 02, 2004
Posts: 5126



(Msg. 11) Posted: Mon Sep 01, 2008 8:15 pm
Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 2007? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

What's weird is that PPT/the OM won't reveal the names.
And with the script editor gone from 2007, no way to get at them from there, at
least none that I can think of.



In article <C3E90BD1-A131-4016-8EB4-92FAE31D9177 RemoveThis @microsoft.com>, John Wilson
wrote:
> And now that Steve has located the names
>
> Sub zappem()
> With ActivePresentation.Tags
> ..Delete ("___PPTMAC11")
> ..Delete ("___PPT2001")
> ..Delete ("___PPT12")
> End With
> End Sub
>
> The other three tags should be there either so you might want to zap them
> too! Strangely in PPT2007 code my count was 5 (not 6) and like Steve in 2003
> it was 6
>

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
Live and in personable in the Help Center at PowerPoint Live
Sept 21-24, San Diego CA, USA
www.pptlive.com
Back to top
Login to vote
Dave Jenkins

External


Since: Mar 17, 2005
Posts: 131



(Msg. 12) Posted: Mon Sep 01, 2008 8:15 pm
Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 2007? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Seems to me that we might be safe in deleteing the ones the OM says have a
null name, dont ya think? Of what use would a tag with no name and no value
be? That is, is it even conceivable that someplace, somewhere, someone is
counting on tags of that ilk?

Is it not exceedingly weird that in looking at the .PPT file in 2007 it says
that there are 5 tags, and in looking at identically the same file in 2003,
it says there are 6? What in the world is up with that?

Also, your script file exposes a lot of stuff that's not in the OM (AFAIK) -
where is all that stored? Are "datasize," "type," et al. just some secret
properties?

And another thing, while I'm still cranky: What kind of low-budget error
message is it that will warn you that your file has EITHER hyperlinks OR
binary tags? How hard would it have been to create TWO individual errors -
one for each condition? At the very minimum they could have supplied
instructions on how to tell which of thse conditions was causing the error.

Thanks for looking at this, Glen, John and Steve!

--
Dave Jenkins
K5KX


"Steve Rindsberg" wrote:

> What's weird is that PPT/the OM won't reveal the names.
> And with the script editor gone from 2007, no way to get at them from there, at
> least none that I can think of.
>
>
>
> In article <C3E90BD1-A131-4016-8EB4-92FAE31D9177.RemoveThis@microsoft.com>, John Wilson
> wrote:
> > And now that Steve has located the names
> >
> > Sub zappem()
> > With ActivePresentation.Tags
> > ..Delete ("___PPTMAC11")
> > ..Delete ("___PPT2001")
> > ..Delete ("___PPT12")
> > End With
> > End Sub
> >
> > The other three tags should be there either so you might want to zap them
> > too! Strangely in PPT2007 code my count was 5 (not 6) and like Steve in 2003
> > it was 6
> >
>
> -----------------------------------------
> Steve Rindsberg, PPT MVP
> PPT FAQ: www.pptfaq.com
> PPTools: www.pptools.com
> ================================================
> Live and in personable in the Help Center at PowerPoint Live
> Sept 21-24, San Diego CA, USA
> www.pptlive.com
>
>
Back to top
Login to vote
Steve Rindsberg

External


Since: Apr 02, 2004
Posts: 5126



(Msg. 13) Posted: Mon Sep 01, 2008 9:39 pm
Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 2007? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <1189ECDC-A939-4C6D-80CE-41CFD6DCED14.DeleteThis@microsoft.com>, Dave Jenkins
wrote:
> Seems to me that we might be safe in deleteing the ones the OM says have a
> null name, dont ya think? Of what use would a tag with no name and no value
> be? That is, is it even conceivable that someplace, somewhere, someone is
> counting on tags of that ilk?

I'm sure they're there for a reason.

>
> Is it not exceedingly weird that in looking at the .PPT file in 2007 it says
> that there are 5 tags, and in looking at identically the same file in 2003,
> it says there are 6? What in the world is up with that?

Not a clue.

> Also, your script file exposes a lot of stuff that's not in the OM (AFAIK) -
> where is all that stored? Are "datasize," "type," et al. just some secret
> properties?

See above. That's not really script ... it's just the XML/HTML that PPT 2003
makes. You can view it in script editor though. Saves arfing out HTML and
rooting around in all those files.

> And another thing, while I'm still cranky: What kind of low-budget error
> message is it that will warn you that your file has EITHER hyperlinks OR
> binary tags? How hard would it have been to create TWO individual errors -
> one for each condition? At the very minimum they could have supplied
> instructions on how to tell which of thse conditions was causing the error.

Probably written by the same [expletive_deleted] as wrote "File not found".


-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
Live and in personable in the Help Center at PowerPoint Live
Sept 21-24, San Diego CA, USA
www.pptlive.com
Back to top
Login to vote
Enric Mañas

External


Since: Aug 01, 2008
Posts: 12



(Msg. 14) Posted: Tue Sep 02, 2008 11:42 am
Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 2007? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> And with the script editor gone from 2007, no way to get at them from
> there, at least none that I can think of.

Shyam's ToolBox to the rescue...

Toolbox > Developer > Erase Tag Info... Presentation Tag Info... etc...

Wink

(ToolBox also says Total tags are 6 in 2003, 5 in 2007)

Very cordialmente

Enric
--
Enric Mañas [PowerPoint MVP]



"Steve Rindsberg" <abuse DeleteThis @localhost.com> escribió en el mensaje
news:VA.00004354.39af6ffd@localhost.com...
> What's weird is that PPT/the OM won't reveal the names.
> And with the script editor gone from 2007, no way to get at them from
> there, at
> least none that I can think of.
>
>
>
> In article <C3E90BD1-A131-4016-8EB4-92FAE31D9177 DeleteThis @microsoft.com>, John
> Wilson
> wrote:
>> And now that Steve has located the names
>>
>> Sub zappem()
>> With ActivePresentation.Tags
>> ..Delete ("___PPTMAC11")
>> ..Delete ("___PPT2001")
>> ..Delete ("___PPT12")
>> End With
>> End Sub
>>
>> The other three tags should be there either so you might want to zap them
>> too! Strangely in PPT2007 code my count was 5 (not 6) and like Steve in
>> 2003
>> it was 6
>>
>
> -----------------------------------------
> Steve Rindsberg, PPT MVP
> PPT FAQ: www.pptfaq.com
> PPTools: www.pptools.com
> ================================================
> Live and in personable in the Help Center at PowerPoint Live
> Sept 21-24, San Diego CA, USA
> www.pptlive.com
>
Back to top
Login to vote
Enric Mañas

External


Since: Aug 01, 2008
Posts: 12



(Msg. 15) Posted: Tue Sep 02, 2008 11:52 am
Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 2007? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Dave,

http://skp.mvps.org/toolbox/index.html

free time-limited trial version

1. I don't like the Arial Unicode there (it is not necessary)
2. Why is the notes master in German?
3. The <Nº> in notes master is "suspicious" to me...

Don't go back and forth 2003 & 2007, and if PowerPoint:mac is also in the
equation... all will be worse...

Wink

Very cordialmente

Enric
--
Enric Mañas [PowerPoint MVP]



"Dave Jenkins" <david.f.jenkins RemoveThis @usa.net.(spam-ugh!)> escribió en el mensaje
news:1189ECDC-A939-4C6D-80CE-41CFD6DCED14@microsoft.com...
> Seems to me that we might be safe in deleteing the ones the OM says have a
> null name, dont ya think? Of what use would a tag with no name and no
> value
> be? That is, is it even conceivable that someplace, somewhere, someone is
> counting on tags of that ilk?
>
> Is it not exceedingly weird that in looking at the .PPT file in 2007 it
> says
> that there are 5 tags, and in looking at identically the same file in
> 2003,
> it says there are 6? What in the world is up with that?
>
> Also, your script file exposes a lot of stuff that's not in the OM
> (AFAIK) -
> where is all that stored? Are "datasize," "type," et al. just some secret
> properties?
>
> And another thing, while I'm still cranky: What kind of low-budget error
> message is it that will warn you that your file has EITHER hyperlinks OR
> binary tags? How hard would it have been to create TWO individual
> errors -
> one for each condition? At the very minimum they could have supplied
> instructions on how to tell which of thse conditions was causing the
> error.
>
> Thanks for looking at this, Glen, John and Steve!
>
> --
> Dave Jenkins
> K5KX
>
>
> "Steve Rindsberg" wrote:
>
>> What's weird is that PPT/the OM won't reveal the names.
>> And with the script editor gone from 2007, no way to get at them from
>> there, at
>> least none that I can think of.
>>
>>
>>
>> In article <C3E90BD1-A131-4016-8EB4-92FAE31D9177 RemoveThis @microsoft.com>, John
>> Wilson
>> wrote:
>> > And now that Steve has located the names
>> >
>> > Sub zappem()
>> > With ActivePresentation.Tags
>> > ..Delete ("___PPTMAC11")
>> > ..Delete ("___PPT2001")
>> > ..Delete ("___PPT12")
>> > End With
>> > End Sub
>> >
>> > The other three tags should be there either so you might want to zap
>> > them
>> > too! Strangely in PPT2007 code my count was 5 (not 6) and like Steve in
>> > 2003
>> > it was 6
>> >
>>
>> -----------------------------------------
>> Steve Rindsberg, PPT MVP
>> PPT FAQ: www.pptfaq.com
>> PPTools: www.pptools.com
>> ================================================
>> Live and in personable in the Help Center at PowerPoint Live
>> Sept 21-24, San Diego CA, USA
>> www.pptlive.com
>>
>>
Back to top
Login to vote
Dave Jenkins

External


Since: Mar 17, 2005
Posts: 131



(Msg. 16) Posted: Tue Sep 02, 2008 11:52 am
Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 2007? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Enric Mañas" wrote:

> Dave,
>
> http://skp.mvps.org/toolbox/index.html
>
> free time-limited trial version
>
> 1. I don't like the Arial Unicode there (it is not necessary)

Not sure what you mean with that comment - this clinet uses Arial a lot.
Where did you see it that it concerned you?

> 2. Why is the notes master in German?

Most of the client personnel using these PPT files are German. I'm
presuming that they will be creating their speaker notes using a lot words
that will be fmailiar to them, and hence want to specify a German
dictionary. Why - do you see that as an impediment to proper processing of
their templates?

> 3. The <Nº> in notes master is "suspicious" to me...

Where do you see that?


>
> Don't go back and forth 2003 & 2007, and if PowerPoint:mac is also in the
> equation... all will be worse...
>
> Wink
>
> Very cordialmente
>
> Enric
> --
> Enric Mañas [PowerPoint MVP]
>
>
>
> "Dave Jenkins" <david.f.jenkins.TakeThisOut@usa.net.(spam-ugh!)> escribió en el mensaje
> news:1189ECDC-A939-4C6D-80CE-41CFD6DCED14@microsoft.com...
> > Seems to me that we might be safe in deleteing the ones the OM says have a
> > null name, dont ya think? Of what use would a tag with no name and no
> > value
> > be? That is, is it even conceivable that someplace, somewhere, someone is
> > counting on tags of that ilk?
> >
> > Is it not exceedingly weird that in looking at the .PPT file in 2007 it
> > says
> > that there are 5 tags, and in looking at identically the same file in
> > 2003,
> > it says there are 6? What in the world is up with that?
> >
> > Also, your script file exposes a lot of stuff that's not in the OM
> > (AFAIK) -
> > where is all that stored? Are "datasize," "type," et al. just some secret
> > properties?
> >
> > And another thing, while I'm still cranky: What kind of low-budget error
> > message is it that will warn you that your file has EITHER hyperlinks OR
> > binary tags? How hard would it have been to create TWO individual
> > errors -
> > one for each condition? At the very minimum they could have supplied
> > instructions on how to tell which of thse conditions was causing the
> > error.
> >
> > Thanks for looking at this, Glen, John and Steve!
> >
> > --
> > Dave Jenkins
> > K5KX
> >
> >
> > "Steve Rindsberg" wrote:
> >
> >> What's weird is that PPT/the OM won't reveal the names.
> >> And with the script editor gone from 2007, no way to get at them from
> >> there, at
> >> least none that I can think of.
> >>
> >>
> >>
> >> In article <C3E90BD1-A131-4016-8EB4-92FAE31D9177.TakeThisOut@microsoft.com>, John
> >> Wilson
> >> wrote:
> >> > And now that Steve has located the names
> >> >
> >> > Sub zappem()
> >> > With ActivePresentation.Tags
> >> > ..Delete ("___PPTMAC11")
> >> > ..Delete ("___PPT2001")
> >> > ..Delete ("___PPT12")
> >> > End With
> >> > End Sub
> >> >
> >> > The other three tags should be there either so you might want to zap
> >> > them
> >> > too! Strangely in PPT2007 code my count was 5 (not 6) and like Steve in
> >> > 2003
> >> > it was 6
> >> >
> >>
> >> -----------------------------------------
> >> Steve Rindsberg, PPT MVP
> >> PPT FAQ: www.pptfaq.com
> >> PPTools: www.pptools.com
> >> ================================================
> >> Live and in personable in the Help Center at PowerPoint Live
> >> Sept 21-24, San Diego CA, USA
> >> www.pptlive.com
> >>
> >>
>
>
>
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> General Discussions All times are: Eastern Time (US & Canada) (change)
Goto page Previous  1, 2, 3
Page 2 of 3

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET