Threading (plus random question)

Peter M. Brigham pmbrig at gmail.com
Fri Sep 9 09:19:19 EDT 2016


I have this in my frontscript, so I can use control-tab to switch modes:

on tabkey
   if "revNewScriptEditor" is in line 1 of the openstacks then pass tabkey
   if the controlkey is down then
      if the tool = "browse tool" then
         set the tool to "pointer tool"
      else
         set the tool to "browse ttol"
      end if
   else
      pass tabkey
   end if
end tabkey

Works on a Mac.

-- Peter

Peter M. Brigham
pmbrig at gmail.com

On Sep 8, 2016, at 12:23 PM, Mike Kerner wrote:

> The thing I don't like about ctrl/cmd 0 and 9 is that it's an awkward reach
> when you're trying to do it by touch, and if you're right-handed, you can't
> do it while having your right on the mouse or trackpad, either.  ctrl/cmd-`
> would be better IMHO, not that I miss HC's cmd-tab, or anything.  I'd also
> like it to be a toggle, but I can understand folks wanting it to be two
> separate keys.
> 
> On Thu, Sep 8, 2016 at 12:02 PM, Devin Asay <devin_asay at byu.edu> wrote:
> 
>> 
>>> On Sep 8, 2016, at 8:53 AM, ahsoftware <ahsoftware at sonic.net> wrote:
>>> 
>>> On 09/08/2016 06:52 AM, Mike Kerner wrote:
>>> 
>>>> • Shortcut to switch between browse and pointer
>>> 
>>> control-tab?
>> 
>> And Cmd/cntl - 9 for Browse/run mode and cmd/cntl - 0 for pointer/edit
>> mode.
>> 
>> Devin
>> 
>> 
>> Devin Asay
>> Director
>> Office of Digital Humanities
>> Brigham Young University
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list