IDE Scripting - Application Identifier

Hi!

Is there a way to setup Application Identifier via IDE Scripting?
(Build Settings / Shared / Build / Application Identifier)

Best regards,

Alex

PropertyValue(“App.Application Identifier”) = “whatever new value”
print PropertyValue(“App.Application Identifier”)

Hi @Norman Palardy !

Thank you very much.

Could you please tell me where is this information on documentation?

Best regards,

Alex

Not sure that all the readable / writeable properties are listed anywhere in the docs as there are a lot
They also vary from project type to project type
Usually the build settings you can refer to using “App.” (the label on the property beside the property you want to alter)
Thats why “App.Application Identifier” in this case

http://developer.xojo.com/userguide/ide-scripting-project-commands$PropertyValue

The App. prefix is a legacy compatibility thing

[quote=332926:@Norman Palardy]Not sure that all the readable / writeable properties are listed anywhere in the docs as there are a lot
They also vary from project type to project type
Usually the build settings you can refer to using “App.” (the label on the property beside the property you want to alter)
Thats why “App.Application Identifier” in this case

http://developer.xojo.com/userguide/ide-scripting-project-commands$PropertyValue

The App. prefix is a legacy compatibility thing[/quote]

ok, thank you!

but the “App.” is not allways used… For example…

It’s not PropertyValue(“app.port”)=8080
it’s BuildWebPort = 8080

It’s not PropertyValue(“App.Major Version”) = 123
it’s PropertyValue(“App.MajorVersion”) = 123

It’s important the documentation are allways up-to-date!

Best regards,

Alex

Make sure you file a bug report about this missing aspect of the IDE scripting documentation

It’s worth noting that if you turn on script recording and then change the property in the ide, the correct syntax will be put in the editor for you.

Really? Are you sure? Really Really sure?

bug’s movie

I wonder how stupid I must be to not be able to record a simple script!

@Greg O’Lone …

Well… i think if nobody replyed, is because i’m doing something very, very wrong!!!

Some things dont record because they aren’t done using an action
As I find these and can fix them I do so this works in more & more cases - but there are a few that are really tricky to deal with

So it is possible recording wont record what you need

[quote=333234:@Norman Palardy]Some things dont record because they aren’t done using an action
As I find these and can fix them I do so this works in more & more cases - but there are a few that are really tricky to deal with

So it is possible recording wont record what you need[/quote]

Ok Norman!

Thank you for your time and reply.

Best regards,

Alex