Mac OS X Externals
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Mac OS X Externals
Dave, I did a quick write up in regards to using the newer Xcode to create Mac OS X externals and I will add more to it when I have time..
http://forums.runrev.com/viewtopic.php?f=17&t=16127
http://forums.runrev.com/viewtopic.php?f=17&t=16127
Re: Mac OS X Externals
Oops, thank you!
Re: Mac OS X Externals
Thank you, unfortunately when I use this command to see the external, it's not listed: put the externalPackages of stack "home"dave_probertGA6e24 wrote:Mag: Once installed (follow the instructions from other post) then just put 'ShowAnimationEffect' in an on mouseUp handle on a button. Then click the button.
Maybe I'm wrong the text of the file Externals.txt:
Code: Select all
ShowAnimationEffect,ShowAnimationEffect.bundle
Re: Mac OS X Externals
It might not show up in that command, but just try using the command in the external and it should work (if installed correctly)..
Re: Mac OS X Externals
Thank you shaosean (I restarted LC and all works nice now)shaosean wrote:It might not show up in that command, but just try using the command in the external and it should work (if installed correctly)..
ssUserSessionEvents
Description
Allows your app to receive events when the user session is suspended and resumed.. This will allow you to pause audio/video, as well as updating user status for online clients..
Syntax
Events
Allows your app to receive events when the user session is suspended and resumed.. This will allow you to pause audio/video, as well as updating user status for online clients..
Syntax
Code: Select all
EnableUserSessionEvents -- start listening for the events
DisableUserSessionEvents -- stop listening for the events (best to do this when your app quits)
UserSessionEventsAreEnabled() -- returns true if your app is listening for the events, false otherwise
Code: Select all
SuspendUserSession -- user session has been switched to the login screen or another user
ResumeUserSession -- returned back to this user session
- Attachments
-
- ssUserSessionEvents.bundle.zip
- (6.12 KiB) Downloaded 341 times
ssScreenSaverEvents
Description
New events to know when the screen saver started and stopped..
Syntax
Events
New events to know when the screen saver started and stopped..
Syntax
Code: Select all
EnableScreenSaverEvents -- start listening for the screen saver events
DisableScreenSaverEvents -- stop listening for the screen saver events
ScreenSaverEventsAreEnabled() -- returns true if your app is listening for the events, false otherwise
Code: Select all
ScreenSaverStarted -- screen saver has started
ScreenSaverStopping - screen saver is stopping
ScreenSaverStopped -- screen saver has stopped
- Attachments
-
- ssScreenSaverEvents.bundle.zip
- (6.37 KiB) Downloaded 320 times
ssFadeDisplay
Description
Fade in/out the displays.. Optional duration and colour settings..
Syntax
Events
Fade in/out the displays.. Optional duration and colour settings..
Syntax
Code: Select all
FadeOut -- 1 second duration, fade to black
FadeOutForDuration <duration> -- variable duration, fade to black
FadeOutToColour <red>, <green>, <blue> -- 1 second duration, variable colour (red, green and blue are values 0 to 255)
FadeOutToColourForDuration <red>, <green>, <blue>, <duration> -- variable duration and colour (red, green and blue are values 0 to 255)
FadeOutClear -- will bring the displays out of the fade instantly
FadeIn -- 1 second duration, fade in from black
FadeInForDuration <duration> -- variable duration, fade from black
FadeInFromColour <red>, <green>, <blue> -- 1 seconds duration, variable colour (red, green and blue are values 0 to 255)
FadeInFromColourForDuration <red>, <green>, <blue>, <duration> -- variable duration and colour (red, green and blue are values 0 to 255)
Code: Select all
FadeOutCompleted
FadeInCompleted
- Attachments
-
- ssFadeDisplay.bundle.zip
- (7.16 KiB) Downloaded 323 times
Re: Mac OS X Externals
Hi Sean
I'd encourage you to put these up on GitHub if they are public domain/FOSS. The more LiveCode based projects we can have up there the better. Also as externals are so poorly documented the more examples the better.
Cheers
Monte
I'd encourage you to put these up on GitHub if they are public domain/FOSS. The more LiveCode based projects we can have up there the better. Also as externals are so poorly documented the more examples the better.
Cheers
Monte
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: Mac OS X Externals

LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: Mac OS X Externals
Hi friends,
maybe one (definitively not me!) could create a "collection" (= all externals in ONE external file)
from these cool sepearate externals?
Best
Klaus
maybe one (definitively not me!) could create a "collection" (= all externals in ONE external file)
from these cool sepearate externals?

Best
Klaus
Re: Mac OS X Externals
My vote for Klaus! 

Re: Mac OS X Externals
Originally they were all in one big external, just thought it might be easier for people to just have everything broken down in to externals that served a single purpose (just use what you need, no bloat
)

Re: Mac OS X Externals
Chacun à son goût 
