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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. 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.