[proFit-list] GetWindowObject?

Dave glasspusher at outofoptions.net
Tue Dec 23 12:17:01 CST 2014


Hi Kurt,
	Thanks. I was missing the “pf.” prefix on the dataType. 

pf.InsertColumns( window = pf.FrontmostWindow(pf.dataType), at = 3, count = 3)

will run without an error now, but it doesn’t insert any columns to, say a 3x3 cell data window.

Dave

> On Dec 23, 2014, at 10:12 AM, proFit Support <profit at quansoft.com> wrote:
> 
> Dear Dave
> 
> Try
> 
> pf.GetWindowObject(window = pf.FrontmostWindow(pf.dataType))
> 
> for getting the frontmost data window. (Note that "dataType" is defined, but only as part of the module pf, so you must prepend "pf.") 
> 
> If you see issues with Apple Script, please report them directly to profit at quansoft.com
> 
> Best regards
> 
> Kurt Sutter
> QuntumSoft
> 
> 
>> On Dec 23, 2014, at 6:20 PM, Dave <glasspusher at outofoptions.net> wrote:
>> 
>> Hi all,
>> 	I’m playing with some Python scripts in 7.0 B4, is there any way to feed GetWindowObject the frontmost window? The scripts don’t seem to recognize dataType as a window type yet.
>> 
>> I’m doing this because Applescript support for B4 doesn’t look to be done yet. Should I just assume this all is still a work in progress and wait?
>> 
>> All I’d like to do for the moment is automate, in the front data window, copy one column to a new column and smooth data in that new column
>> 
>> Thanks for any and all.
>> 
>> Dave
>> 
>> 
>> _______________________________________________
>> proFit-list mailing list
>> proFit-list at quantum-soft.com
>> http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com
> 
> 
> _______________________________________________
> proFit-list mailing list
> proFit-list at quantum-soft.com
> http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com




More information about the proFit-list mailing list