• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shake Automation Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shake Automation Question


  • Subject: Re: Shake Automation Question
  • From: Brian <email@hidden>
  • Date: Wed, 23 Feb 2005 02:28:44 +0100

Hello,

Editing the Qmaster file in a text editor don't work because this is not a text file... If you open it with an Hexadecimal editor, you will see that just before the command (that is in ascii, text format), there is an hexa value corresponding to the count of characters of the command (from "<command"(...) to (...)"</command>") :

Here is a part of your file, 'range' is the 'address' of the selection I made :

Range[85:8F] : 0170 3C63 6F6D 6D61 6E64

in ascii, 3C63 6F6D 6D61 6E64 = "<command". The word '0170', is the number of characters of the command, in decimal format, that mean 368 characters.

So, if you just change : minCount="10" to minCount="1000" you have 2 characters "out of the count" and if you don't update the count, Qmaster will not open the file just because bad count = corrupted file. You have to change the count value from 0170 to 0172 (+ 2 characters) if you want this little trick to work... But I don't know how to do it with AppleScript...

Hope this boring message can help someone (who know how to manipulate hexa values in AppleScript) in helping you (and teach me /us !)

Brian
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Shake Automation Question (From: "Robert Pepper" <email@hidden>)

  • Prev by Date: Re: "Couldn't save document"
  • Next by Date: Translating AppleScript to Visual Basic
  • Previous by thread: Shake Automation Question
  • Next by thread: Translating AppleScript to Visual Basic
  • Index(es):
    • Date
    • Thread