Re: Scripting Ovolab Phlink
Re: Scripting Ovolab Phlink
- Subject: Re: Scripting Ovolab Phlink
- From: Stan Cleveland <email@hidden>
- Date: Wed, 10 Nov 2010 19:01:02 -0800
I'm getting back into using Phlink and have noticed that it's AppleScript support is quite extensive. Too bad it seems to be dead in the water.
Apparently, there is a way to save a "bag" as an AppleScript with this code:
save bag "callInfo" in file "iMac_G5_HD:Users:external:Desktop:callInfo.scpt"
Unfortunately, it is saved as a Read Only script. How can this be changed so that it can be opened with AppleScript Editor?
Does this have more to do with Phlink than with AppleScript? I looked in Phlink's dictionary and this is all it says about 'save':
save v : Save an item (such as the call log, or a bag) save reference : the item to save [in alias] : the file in which to save the item (currently this is only meaningful for bags)
The save command I posted before does save the file - it's just that I can't open the resulting file in Script Editor.
Hi Marc,
You may be misunderstanding the function of Phlink "bag" files. I don't actually know what a Phlink bag file is for or what it might contain, but I rather doubt that it's AppleScript code.
The best app for opening a Phlink "bag" file is probably Phlink itself. And *maybe* a text or XML editor, depending on what's in there. But Script Editor is an unlikely candidate. So attempting to save a bag as an AS file or to open one with Script Editor is a sure path to disappointment. Also, appending ".scpt" to the file name doesn't make it so. (You should use whatever extension is intended for bag files.)
No doubt, when you determine the intended purpose of bag files, you'll also find out how and when to use them.
HTH, Stan C.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden