|
From: creedon <icr...@us...> - 2005-11-18 21:00:45
|
Update of /cvsroot/frontierkernel/odbs/frontierRoot/suites/aeTerminology In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23370 Added Files: appIdStyle parseAetr installMenu newDesktopScriptInstaller suiteName init menu initializeNewTerminologyTable callbackLoop getAetr readMe newAppsTableItem newAppsTableItemInstaller Log Message: merge from branch commercial_suite_project-branch --- NEW FILE: parseAetr --- (This appears to be a binary file; contents omitted.) --- NEW FILE: getAetr --- (This appears to be a binary file; contents omitted.) --- NEW FILE: newAppsTableItemInstaller --- (This appears to be a binary file; contents omitted.) --- NEW FILE: newAppsTableItem --- (This appears to be a binary file; contents omitted.) --- NEW FILE: menu --- FrontierVcsFile:1:mbar:suites.aeTerminology.menu AAEFAQAAAukAAQAAAAAAAAAAAAAAKwADA/0E/QAAAAAAAAZHZW5ldmEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgArAAMBvQJHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAADEAAABPQAAAgAADwZHZW5ldmEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAvxuVSb+jZIsAAATDAAABpwG/Am8DQExBTkT///////8AAAAAAABtYWMgAAAAAAAAAAAAAAAAYWVUZXJtaW5vbG9neQ0JTmV3IGFwcHMgVGFibGUgSXRlbS4uLg0JLQ0JPSBzdWl0ZXMuYWVUZXJtaW5vbG9neS5tZW51Q29tbWFuZHMubGF1bmNoQXBwbGljYXRpb24gKCkNCT0gc3VpdGVzLmFlVGVybWlub2xvZ3kubWVudUNvbW1hbmRzLm5ld0Rlc2t0b3BTY3JpcHRJbnN0YWxsZXIgKCkNCT0gc3VpdGVzLmFlVGVybWlub2xvZ3kubWVudUNvbW1hbmRzLmltcG9ydEFldHIgKCkNCS0NCU9wZW4gYXBwcyBUYWJsZQ0JU2V0IEN1cnJlbnQgYX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AAGnAb8CbwNATEFORP///////wAAAAAAAG1hYyAAAAAAAAAAAAAAAABlZGl0IChAYWVUZXJtaW5vbG9neS5tZW51KQ2AAAAAAAAAAgAAAAYAAAAbAAACAAAPBkdlbmV2YQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAC/KMmzv2nJBwAAAAwBAAGnAb8CbwNATEFORP///////wAAAAAAAG1hYyAAAAAAAAAAAAAAAABlZGl0IChAdXNlci5hZVRlcm1pbm9sb2d5KQ2AAAAAAAA= --- NEW FILE: installMenu --- (This appears to be a binary file; contents omitted.) --- NEW FILE: suiteName --- FrontierVcsFile:1:TEXT:suites.aeTerminology.suiteName aeTerminology --- NEW FILE: init --- (This appears to be a binary file; contents omitted.) --- NEW FILE: appIdStyle --- (This appears to be a binary file; contents omitted.) --- NEW FILE: newDesktopScriptInstaller --- (This appears to be a binary file; contents omitted.) --- NEW FILE: initializeNewTerminologyTable --- (This appears to be a binary file; contents omitted.) --- NEW FILE: readMe --- FrontierVcsFile:1:optx:suites.aeTerminology.readMe This is the aeTerminology suite. Created by Thomas A. Creedon <icr...@ya...>. Based on the DuckTape Tool v0.5 by Sean Elfstrom < sel...@im... >. The aeTerminology Suite imports AppleEvent Terminology Resource information. Menu Commands New apps Table Item... Create a new item in the apps table for an application you select. Launch Application for ... Launch an application associated with the current apps table. This menu item will be inactive until a new apps table item has been created or the Set Current apps Table menu item is selected from the aeTerminology menu. New Desktop Script Installer for ... Create a new Desktop Script installer for the current apps table. This menu item will be inactive until a new apps table item has been created or the Set Current apps Table menu item is selected from the aeTerminology menu. Replace Terminology for ... Replace the AETE information for the current apps table. This menu item will be inactive until a new apps table item has been created or the Set Current apps Table menu item is selected from the aeTerminology menu. Open apps Table Open the table at system.verbs.apps Set Current apps Table Allows you to set which apps table some of the menu items in the aeTerminology menu will apply. Select one of the items in the system.verbs.apps table and then use this command. 8/8/05; 12:28:58 PM by TAC - this could be expressed more clearly, I think. Read Me This outline! Edit Suite Open the table for this suite. Menu Open the menu for this suite. user.aeTerminology Open the user table for this suite. Changes 2005 Nov 18 2005 moved Load an osax command to its final home Database > AppleScripts > Load and osax Load an osax... Load an osax into a table at system.extensions. This is an example command to show how aeTerminology can be used by other scripts to import AETE information and have it end up where ever the script writer wants it to go. There currently seems to be a bug in the kernel that prevents the user from being able to open file packages such as newer style OS X osaxen with the open dialog even though osax has been specified as a file type. As a workaround you can hold down the shift key when selecting this command shich will then allow you to select any file. Navigate carefully! change other occurrences of aete to aetr where appropiate change name of script parseAete to parseAetr change name of script getAete to getAetr (Apple Event Terminology Resource), generalized behavior to get both aete and aetu resources Nov 11 2005 set current apps table at end of creating new apps table item fixed a bug in the Set Current apps Table menu item, names with periods was fouling things up changed name of suite from DuckTape to aeTerminology Sep 15 2005 added support for user.aeTerminology.callbacks.afterAppInfoInitialized can load aete from file data fork added an example Load osax command created aeTerminology.installMenu created aeTerminology.initializeNewTerminologyTable reorg the code a bit for suites.aeTerminology.getAete changed name of menu item from Replace AppleEvent Terminology Extension Information... to Replace Terminology... holding shift key when creating a new apps table item allows user to see all file types added support for user.aeTerminology.callbacks.afterParseAete removed support for skipping class/id when parsing events added support for user.aeTerminology.eventInformationTableName, 'defs" is default Aug 21 2005 removed Desktop Script Installer fixed bug when creating new apps table items, if user.prefs.search.regularexpression was true then weird find and replaces would happen Aug 18 2005 added support for skipping class/id when parsing events, user.aeTerminology.skipOnParse.[class].[id], value is nil bring about window to front, give user indication of progress added edit user.aeTerminology menu item to menu added support for user.aeTerminology.appIdStyle, three styles are currently supported; ".appInfo.id", ".id", and "string4", default is ".appInfo.id" added support for user.aeTerminology.flUseEventInformationTable, true is use eventInformation table; false don't use, default is true Aug 15 2005 made a Desktop Script Installer to help with installation Aug 14 2005 i made two improvements to the new apps table items process there was a bug in that some items were still being created in the top level table even when items were supposed to be put in the eventInformation table It was possible to create a conflict when creating a new table. Here is an example, when I tried creating a table for Mail.app named Mail, it conflicted with suites.mail. I put a check and warning in to notify the user of this kind of situation. Aug 8 2005 initial version Notes In the data table for the Suite I have a table named DuckTapeRootLeftovers, which contains left overs from Sean's DuckTape Tool. In addition there is a table named commercialSuiteReference, which is a reference copy of the current version of the commercial suite as it exists on SourceForge at this time (Aug 8 2005), just in case you've modified your local copy. --- NEW FILE: callbackLoop --- (This appears to be a binary file; contents omitted.) |