Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'I use OnMyCommand' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
I use OnMyCommand
Authored by: jecwobble on Nov 27, '03 01:09:56PM
I do something like this using OnMyCommand with this context menu setting:

		<dict>
			<key>ACTIVATION_MODE</key>
			<string>act_file_or_folder_not_finder_window</string>
			<key>COMMAND</key>
			<array>
				<string>/Developer/Tools/SetFile -a </string>
				<string>__INPUT_TEXT__</string>
				<string> </string>
				<string>__OBJ_PATH__</string>
			</array>
			<key>INPUT_DIALOG</key>
			<dict>
				<key>CANCEL_BUTTON_NAME</key>
				<string>Cancel</string>
				<key>DEFAULT</key>
				<string>Invisible</string>
				<key>INPUT_MENU</key>
				<array>
					<dict>
						<key>NAME</key>
						<string>Visible</string>
						<key>VALUE</key>
						<string>v</string>
					</dict>
					<dict>
						<key>NAME</key>
						<string>Invisible</string>
						<key>VALUE</key>
						<string>V</string>
					</dict>
				</array>
				<key>INPUT_TYPE</key>
				<string>input_popup_menu</string>
				<key>MESSAGE</key>
				<string>Select a visibility option.</string>
				<key>OK_BUTTON_NAME</key>
				<string>OK</string>
			</dict>


[ Reply to This | # ]