Rebuilding some apps from 10.8 to 10.11 and using XCode 7.3.1. I used Myriad Helpers in several of them but it looks like some functions have been deprecated that they used so I’m getting some warnings. Are there new versions of Myriad Helpers out there?
Thanks,
It should still work, but it’s been superseded by the BridgePlus script library. You can either add the framework from that to your project, or include it as a script library.
Okay I’m new to BridgePlus so in process of ordering Everyday Applescript third additions…
In short when I figure out how to add the framework to Xcode does this make the NSWindow+MyriadHelpers, NSOpenSave+MyriadHelpers, NSAlert+MyriadHelpers warnings go away or do I rewrite code to work with BridgePlus?
I’m stuck on adding BridgePlus.framework to my project and getting it to even build.
Thanks,
I’m sorry, I’ve misled you – BridgePlus and Myriad Helpers are unrelated.
Download the latest versions here:
MyriadHelpers version 2.0.1 doesn’t seem to have the upgrades needed for El Capitan.
Below are the warning I get…
NSWindow+MyriadHelpers.m
‘beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:’ is deprecated: first deprecated in OS X 10.10 - Use -[NSWindow beginSheet:completionHandler:] instead
NSOpenSave+MyriadHelpers.m
‘kCFURLHFSPathStyle’ is deprecated: first deprecated in OS X 10.9
NSAlert+MyriadHelpers.m
‘beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:’ is deprecated: first deprecated in OS X 10.10 - Use -beginSheetModalForWindow:completionHandler: instead
NSAlert+MyriadHelpers.m
‘NSRunStoppedResponse’ is deprecated: first deprecated in OS X 10.10 - Use NSModalResponseStop instead
It looks like I haven’t uploaded the latest version – give me a day or so.
But you can safely ignore those warnings – those methods still work fine. (and the day kCFURLHFSPathStyle disappears, HFS paths will stop working.)
OK, you can download Myriad Helpers version 2.0.2 here:
www.macosxautomation.com/applescript/apps/helpers.html
Okay, thanks for supplying them! They are helpful.
Moving projects to OS Sierra. When using the NSOpenSave+MyriadHelpers there is a lot of data logged to the console. It doesn’t seem to affect performance at this point but, wonder if it’s worth worrying about.
Here’s a small sample of what gets logged…
2017-03-31 13:51:57.775532-0400 Myriad Helpers[2689:1945876] afpGetIntegerPref: CFPreferencesCopyValue failed for afp_host_prefs_version
2017-03-31 13:51:57.775568-0400 Myriad Helpers[2689:1945876] CheckPrefs: Host Prefs
2017-03-31 13:51:57.775596-0400 Myriad Helpers[2689:1945876] afpGetBooleanPref: CFPreferencesCopyValue failed for afp_reconnect_allow
2017-03-31 13:51:57.775615-0400 Myriad Helpers[2689:1945876] afp_reconnect_allow: Yes
2017-03-31 13:51:57.775637-0400 Myriad Helpers[2689:1945876] afpGetIntegerPref: CFPreferencesCopyValue failed for afp_mount_defaultFlags
2017-03-31 13:51:57.775655-0400 Myriad Helpers[2689:1945876] afp_mount_defaultFlags: 0
2017-03-31 13:51:57.775676-0400 Myriad Helpers[2689:1945876] afpGetIntegerPref: CFPreferencesCopyValue failed for afp_reconnect_interval
2017-03-31 13:51:57.775697-0400 Myriad Helpers[2689:1945876] afpGetIntegerPref: CFPreferencesCopyValue failed for afp_reconnect_max_time
2017-03-31 13:51:57.775715-0400 Myriad Helpers[2689:1945876] afp_reconnect_interval: 10, afp_reconnect_max_time: 600 secs
2017-03-31 13:51:57.775735-0400 Myriad Helpers[2689:1945876] afpGetIntegerPref: CFPreferencesCopyValue failed for afp_debug_level
2017-03-31 13:51:57.775762-0400 Myriad Helpers[2689:1945876] afpGetBooleanPref: CFPreferencesCopyValue failed for afp_debug_syslog
2017-03-31 13:51:57.775843-0400 Myriad Helpers[2689:1945876] afp_debug_level: 5, afp_debug_syslog: Yes
2017-03-31 13:51:57.775870-0400 Myriad Helpers[2689:1945876] afpGetIntegerPref: CFPreferencesCopyValue failed for afp_host_prefs_version
2017-03-31 13:51:57.775889-0400 Myriad Helpers[2689:1945876] afp_host_prefs_version: 15
2017-03-31 13:51:57.775911-0400 Myriad Helpers[2689:1945876] afpGetIntegerPref: CFPreferencesCopyValue failed for afp_active_timeout
2017-03-31 13:51:57.775933-0400 Myriad Helpers[2689:1945876] afpGetIntegerPref: CFPreferencesCopyValue failed for afp_idle_timeout
2017-03-31 13:51:57.775951-0400 Myriad Helpers[2689:1945876] afp_active_timeout: 0, afp_idle_timeout: 0
2017-03-31 13:51:57.775973-0400 Myriad Helpers[2689:1945876] afpGetIntegerPref: CFPreferencesCopyValue failed for afp_wan_threshold
2017-03-31 13:51:57.775994-0400 Myriad Helpers[2689:1945876] afpGetIntegerPref: CFPreferencesCopyValue failed for afp_wan_quantum
2017-03-31 13:51:57.776051-0400 Myriad Helpers[2689:1945876] afp_wan_threshold: 0, afp_wan_quantum: 0
2017-03-31 13:51:57.776076-0400 Myriad Helpers[2689:1945876] afpGetIntegerPref: CFPreferencesCopyValue failed for afp_no_volChange_caching
2017-03-31 13:51:57.776099-0400 Myriad Helpers[2689:1945876] afpGetIntegerPref: CFPreferencesCopyValue failed for afp_no_kQueues
2017-03-31 13:51:57.776121-0400 Myriad Helpers[2689:1945876] afpGetIntegerPref: CFPreferencesCopyValue failed for afp_no_caseSensitiveVols
2017-03-31 13:51:57.776139-0400 Myriad Helpers[2689:1945876] afp_no_volChange_caching: 1, afp_no_kQueues: 0, afp_no_caseSensitiveVols: 0
2017-03-31 13:51:57.776160-0400 Myriad Helpers[2689:1945876] afpGetIntegerPref: CFPreferencesCopyValue failed for afp_minFileCache
You can ignore it. There’s a lot AFD-related crap being logged these days.