Re: Scrub timeline while mouse is in viewport?

2014-03-07 Thread Christian Gotzinger
Maybe this works too, it's worth a try.

Application.SelectObj("Autodesk.ShotCallers")
Application.DeleteObj()


On Fri, Mar 7, 2014 at 5:42 AM, Cesar Saez  wrote:

> Hi Siew,
> It's a bit of a hack but works ;)
>
> Application.SelectObj("Application")
> Application.SetMarking("PlayControl.Current")
> Application.VirtualSliderTool()
>
> Cheers!
>


Re: Scrub timeline while mouse is in viewport?

2014-03-07 Thread Christian Gotzinger
It may be the hard way, but finding out about this neat trick was worth it.
I had no idea you could do that.


On Fri, Mar 7, 2014 at 3:50 PM, Alan Fregtman wrote:

> You guys are doing it the hard way. There's already a tool for this! Been
> there forever:
>
> *Application.TimeSliderTool()*
>
> (You can map a key to it in the Keyboard Mapping window, in the XSI
> section, it's called "*Time Slider Tool*".)
>
>
>
> On Fri, Mar 7, 2014 at 9:41 AM, Arvid Björn  wrote:
>
>> Nice, I learned a new trick today =)
>>
>>
>> On Fri, Mar 7, 2014 at 12:26 PM, Luc-Eric Rousseau 
>> wrote:
>>
>>> That's a cool trick Cesar.
>>>
>>> Thanks to Brent, Softimage already has that Maya tool built-in; you'll
>>> have to map it in your keymap, it's called "Time Slider Tool"
>>> In the Maya keymap, it's already mapped to the K key
>>>
>>>
>>> On Fri, Mar 7, 2014 at 12:16 AM, Siew Yi Liang 
>>> wrote:
>>> > Hi Cesar:
>>> >
>>> > Ha, really nice! Never thought of doing it that way, here I was
>>> looking at
>>> > trying to grab mouse position! :P
>>> >
>>> > Thanks again for coming to the rescue!
>>> >
>>> > Yours sincerely,
>>> > Siew Yi Liang
>>> >
>>> > On 3/6/2014 8:42 PM, Cesar Saez wrote:
>>> >
>>> > Hi Siew,
>>> > It's a bit of a hack but works ;)
>>> >
>>> > Application.SelectObj("Application")
>>> > Application.SetMarking("PlayControl.Current")
>>> > Application.VirtualSliderTool()
>>> >
>>> > Cheers!
>>> >
>>> >
>>>
>>
>>
>


Re: Scrub timeline while mouse is in viewport?

2014-03-07 Thread Alan Fregtman
You guys are doing it the hard way. There's already a tool for this! Been
there forever:

*Application.TimeSliderTool()*

(You can map a key to it in the Keyboard Mapping window, in the XSI
section, it's called "*Time Slider Tool*".)



On Fri, Mar 7, 2014 at 9:41 AM, Arvid Björn  wrote:

> Nice, I learned a new trick today =)
>
>
> On Fri, Mar 7, 2014 at 12:26 PM, Luc-Eric Rousseau wrote:
>
>> That's a cool trick Cesar.
>>
>> Thanks to Brent, Softimage already has that Maya tool built-in; you'll
>> have to map it in your keymap, it's called "Time Slider Tool"
>> In the Maya keymap, it's already mapped to the K key
>>
>>
>> On Fri, Mar 7, 2014 at 12:16 AM, Siew Yi Liang  wrote:
>> > Hi Cesar:
>> >
>> > Ha, really nice! Never thought of doing it that way, here I was looking
>> at
>> > trying to grab mouse position! :P
>> >
>> > Thanks again for coming to the rescue!
>> >
>> > Yours sincerely,
>> > Siew Yi Liang
>> >
>> > On 3/6/2014 8:42 PM, Cesar Saez wrote:
>> >
>> > Hi Siew,
>> > It's a bit of a hack but works ;)
>> >
>> > Application.SelectObj("Application")
>> > Application.SetMarking("PlayControl.Current")
>> > Application.VirtualSliderTool()
>> >
>> > Cheers!
>> >
>> >
>>
>
>


