Javacast the 0 as short and the path as a string and see how that goes. example: opendesign(javacast('string',thisfile), javacast('short',0))
On 3/25/15, 9:45 AM, "Charles Sheehan-Miles" <char...@sheehanmiles.net> wrote: > >That was my first thought too. But the documentation is pretty clear >that it?s looking for the file path, and the dump shows this: > >OpenDesign(java.lang.String, short) > > > > >> On Mar 25, 2015, at 9:23 AM, Bobby <bo...@acoderslife.com> wrote: >> >> >> I gave the benefit of the doubt but that is also my primary suspicion >> (file object vs path). >> >> On 3/25/15, 9:17 AM, "Byron Mann" <byronos...@gmail.com> wrote: >> >>> >>> I know I've done things like pass a file path (string) instead of file >>> object, so make sure the type the method wants is string or otherwise. >>> >>> So might look if the function is this: >>> >>> OpenDesign(File, Int) >>> >>> as opposed to: >>> >>> OpenDesign(String, Int) >>> >>> ~Byron >>> >>> >>> On Wed, Mar 25, 2015 at 9:08 AM, Bobby <bo...@acoderslife.com> wrote: >>> >>>> >>>> example: opendesign(javacast('string',thisfile), javacast('int',0)) >>>> >>>> >>> >>> >>> >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360293 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm