Mucking around in Chicago

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9285
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Mucking around in Chicago

Post by richmond62 » Sun May 20, 2018 11:37 pm

-- HEY, THAT CAUGHT YOUR ATTENTION --

So, here I am in the Windy City, and using an iMac in a shared common room in a condo where my friends stay:
downloading LC 9: whether this Mac will actually let me install the thing has yet to be seen.

However, on a long flight from Warsaw to JFK I had a weird dream, as one does, and wondered about something like this:

[pseudo-code]

if within(img "whatever",the mouseloc) then

and had a funny feeling that that might prove more difficult than it seems . . .

So, this posting is done for 2 reasons:

1. IFF the iMac will let me install LC, I'll have a bash at trying to sort this out.

2. ORR (yup; my way of writing 'exclusive OR') so someone else reading this can come up with something.

Should be back at my machines in Bulgaria on Tuesday (God and Osama Bin Laden's cousins permitting).

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9285
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Mucking around in Chicago

Post by richmond62 » Sun May 20, 2018 11:47 pm

Oddly enough I was able to copy the LC 9 executable onto the iMac's desktop, but got this on launch:
prob1.png
Aha: running macOS 10.8.5

Installed LC 8.1.9 to the desktop (user acc. setup to prevent people like me installing to Apps folder).

Working :twisted:

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9285
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Mucking around in Chicago

Post by richmond62 » Mon May 21, 2018 12:10 am

cardScript

Code: Select all

on mouseDown
   if the mouseLoc is within the rect of img "rp" then
      put "INSIDE"
   else
      put "OUTWITH"
      end if
end mouseDown
pips!
within.livecode.zip
Here's the stack.
(2.65 KiB) Downloaded 123 times

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Mucking around in Chicago

Post by bogs » Mon May 21, 2018 1:34 am

I'm not sure I get it, but, Welcome Home Richmond!
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9285
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Mucking around in Chicago

Post by richmond62 » Mon May 21, 2018 2:12 am

The first part of my dream was about JAMMER KEYBOARDS with hexagonal keys.

www.altkeyboards.com/instruments/jammer

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9285
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Mucking around in Chicago

Post by richmond62 » Wed May 23, 2018 11:25 am

Right: I'm "back in da hood" and salivating about JAMMER KEYBOARDS and THEREMINS

https://en.wikipedia.org/wiki/Theremin

Obviously (!), to make anything going in that direction (Theremin) I need to
be able to:

1. Generate a note (or, possibly, leverage an embedded sound).

2. adjust PITCH and FREQUENCY, et al.

???

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”