Re: Scrub timeline while mouse is in viewport?

2014-03-07 Thread Arvid Björn
Nice, I learned a new trick today =)


On Fri, Mar 7, 2014 at 12:26 PM, Luc-Eric Rousseau wrote:

> That's a cool trick Cesar.
>
> Thanks to Brent, Softimage already has that Maya tool built-in; you'll
> have to map it in your keymap, it's called "Time Slider Tool"
> In the Maya keymap, it's already mapped to the K key
>
>
> On Fri, Mar 7, 2014 at 12:16 AM, Siew Yi Liang  wrote:
> > Hi Cesar:
> >
> > Ha, really nice! Never thought of doing it that way, here I was looking
> at
> > trying to grab mouse position! :P
> >
> > Thanks again for coming to the rescue!
> >
> > Yours sincerely,
> > Siew Yi Liang
> >
> > On 3/6/2014 8:42 PM, Cesar Saez wrote:
> >
> > Hi Siew,
> > It's a bit of a hack but works ;)
> >
> > Application.SelectObj("Application")
> > Application.SetMarking("PlayControl.Current")
> > Application.VirtualSliderTool()
> >
> > Cheers!
> >
> >
>


Re: Scrub timeline while mouse is in viewport?

2014-03-07 Thread Siew Yi Liang

Hi Luc-Eric:

Oops, never actually bothered to find out what that command actually does...

Thanks for responding! It works great!

Yours sincerely,
Siew Yi Liang

On 3/7/2014 3:26 AM, Luc-Eric Rousseau wrote:

That's a cool trick Cesar.

Thanks to Brent, Softimage already has that Maya tool built-in; you'll
have to map it in your keymap, it's called "Time Slider Tool"
In the Maya keymap, it's already mapped to the K key


On Fri, Mar 7, 2014 at 12:16 AM, Siew Yi Liang  wrote:

Hi Cesar:

Ha, really nice! Never thought of doing it that way, here I was looking at
trying to grab mouse position! :P

Thanks again for coming to the rescue!

Yours sincerely,
Siew Yi Liang

On 3/6/2014 8:42 PM, Cesar Saez wrote:

Hi Siew,
It's a bit of a hack but works ;)

Application.SelectObj("Application")
Application.SetMarking("PlayControl.Current")
Application.VirtualSliderTool()

Cheers!






Re: Scrub timeline while mouse is in viewport?

2014-03-07 Thread Luc-Eric Rousseau
That's a cool trick Cesar.

Thanks to Brent, Softimage already has that Maya tool built-in; you'll
have to map it in your keymap, it's called "Time Slider Tool"
In the Maya keymap, it's already mapped to the K key


On Fri, Mar 7, 2014 at 12:16 AM, Siew Yi Liang  wrote:
> Hi Cesar:
>
> Ha, really nice! Never thought of doing it that way, here I was looking at
> trying to grab mouse position! :P
>
> Thanks again for coming to the rescue!
>
> Yours sincerely,
> Siew Yi Liang
>
> On 3/6/2014 8:42 PM, Cesar Saez wrote:
>
> Hi Siew,
> It's a bit of a hack but works ;)
>
> Application.SelectObj("Application")
> Application.SetMarking("PlayControl.Current")
> Application.VirtualSliderTool()
>
> Cheers!
>
>


Re: Scrub timeline while mouse is in viewport?

2014-03-06 Thread Siew Yi Liang

Hi Cesar:

Ha, really nice! Never thought of doing it that way, here I was looking 
at trying to grab mouse position! :P


Thanks again for coming to the rescue!

Yours sincerely,
Siew Yi Liang

On 3/6/2014 8:42 PM, Cesar Saez wrote:

Hi Siew,
It's a bit of a hack but works ;)

Application.SelectObj("Application")
Application.SetMarking("PlayControl.Current")
Application.VirtualSliderTool()

Cheers!




Re: Scrub timeline while mouse is in viewport?

2014-03-06 Thread Cesar Saez
Hi Siew,
It's a bit of a hack but works ;)

Application.SelectObj("Application")
Application.SetMarking("PlayControl.Current")
Application.VirtualSliderTool()

Cheers!