When running the following script,
- on creating the new document, the bundle ID takes the name of the saved file (something like “com.ionah.save-ID-bug”
- on setting the ID, it takes the correct value: “com.ionah.testID”
- when saving the doc, the ID returns to the original string.
set thePath to "" & (path to desktop) & "save ID bug.scptd"
tell application id "asDB"
activate
save (make new document) in thePath as bundled compiled script
set tab display mode of document 1 to resources tab
set bundle ID of document 1 to "com.ionah.testID" --> this string appears in
delay 2
save document 1
end tell
Is it a bug?