Hi,
Understanding how the ‘dictionary’ works is key to grasping how to use applescript, as far as I can tell. But there does not seem to be an easy way to grasp how to understand the dictionary’s way of explaining things.
Take for example, the ‘make:Make a new element’ in the Standard Suite.
‘make’ (this is obvious)
‘new type class’ - where type class is ‘file’ or ‘folder’ or whatever. But where does one find out what variations of type class there are available?
‘at location reference’ - presumeably, in some folder or on the desktop (just another folder, I know). Can I no longer specify where on the desktop I want a file or folder to go?
‘with properties record’ - I know there is the property ‘name:’, but are there any other properties and where I go to find what these other properties are?
Just one other matter with regard to the ‘data size’ command.
I have a file that is 192 KB when I do a Get Info. But when I run a ‘data size’ in applescript I get 428 (presumeably in bytes). I don’t understand this!
It seems to me, understanding how to use dictionaries is not so easy. I can’t seem to grasp how to interpret it, how it all fits together so that one can create sensible applescript programs that work!
Any help gratefully accepted. javascript:emoticon(‘:D’)
Michael.