Muthu Selvan
2013-Jun-20 06:51 UTC
[HELP] - Ruby Drag and Drop script on screen element in Mac OS
Hi All , I am new to the ruby , i want click the object on element ( any object , Ex: Calculator) after click i need Drag and Drop the element continuously for some time , please let me know how to do it in ruby in Mac OS ? Thanks , Muthu Selvan SR -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/255c62c4-4c3c-4a94-ab73-9f6197319b8b%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Walter Lee Davis
2013-Jun-20 14:49 UTC
Re: [HELP] - Ruby Drag and Drop script on screen element in Mac OS
On Jun 20, 2013, at 2:51 AM, Muthu Selvan wrote:> Hi All , > > I am new to the ruby , i want click the object on element ( any object , Ex: Calculator) after click i need Drag and Drop the > > element continuously for some time , please let me know how to do it in ruby in Mac OS ?You''ll need to use JavaScript for this. Ruby doesn''t run in the browser, and drag events aren''t sent to the server every. Click events only get sent to the server if they are on a link. With JavaScript, you can attach listener functions to almost any interaction gesture you like. These functions can in turn trigger HTTP requests or other DOM events or behavior. Walter -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/125C31AF-533D-4E69-BE74-8F6A1C90C6F7%40wdstudio.com. For more options, visit https://groups.google.com/groups/opt_out.
Muthu Selvan
2013-Jun-20 16:06 UTC
Re: [HELP] - Ruby Drag and Drop script on screen element in Mac OS
On Thursday, 20 June 2013 07:49:39 UTC-7, Walter Lee Davis wrote:> > > On Jun 20, 2013, at 2:51 AM, Muthu Selvan wrote: > > > Hi All , > > > > I am new to the ruby , i want click the object on element ( any > object , Ex: Calculator) after click i need Drag and Drop the > > > > element continuously for some time , please let me know how to do it > in ruby in Mac OS ? > > You''ll need to use JavaScript for this. Ruby doesn''t run in the browser, > and drag events aren''t sent to the server every. Click events only get sent > to the server if they are on a link. With JavaScript, you can attach > listener functions to almost any interaction gesture you like. These > functions can in turn trigger HTTP requests or other DOM events or > behavior. > > Walter > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/318a2ef2-6533-44c8-8796-2c100653faa9%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Muthu Selvan
2013-Jun-20 16:08 UTC
Re: [HELP] - Ruby Drag and Drop script on screen element in Mac OS
On Thursday, 20 June 2013 07:49:39 UTC-7, Walter Lee Davis wrote:> > > On Jun 20, 2013, at 2:51 AM, Muthu Selvan wrote: > > > Hi All , > > > > I am new to the ruby , i want click the object on element ( any > object , Ex: Calculator) after click i need Drag and Drop the > > > > element continuously for some time , please let me know how to do it > in ruby in Mac OS ? > > You''ll need to use JavaScript for this. Ruby doesn''t run in the browser, > and drag events aren''t sent to the server every. Click events only get sent > to the server if they are on a link. With JavaScript, you can attach > listener functions to almost any interaction gesture you like. These > functions can in turn trigger HTTP requests or other DOM events or > behavior. > > Walter >Thanks water , I know javascript to some extend ,i want to drag the element which is in Mac Desktop , is it possible to send the mouse event the objects which is in MAC Desktop ..? if yes please let me procedure for this ..? Regards. Muthu Selvan SR -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2229f7e1-0131-4358-929a-ab7d452fe540%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Walter Lee Davis
2013-Jun-20 17:07 UTC
Re: [HELP] - Ruby Drag and Drop script on screen element in Mac OS
On Jun 20, 2013, at 12:08 PM, Muthu Selvan wrote:> > > On Thursday, 20 June 2013 07:49:39 UTC-7, Walter Lee Davis wrote: > > On Jun 20, 2013, at 2:51 AM, Muthu Selvan wrote: > > > Hi All , > > > > I am new to the ruby , i want click the object on element ( any object , Ex: Calculator) after click i need Drag and Drop the > > > > element continuously for some time , please let me know how to do it in ruby in Mac OS ? > > You''ll need to use JavaScript for this. Ruby doesn''t run in the browser, and drag events aren''t sent to the server every. Click events only get sent to the server if they are on a link. With JavaScript, you can attach listener functions to almost any interaction gesture you like. These functions can in turn trigger HTTP requests or other DOM events or behavior. > > Walter > > > Thanks water , I know javascript to some extend ,i want to drag the element which is in Mac Desktop , is it possible to send the mouse event the objects which is in MAC Desktop ..? if yes please let me procedure for this ..?You can drag and drop a desktop element into a browser, and after setting up the appropriate JavaScript in that browser, you can detect the drop on a particular element and do something with that dropped file. Look at the Flickr photo uploader for inspiration there. This is definitely not a Ruby thing at all, it''s pure JavaScript / Browser tech. Walter> > Regards. > Muthu Selvan SR > > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2229f7e1-0131-4358-929a-ab7d452fe540%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1984E5CC-BCCE-48F1-A477-5BE6E55265AA%40wdstudio.com. For more options, visit https://groups.google.com/groups/opt_out.
Muthu Selvan
2013-Jun-20 18:03 UTC
Re: [HELP] - Ruby Drag and Drop script on screen element in Mac OS
On Thursday, 20 June 2013 10:07:21 UTC-7, Walter Lee Davis wrote:> > > On Jun 20, 2013, at 12:08 PM, Muthu Selvan wrote: > > > > > > > On Thursday, 20 June 2013 07:49:39 UTC-7, Walter Lee Davis wrote: > > > > On Jun 20, 2013, at 2:51 AM, Muthu Selvan wrote: > > > > > Hi All , > > > > > > I am new to the ruby , i want click the object on element ( any > object , Ex: Calculator) after click i need Drag and Drop the > > > > > > element continuously for some time , please let me know how to do > it in ruby in Mac OS ? > > > > You''ll need to use JavaScript for this. Ruby doesn''t run in the browser, > and drag events aren''t sent to the server every. Click events only get sent > to the server if they are on a link. With JavaScript, you can attach > listener functions to almost any interaction gesture you like. These > functions can in turn trigger HTTP requests or other DOM events or > behavior. > > > > Walter > > > > > > Thanks water , I know javascript to some extend ,i want to drag the > element which is in Mac Desktop , is it possible to send the mouse event > the objects which is in MAC Desktop ..? if yes please let me procedure for > this ..? > > You can drag and drop a desktop element into a browser, and after setting > up the appropriate JavaScript in that browser, you can detect the drop on a > particular element and do something with that dropped file. Look at the > Flickr photo uploader for inspiration there. This is definitely not a Ruby > thing at all, it''s pure JavaScript / Browser tech. > > Walter > > > > >Water , Is this is tool or java script .. ? if it script can you please share the code / link to me ..? Thanks , Muthu Selvan SR> >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a53f5ec7-f1a4-488a-82c7-dc8bd1a8daaf%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Walter Lee Davis
2013-Jun-20 18:32 UTC
Re: [HELP] - Ruby Drag and Drop script on screen element in Mac OS
On Jun 20, 2013, at 2:03 PM, Muthu Selvan wrote:> Look at the Flickr photo uploader for inspiration there-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/AA2BCC62-6137-4D44-B8BC-752B5409D234%40wdstudio.com. For more options, visit https://groups.google.com/groups/opt_out.
Robert Walker
2013-Jun-20 19:08 UTC
Re: [HELP] - Ruby Drag and Drop script on screen element in Mac OS
Muthu Selvan wrote in post #1113021:> On Thursday, 20 June 2013 10:07:21 UTC-7, Walter Lee Davis wrote: >> You can drag and drop a desktop element into a browser, and after setting >> up the appropriate JavaScript in that browser, you can detect the drop on a >> particular element and do something with that dropped file. Look at the >> Flickr photo uploader for inspiration there. This is definitely not a Ruby >> thing at all, it''s pure JavaScript / Browser tech.> Water , > > Is this is tool or java script .. ? if it script can you please share > the > code / link to me ..?Take a look at this tutorial... http://www.html5rocks.com/en/tutorials/file/dndfiles/ -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/788af505be710ed9c1fa6384d477331e%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
Tamara Temple
2013-Jun-22 19:47 UTC
Re: [HELP] - Ruby Drag and Drop script on screen element in Mac OS
Muthu Selvan <pearl.selvan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Thursday, 20 June 2013 07:49:39 UTC-7, Walter Lee Davis wrote: > > On Jun 20, 2013, at 2:51 AM, Muthu Selvan wrote: > > > Hi All , > > > > I am new to the ruby , i want click the object on element ( any object , Ex: Calculator) after click i need Drag and Drop the > > > > element continuously for some time , please let me know how to do it in ruby in Mac OS ? > > You''ll need to use JavaScript for this. Ruby doesn''t run in the browser, and drag events aren''t sent to the server every. Click events only get sent to > the server if they are on a link. With JavaScript, you can attach listener functions to almost any interaction gesture you like. These functions can in > turn trigger HTTP requests or other DOM events or behavior. > > Walter > > Thanks water , I know javascript to some extend ,i want to drag the element which is in Mac Desktop , is it possible to send the mouse event the objects > which is in MAC Desktop ..? if yes please let me procedure for this ..? > > Regards. > Muthu Selvan SRAre you trying to make a Rails web application, or a Mac desktop application? If the latter, you have the wrong list. Try the ruby-talk list instead. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/51c5ff63.a870320a.0a8e.ffffdd15%40mx.google.com. For more options, visit https://groups.google.com/groups/opt_out.