Hey, Jacque,
Typo perhaps?

answer file "Choose a stanadlone application:"

Joe Wilkins
On Jun 19, 2008, at 8:10 PM, J. Landman Gay wrote:

Randy Hengst wrote:
Jacque, I don't know how to use the terminal, but I had tried both of your other suggestions.

Here's a script that doesn't need Terminal, you can run it in Rev. I mistakenly said it uses a shell command, but it uses AppleScript. Put this script into a button:

on touchAppFile
 answer file "Choose a stanadlone application:"
 if it = "" then exit touchAppFile
 put it into tAppName
 if char -4 to -1 of tAppName <> ".app" then
   beep
   answer error "Not an application file."
   exit touchAppFile
 end if
 put revMacFromUnixPath(tAppName) into tFilePath
 replace quote with "\"&quote in tFilePath -- escape
 put the cTouchScript of this cd into tScript
 replace "*FPATH*" with tFilePath in tScript
 do tScript as AppleScript
 get the result
 if it contains "error" then answer it
end touchAppFile

Then create a custom card property, call it "cTouchScript", and set the property contents to this:

tell application "Finder"
update file "*FPATH*"
end tell


When you click the button, it will ask you for an app and then update the Finder.

Scott Morrow's suggestion about checking the pList is a good one too, I hadn't thought of that. If the pList doesn't list your custom icons, then the Finder won't know about them.
--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com




_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to