I need my users to enter their username and job title and I have tried using osascript for this to call an AppleScript but I push it to Machine been provisioned in Singapore or Australia the dialog box never comes up any help will be appreciated. please see error bellow
Running script Gatherusecominfo...
Script exit code: 0
Script result: 2020-05-01 07:17:33.577 osascript[3063:22256] -[_NSCFConstantString objectAtIndex:]: unrecognized selector sent to instance 0x7fff89134ce0
2020-05-01 07:17:33.581 osascript[3063:22256] Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFConstantString objectAtIndex:]: unrecognized selector sent to instance 0x7fff89134ce0'
First throw call stack:
(
0 CoreFoundation 0x00007fff3162bd07 exceptionPreprocess 250
1 libobjc.A.dylib 0x00007fff6a1b65bf objc_exception_throw 48
2 CoreFoundation 0x00007fff316aac97 -[NSObject(NSObject) __retain_OA] 0
3 CoreFoundation 0x00007fff3159057b ___forwarding 1427
4 CoreFoundation 0x00007fff3158ff58 CF_forwarding_prep_0 120
5 CoreFoundation 0x00007fff3155f097 CFArrayContainsValue 197
6 HIServices 0x00007fff2f8717b9 TransformProcessType 927
7 osascript 0x0000000106d4b02c osascript 12332
8 HIToolbox 0x00007fff302817c5 AEInteractWithUser 53
9 StandardAdditions 0x00000001076b310b AEVTgtqpchlt 159
10 AE 0x00007fff32922203 _AppleEventsCheckInAppWithBlock 18103
11 AE 0x00007fff32931c83 AESendMessage 2838
12 AE 0x00007fff3293dfb1 aeSend 355
13 osascript 0x0000000106d49b25 osascript 6949
14 AppleScript 0x00007fff45283342 _Z13ComponentSendPK6AEDescPS_ii 485
15 AppleScript 0x00007fff45294f0a _ZN15TUASApplication4SendEP25TStackFrame_UASRemoteSendP6AEDescS3_hhh 2332
16 AppleScript 0x00007fff452b5ca7 _Z13UASRemoteSendhhhhhPh 548
17 AppleScript 0x00007fff4528e1f0 _Z13UASActor_Sendhhh 383
18 AppleScript 0x00007fff452c1402 _Z13UASValue_Sendhh14TUASClassIndexh 326
19 AppleScript 0x00007fff45298ff9 _Z11UASExecute1v 288 *
