Tuesday, December 12, 2017

#1 2016-08-11 01:14:34 pm

FlameCoder
Member
From:: USA
Registered: 2009-10-28
Posts: 82

Myriad Helpers

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,

Offline

 

#2 2016-08-11 06:24:50 pm

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 5199

Re: Myriad Helpers

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.


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

#3 2016-08-16 09:02:30 am

FlameCoder
Member
From:: USA
Registered: 2009-10-28
Posts: 82

Re: Myriad Helpers

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,

Offline

 

#4 2016-08-16 06:35:54 pm

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 5199

Re: Myriad Helpers

I'm sorry, I've misled you -- BridgePlus and Myriad Helpers are unrelated.

Download the latest versions here:


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

#5 2016-08-17 01:09:12 pm

FlameCoder
Member
From:: USA
Registered: 2009-10-28
Posts: 82

Re: Myriad Helpers

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

Offline

 

#6 2016-08-17 06:46:46 pm

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 5199

Re: Myriad Helpers

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.)


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

#7 2016-08-18 02:59:15 am

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 5199

Re: Myriad Helpers

OK, you can download Myriad Helpers version 2.0.2 here:

www.macosxautomation.com/applescript/apps/helpers.html


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

#8 2016-08-18 03:26:51 pm

FlameCoder
Member
From:: USA
Registered: 2009-10-28
Posts: 82

Re: Myriad Helpers

Okay, thanks for supplying them! They are helpful.

Offline

 

#9 2017-03-31 02:56:37 pm

FlameCoder
Member
From:: USA
Registered: 2009-10-28
Posts: 82

Re: Myriad Helpers

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

Offline

 

#10 2017-03-31 06:04:59 pm

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 5199

Re: Myriad Helpers

You can ignore it. There's a lot AFD-related crap being logged these days.


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)