<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d7317977\x26blogName\x3dThe+Armorer\x27s+HellForge\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://smithforgerx.blogspot.com/search\x26blogLocale\x3des_ES\x26v\x3d2\x26homepageUrl\x3dhttp://smithforgerx.blogspot.com/\x26vt\x3d-5733133175049674420', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

miércoles, septiembre 14, 2005

import *

From the Apple training, I learned some of the basics of AppleScript. Some sample codes include:
display dialog "OPTIONS:" buttons {"say", 2, 3}
set x to result
if button returned of x = "2" then
display dialog "you pushed 2!"
display dialog "not pushing 1"
end if

display dialog "key in text" buttons {"Cancel", "Say", "Display"} default answer ""
set x to result
if button returned of x = "Say" then
say text returned of x as string
display dialog text returned of x
end if

which are compiled and executed in the script editor. The script editor even includes a recorder of sessions and even writes/shows the codes as you move the window/s or browse menus throughout the desktop. Xcode was also introduced in the presentation. Some sample scripts are found here.

In my work as linux help support, I managed to fix almost everything except a bug in OpenOffice.org 2.0 on Mandriva. I had just assumed that the package is not yet upgraded atlhough I had not researched about it yet.
Creative Commons LicenseContent copyright protected by Copyscape website plagiarism search
This work is licensed under a Creative Commons License.